AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RouteSetDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API RouteSetDetails() = default;
36 AWS_SECURITYHUB_API RouteSetDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API RouteSetDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCarrierGatewayId() const { return m_carrierGatewayId; }
46 inline bool CarrierGatewayIdHasBeenSet() const { return m_carrierGatewayIdHasBeenSet; }
47 template<typename CarrierGatewayIdT = Aws::String>
48 void SetCarrierGatewayId(CarrierGatewayIdT&& value) { m_carrierGatewayIdHasBeenSet = true; m_carrierGatewayId = std::forward<CarrierGatewayIdT>(value); }
49 template<typename CarrierGatewayIdT = Aws::String>
50 RouteSetDetails& WithCarrierGatewayId(CarrierGatewayIdT&& value) { SetCarrierGatewayId(std::forward<CarrierGatewayIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetCoreNetworkArn() const { return m_coreNetworkArn; }
58 inline bool CoreNetworkArnHasBeenSet() const { return m_coreNetworkArnHasBeenSet; }
59 template<typename CoreNetworkArnT = Aws::String>
60 void SetCoreNetworkArn(CoreNetworkArnT&& value) { m_coreNetworkArnHasBeenSet = true; m_coreNetworkArn = std::forward<CoreNetworkArnT>(value); }
61 template<typename CoreNetworkArnT = Aws::String>
62 RouteSetDetails& WithCoreNetworkArn(CoreNetworkArnT&& value) { SetCoreNetworkArn(std::forward<CoreNetworkArnT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDestinationCidrBlock() const { return m_destinationCidrBlock; }
70 inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; }
71 template<typename DestinationCidrBlockT = Aws::String>
72 void SetDestinationCidrBlock(DestinationCidrBlockT&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::forward<DestinationCidrBlockT>(value); }
73 template<typename DestinationCidrBlockT = Aws::String>
74 RouteSetDetails& WithDestinationCidrBlock(DestinationCidrBlockT&& value) { SetDestinationCidrBlock(std::forward<DestinationCidrBlockT>(value)); return *this;}
76
78
81 inline const Aws::String& GetDestinationIpv6CidrBlock() const { return m_destinationIpv6CidrBlock; }
82 inline bool DestinationIpv6CidrBlockHasBeenSet() const { return m_destinationIpv6CidrBlockHasBeenSet; }
83 template<typename DestinationIpv6CidrBlockT = Aws::String>
84 void SetDestinationIpv6CidrBlock(DestinationIpv6CidrBlockT&& value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock = std::forward<DestinationIpv6CidrBlockT>(value); }
85 template<typename DestinationIpv6CidrBlockT = Aws::String>
86 RouteSetDetails& WithDestinationIpv6CidrBlock(DestinationIpv6CidrBlockT&& value) { SetDestinationIpv6CidrBlock(std::forward<DestinationIpv6CidrBlockT>(value)); return *this;}
88
90
93 inline const Aws::String& GetDestinationPrefixListId() const { return m_destinationPrefixListId; }
94 inline bool DestinationPrefixListIdHasBeenSet() const { return m_destinationPrefixListIdHasBeenSet; }
95 template<typename DestinationPrefixListIdT = Aws::String>
96 void SetDestinationPrefixListId(DestinationPrefixListIdT&& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = std::forward<DestinationPrefixListIdT>(value); }
97 template<typename DestinationPrefixListIdT = Aws::String>
98 RouteSetDetails& WithDestinationPrefixListId(DestinationPrefixListIdT&& value) { SetDestinationPrefixListId(std::forward<DestinationPrefixListIdT>(value)); return *this;}
100
102
105 inline const Aws::String& GetEgressOnlyInternetGatewayId() const { return m_egressOnlyInternetGatewayId; }
106 inline bool EgressOnlyInternetGatewayIdHasBeenSet() const { return m_egressOnlyInternetGatewayIdHasBeenSet; }
107 template<typename EgressOnlyInternetGatewayIdT = Aws::String>
108 void SetEgressOnlyInternetGatewayId(EgressOnlyInternetGatewayIdT&& value) { m_egressOnlyInternetGatewayIdHasBeenSet = true; m_egressOnlyInternetGatewayId = std::forward<EgressOnlyInternetGatewayIdT>(value); }
109 template<typename EgressOnlyInternetGatewayIdT = Aws::String>
110 RouteSetDetails& WithEgressOnlyInternetGatewayId(EgressOnlyInternetGatewayIdT&& value) { SetEgressOnlyInternetGatewayId(std::forward<EgressOnlyInternetGatewayIdT>(value)); return *this;}
112
114
117 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
118 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
119 template<typename GatewayIdT = Aws::String>
120 void SetGatewayId(GatewayIdT&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::forward<GatewayIdT>(value); }
121 template<typename GatewayIdT = Aws::String>
122 RouteSetDetails& WithGatewayId(GatewayIdT&& value) { SetGatewayId(std::forward<GatewayIdT>(value)); return *this;}
124
126
129 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
130 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
131 template<typename InstanceIdT = Aws::String>
132 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
133 template<typename InstanceIdT = Aws::String>
134 RouteSetDetails& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
136
138
141 inline const Aws::String& GetInstanceOwnerId() const { return m_instanceOwnerId; }
142 inline bool InstanceOwnerIdHasBeenSet() const { return m_instanceOwnerIdHasBeenSet; }
143 template<typename InstanceOwnerIdT = Aws::String>
144 void SetInstanceOwnerId(InstanceOwnerIdT&& value) { m_instanceOwnerIdHasBeenSet = true; m_instanceOwnerId = std::forward<InstanceOwnerIdT>(value); }
145 template<typename InstanceOwnerIdT = Aws::String>
146 RouteSetDetails& WithInstanceOwnerId(InstanceOwnerIdT&& value) { SetInstanceOwnerId(std::forward<InstanceOwnerIdT>(value)); return *this;}
148
150
153 inline const Aws::String& GetLocalGatewayId() const { return m_localGatewayId; }
154 inline bool LocalGatewayIdHasBeenSet() const { return m_localGatewayIdHasBeenSet; }
155 template<typename LocalGatewayIdT = Aws::String>
156 void SetLocalGatewayId(LocalGatewayIdT&& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = std::forward<LocalGatewayIdT>(value); }
157 template<typename LocalGatewayIdT = Aws::String>
158 RouteSetDetails& WithLocalGatewayId(LocalGatewayIdT&& value) { SetLocalGatewayId(std::forward<LocalGatewayIdT>(value)); return *this;}
160
162
165 inline const Aws::String& GetNatGatewayId() const { return m_natGatewayId; }
166 inline bool NatGatewayIdHasBeenSet() const { return m_natGatewayIdHasBeenSet; }
167 template<typename NatGatewayIdT = Aws::String>
168 void SetNatGatewayId(NatGatewayIdT&& value) { m_natGatewayIdHasBeenSet = true; m_natGatewayId = std::forward<NatGatewayIdT>(value); }
169 template<typename NatGatewayIdT = Aws::String>
170 RouteSetDetails& WithNatGatewayId(NatGatewayIdT&& value) { SetNatGatewayId(std::forward<NatGatewayIdT>(value)); return *this;}
172
174
177 inline const Aws::String& GetNetworkInterfaceId() const { return m_networkInterfaceId; }
178 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
179 template<typename NetworkInterfaceIdT = Aws::String>
180 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value); }
181 template<typename NetworkInterfaceIdT = Aws::String>
182 RouteSetDetails& WithNetworkInterfaceId(NetworkInterfaceIdT&& value) { SetNetworkInterfaceId(std::forward<NetworkInterfaceIdT>(value)); return *this;}
184
186
189 inline const Aws::String& GetOrigin() const { return m_origin; }
190 inline bool OriginHasBeenSet() const { return m_originHasBeenSet; }
191 template<typename OriginT = Aws::String>
192 void SetOrigin(OriginT&& value) { m_originHasBeenSet = true; m_origin = std::forward<OriginT>(value); }
193 template<typename OriginT = Aws::String>
194 RouteSetDetails& WithOrigin(OriginT&& value) { SetOrigin(std::forward<OriginT>(value)); return *this;}
196
198
201 inline const Aws::String& GetState() const { return m_state; }
202 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
203 template<typename StateT = Aws::String>
204 void SetState(StateT&& value) { m_stateHasBeenSet = true; m_state = std::forward<StateT>(value); }
205 template<typename StateT = Aws::String>
206 RouteSetDetails& WithState(StateT&& value) { SetState(std::forward<StateT>(value)); return *this;}
208
210
213 inline const Aws::String& GetTransitGatewayId() const { return m_transitGatewayId; }
214 inline bool TransitGatewayIdHasBeenSet() const { return m_transitGatewayIdHasBeenSet; }
215 template<typename TransitGatewayIdT = Aws::String>
216 void SetTransitGatewayId(TransitGatewayIdT&& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = std::forward<TransitGatewayIdT>(value); }
217 template<typename TransitGatewayIdT = Aws::String>
218 RouteSetDetails& WithTransitGatewayId(TransitGatewayIdT&& value) { SetTransitGatewayId(std::forward<TransitGatewayIdT>(value)); return *this;}
220
222
225 inline const Aws::String& GetVpcPeeringConnectionId() const { return m_vpcPeeringConnectionId; }
226 inline bool VpcPeeringConnectionIdHasBeenSet() const { return m_vpcPeeringConnectionIdHasBeenSet; }
227 template<typename VpcPeeringConnectionIdT = Aws::String>
228 void SetVpcPeeringConnectionId(VpcPeeringConnectionIdT&& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = std::forward<VpcPeeringConnectionIdT>(value); }
229 template<typename VpcPeeringConnectionIdT = Aws::String>
230 RouteSetDetails& WithVpcPeeringConnectionId(VpcPeeringConnectionIdT&& value) { SetVpcPeeringConnectionId(std::forward<VpcPeeringConnectionIdT>(value)); return *this;}
232 private:
233
234 Aws::String m_carrierGatewayId;
235 bool m_carrierGatewayIdHasBeenSet = false;
236
237 Aws::String m_coreNetworkArn;
238 bool m_coreNetworkArnHasBeenSet = false;
239
240 Aws::String m_destinationCidrBlock;
241 bool m_destinationCidrBlockHasBeenSet = false;
242
243 Aws::String m_destinationIpv6CidrBlock;
244 bool m_destinationIpv6CidrBlockHasBeenSet = false;
245
246 Aws::String m_destinationPrefixListId;
247 bool m_destinationPrefixListIdHasBeenSet = false;
248
249 Aws::String m_egressOnlyInternetGatewayId;
250 bool m_egressOnlyInternetGatewayIdHasBeenSet = false;
251
252 Aws::String m_gatewayId;
253 bool m_gatewayIdHasBeenSet = false;
254
255 Aws::String m_instanceId;
256 bool m_instanceIdHasBeenSet = false;
257
258 Aws::String m_instanceOwnerId;
259 bool m_instanceOwnerIdHasBeenSet = false;
260
261 Aws::String m_localGatewayId;
262 bool m_localGatewayIdHasBeenSet = false;
263
264 Aws::String m_natGatewayId;
265 bool m_natGatewayIdHasBeenSet = false;
266
267 Aws::String m_networkInterfaceId;
268 bool m_networkInterfaceIdHasBeenSet = false;
269
270 Aws::String m_origin;
271 bool m_originHasBeenSet = false;
272
273 Aws::String m_state;
274 bool m_stateHasBeenSet = false;
275
276 Aws::String m_transitGatewayId;
277 bool m_transitGatewayIdHasBeenSet = false;
278
279 Aws::String m_vpcPeeringConnectionId;
280 bool m_vpcPeeringConnectionIdHasBeenSet = false;
281 };
282
283} // namespace Model
284} // namespace SecurityHub
285} // namespace Aws
AWS_SECURITYHUB_API RouteSetDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCarrierGatewayId(CarrierGatewayIdT &&value)
const Aws::String & GetDestinationCidrBlock() const
RouteSetDetails & WithOrigin(OriginT &&value)
void SetDestinationPrefixListId(DestinationPrefixListIdT &&value)
const Aws::String & GetOrigin() const
RouteSetDetails & WithVpcPeeringConnectionId(VpcPeeringConnectionIdT &&value)
RouteSetDetails & WithEgressOnlyInternetGatewayId(EgressOnlyInternetGatewayIdT &&value)
RouteSetDetails & WithInstanceId(InstanceIdT &&value)
RouteSetDetails & WithGatewayId(GatewayIdT &&value)
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
RouteSetDetails & WithCarrierGatewayId(CarrierGatewayIdT &&value)
RouteSetDetails & WithDestinationCidrBlock(DestinationCidrBlockT &&value)
void SetEgressOnlyInternetGatewayId(EgressOnlyInternetGatewayIdT &&value)
RouteSetDetails & WithNatGatewayId(NatGatewayIdT &&value)
RouteSetDetails & WithInstanceOwnerId(InstanceOwnerIdT &&value)
void SetLocalGatewayId(LocalGatewayIdT &&value)
RouteSetDetails & WithTransitGatewayId(TransitGatewayIdT &&value)
RouteSetDetails & WithCoreNetworkArn(CoreNetworkArnT &&value)
AWS_SECURITYHUB_API RouteSetDetails()=default
const Aws::String & GetLocalGatewayId() const
const Aws::String & GetNatGatewayId() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDestinationIpv6CidrBlock() const
const Aws::String & GetCarrierGatewayId() const
RouteSetDetails & WithDestinationPrefixListId(DestinationPrefixListIdT &&value)
void SetDestinationIpv6CidrBlock(DestinationIpv6CidrBlockT &&value)
const Aws::String & GetTransitGatewayId() const
void SetNatGatewayId(NatGatewayIdT &&value)
RouteSetDetails & WithState(StateT &&value)
AWS_SECURITYHUB_API RouteSetDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVpcPeeringConnectionId() const
void SetDestinationCidrBlock(DestinationCidrBlockT &&value)
const Aws::String & GetInstanceId() const
const Aws::String & GetInstanceOwnerId() const
const Aws::String & GetGatewayId() const
void SetVpcPeeringConnectionId(VpcPeeringConnectionIdT &&value)
void SetCoreNetworkArn(CoreNetworkArnT &&value)
RouteSetDetails & WithLocalGatewayId(LocalGatewayIdT &&value)
const Aws::String & GetCoreNetworkArn() const
void SetInstanceOwnerId(InstanceOwnerIdT &&value)
RouteSetDetails & WithDestinationIpv6CidrBlock(DestinationIpv6CidrBlockT &&value)
RouteSetDetails & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
void SetTransitGatewayId(TransitGatewayIdT &&value)
const Aws::String & GetEgressOnlyInternetGatewayId() const
const Aws::String & GetDestinationPrefixListId() const
const Aws::String & GetNetworkInterfaceId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue