AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsEc2RouteTableDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AssociationSetDetails.h>
11#include <aws/securityhub/model/PropagatingVgwSetDetails.h>
12#include <aws/securityhub/model/RouteSetDetails.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SecurityHub
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SECURITYHUB_API AwsEc2RouteTableDetails() = default;
42 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Vector<AssociationSetDetails>& GetAssociationSet() const { return m_associationSet; }
51 inline bool AssociationSetHasBeenSet() const { return m_associationSetHasBeenSet; }
52 template<typename AssociationSetT = Aws::Vector<AssociationSetDetails>>
53 void SetAssociationSet(AssociationSetT&& value) { m_associationSetHasBeenSet = true; m_associationSet = std::forward<AssociationSetT>(value); }
54 template<typename AssociationSetT = Aws::Vector<AssociationSetDetails>>
55 AwsEc2RouteTableDetails& WithAssociationSet(AssociationSetT&& value) { SetAssociationSet(std::forward<AssociationSetT>(value)); return *this;}
56 template<typename AssociationSetT = AssociationSetDetails>
57 AwsEc2RouteTableDetails& AddAssociationSet(AssociationSetT&& value) { m_associationSetHasBeenSet = true; m_associationSet.emplace_back(std::forward<AssociationSetT>(value)); return *this; }
59
61
64 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
65 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
66 template<typename OwnerIdT = Aws::String>
67 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::forward<OwnerIdT>(value); }
68 template<typename OwnerIdT = Aws::String>
69 AwsEc2RouteTableDetails& WithOwnerId(OwnerIdT&& value) { SetOwnerId(std::forward<OwnerIdT>(value)); return *this;}
71
73
76 inline const Aws::Vector<PropagatingVgwSetDetails>& GetPropagatingVgwSet() const { return m_propagatingVgwSet; }
77 inline bool PropagatingVgwSetHasBeenSet() const { return m_propagatingVgwSetHasBeenSet; }
78 template<typename PropagatingVgwSetT = Aws::Vector<PropagatingVgwSetDetails>>
79 void SetPropagatingVgwSet(PropagatingVgwSetT&& value) { m_propagatingVgwSetHasBeenSet = true; m_propagatingVgwSet = std::forward<PropagatingVgwSetT>(value); }
80 template<typename PropagatingVgwSetT = Aws::Vector<PropagatingVgwSetDetails>>
81 AwsEc2RouteTableDetails& WithPropagatingVgwSet(PropagatingVgwSetT&& value) { SetPropagatingVgwSet(std::forward<PropagatingVgwSetT>(value)); return *this;}
82 template<typename PropagatingVgwSetT = PropagatingVgwSetDetails>
83 AwsEc2RouteTableDetails& AddPropagatingVgwSet(PropagatingVgwSetT&& value) { m_propagatingVgwSetHasBeenSet = true; m_propagatingVgwSet.emplace_back(std::forward<PropagatingVgwSetT>(value)); return *this; }
85
87
90 inline const Aws::String& GetRouteTableId() const { return m_routeTableId; }
91 inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
92 template<typename RouteTableIdT = Aws::String>
93 void SetRouteTableId(RouteTableIdT&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::forward<RouteTableIdT>(value); }
94 template<typename RouteTableIdT = Aws::String>
95 AwsEc2RouteTableDetails& WithRouteTableId(RouteTableIdT&& value) { SetRouteTableId(std::forward<RouteTableIdT>(value)); return *this;}
97
99
102 inline const Aws::Vector<RouteSetDetails>& GetRouteSet() const { return m_routeSet; }
103 inline bool RouteSetHasBeenSet() const { return m_routeSetHasBeenSet; }
104 template<typename RouteSetT = Aws::Vector<RouteSetDetails>>
105 void SetRouteSet(RouteSetT&& value) { m_routeSetHasBeenSet = true; m_routeSet = std::forward<RouteSetT>(value); }
106 template<typename RouteSetT = Aws::Vector<RouteSetDetails>>
107 AwsEc2RouteTableDetails& WithRouteSet(RouteSetT&& value) { SetRouteSet(std::forward<RouteSetT>(value)); return *this;}
108 template<typename RouteSetT = RouteSetDetails>
109 AwsEc2RouteTableDetails& AddRouteSet(RouteSetT&& value) { m_routeSetHasBeenSet = true; m_routeSet.emplace_back(std::forward<RouteSetT>(value)); return *this; }
111
113
116 inline const Aws::String& GetVpcId() const { return m_vpcId; }
117 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
118 template<typename VpcIdT = Aws::String>
119 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
120 template<typename VpcIdT = Aws::String>
121 AwsEc2RouteTableDetails& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
123 private:
124
125 Aws::Vector<AssociationSetDetails> m_associationSet;
126 bool m_associationSetHasBeenSet = false;
127
128 Aws::String m_ownerId;
129 bool m_ownerIdHasBeenSet = false;
130
131 Aws::Vector<PropagatingVgwSetDetails> m_propagatingVgwSet;
132 bool m_propagatingVgwSetHasBeenSet = false;
133
134 Aws::String m_routeTableId;
135 bool m_routeTableIdHasBeenSet = false;
136
138 bool m_routeSetHasBeenSet = false;
139
140 Aws::String m_vpcId;
141 bool m_vpcIdHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace SecurityHub
146} // namespace Aws
AWS_SECURITYHUB_API AwsEc2RouteTableDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsEc2RouteTableDetails()=default
AwsEc2RouteTableDetails & WithVpcId(VpcIdT &&value)
AwsEc2RouteTableDetails & AddPropagatingVgwSet(PropagatingVgwSetT &&value)
AwsEc2RouteTableDetails & AddRouteSet(RouteSetT &&value)
AwsEc2RouteTableDetails & WithRouteSet(RouteSetT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEc2RouteTableDetails & AddAssociationSet(AssociationSetT &&value)
AwsEc2RouteTableDetails & WithAssociationSet(AssociationSetT &&value)
AwsEc2RouteTableDetails & WithPropagatingVgwSet(PropagatingVgwSetT &&value)
AWS_SECURITYHUB_API AwsEc2RouteTableDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEc2RouteTableDetails & WithRouteTableId(RouteTableIdT &&value)
const Aws::Vector< PropagatingVgwSetDetails > & GetPropagatingVgwSet() const
const Aws::Vector< AssociationSetDetails > & GetAssociationSet() const
const Aws::Vector< RouteSetDetails > & GetRouteSet() const
AwsEc2RouteTableDetails & WithOwnerId(OwnerIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue