AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
RouteSetDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
29 public:
30 AWS_SECURITYHUB_API RouteSetDetails() = default;
31 AWS_SECURITYHUB_API RouteSetDetails(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYHUB_API RouteSetDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetCarrierGatewayId() const { return m_carrierGatewayId; }
40 inline bool CarrierGatewayIdHasBeenSet() const { return m_carrierGatewayIdHasBeenSet; }
41 template <typename CarrierGatewayIdT = Aws::String>
42 void SetCarrierGatewayId(CarrierGatewayIdT&& value) {
43 m_carrierGatewayIdHasBeenSet = true;
44 m_carrierGatewayId = std::forward<CarrierGatewayIdT>(value);
45 }
46 template <typename CarrierGatewayIdT = Aws::String>
47 RouteSetDetails& WithCarrierGatewayId(CarrierGatewayIdT&& value) {
48 SetCarrierGatewayId(std::forward<CarrierGatewayIdT>(value));
49 return *this;
50 }
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) {
61 m_coreNetworkArnHasBeenSet = true;
62 m_coreNetworkArn = std::forward<CoreNetworkArnT>(value);
63 }
64 template <typename CoreNetworkArnT = Aws::String>
65 RouteSetDetails& WithCoreNetworkArn(CoreNetworkArnT&& value) {
66 SetCoreNetworkArn(std::forward<CoreNetworkArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDestinationCidrBlock() const { return m_destinationCidrBlock; }
76 inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; }
77 template <typename DestinationCidrBlockT = Aws::String>
78 void SetDestinationCidrBlock(DestinationCidrBlockT&& value) {
79 m_destinationCidrBlockHasBeenSet = true;
80 m_destinationCidrBlock = std::forward<DestinationCidrBlockT>(value);
81 }
82 template <typename DestinationCidrBlockT = Aws::String>
83 RouteSetDetails& WithDestinationCidrBlock(DestinationCidrBlockT&& value) {
84 SetDestinationCidrBlock(std::forward<DestinationCidrBlockT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDestinationIpv6CidrBlock() const { return m_destinationIpv6CidrBlock; }
94 inline bool DestinationIpv6CidrBlockHasBeenSet() const { return m_destinationIpv6CidrBlockHasBeenSet; }
95 template <typename DestinationIpv6CidrBlockT = Aws::String>
96 void SetDestinationIpv6CidrBlock(DestinationIpv6CidrBlockT&& value) {
97 m_destinationIpv6CidrBlockHasBeenSet = true;
98 m_destinationIpv6CidrBlock = std::forward<DestinationIpv6CidrBlockT>(value);
99 }
100 template <typename DestinationIpv6CidrBlockT = Aws::String>
101 RouteSetDetails& WithDestinationIpv6CidrBlock(DestinationIpv6CidrBlockT&& value) {
102 SetDestinationIpv6CidrBlock(std::forward<DestinationIpv6CidrBlockT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetDestinationPrefixListId() const { return m_destinationPrefixListId; }
112 inline bool DestinationPrefixListIdHasBeenSet() const { return m_destinationPrefixListIdHasBeenSet; }
113 template <typename DestinationPrefixListIdT = Aws::String>
114 void SetDestinationPrefixListId(DestinationPrefixListIdT&& value) {
115 m_destinationPrefixListIdHasBeenSet = true;
116 m_destinationPrefixListId = std::forward<DestinationPrefixListIdT>(value);
117 }
118 template <typename DestinationPrefixListIdT = Aws::String>
119 RouteSetDetails& WithDestinationPrefixListId(DestinationPrefixListIdT&& value) {
120 SetDestinationPrefixListId(std::forward<DestinationPrefixListIdT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetEgressOnlyInternetGatewayId() const { return m_egressOnlyInternetGatewayId; }
130 inline bool EgressOnlyInternetGatewayIdHasBeenSet() const { return m_egressOnlyInternetGatewayIdHasBeenSet; }
131 template <typename EgressOnlyInternetGatewayIdT = Aws::String>
132 void SetEgressOnlyInternetGatewayId(EgressOnlyInternetGatewayIdT&& value) {
133 m_egressOnlyInternetGatewayIdHasBeenSet = true;
134 m_egressOnlyInternetGatewayId = std::forward<EgressOnlyInternetGatewayIdT>(value);
135 }
136 template <typename EgressOnlyInternetGatewayIdT = Aws::String>
137 RouteSetDetails& WithEgressOnlyInternetGatewayId(EgressOnlyInternetGatewayIdT&& value) {
138 SetEgressOnlyInternetGatewayId(std::forward<EgressOnlyInternetGatewayIdT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
148 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
149 template <typename GatewayIdT = Aws::String>
150 void SetGatewayId(GatewayIdT&& value) {
151 m_gatewayIdHasBeenSet = true;
152 m_gatewayId = std::forward<GatewayIdT>(value);
153 }
154 template <typename GatewayIdT = Aws::String>
155 RouteSetDetails& WithGatewayId(GatewayIdT&& value) {
156 SetGatewayId(std::forward<GatewayIdT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
166 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
167 template <typename InstanceIdT = Aws::String>
168 void SetInstanceId(InstanceIdT&& value) {
169 m_instanceIdHasBeenSet = true;
170 m_instanceId = std::forward<InstanceIdT>(value);
171 }
172 template <typename InstanceIdT = Aws::String>
173 RouteSetDetails& WithInstanceId(InstanceIdT&& value) {
174 SetInstanceId(std::forward<InstanceIdT>(value));
175 return *this;
176 }
178
180
183 inline const Aws::String& GetInstanceOwnerId() const { return m_instanceOwnerId; }
184 inline bool InstanceOwnerIdHasBeenSet() const { return m_instanceOwnerIdHasBeenSet; }
185 template <typename InstanceOwnerIdT = Aws::String>
186 void SetInstanceOwnerId(InstanceOwnerIdT&& value) {
187 m_instanceOwnerIdHasBeenSet = true;
188 m_instanceOwnerId = std::forward<InstanceOwnerIdT>(value);
189 }
190 template <typename InstanceOwnerIdT = Aws::String>
191 RouteSetDetails& WithInstanceOwnerId(InstanceOwnerIdT&& value) {
192 SetInstanceOwnerId(std::forward<InstanceOwnerIdT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::String& GetLocalGatewayId() const { return m_localGatewayId; }
202 inline bool LocalGatewayIdHasBeenSet() const { return m_localGatewayIdHasBeenSet; }
203 template <typename LocalGatewayIdT = Aws::String>
204 void SetLocalGatewayId(LocalGatewayIdT&& value) {
205 m_localGatewayIdHasBeenSet = true;
206 m_localGatewayId = std::forward<LocalGatewayIdT>(value);
207 }
208 template <typename LocalGatewayIdT = Aws::String>
209 RouteSetDetails& WithLocalGatewayId(LocalGatewayIdT&& value) {
210 SetLocalGatewayId(std::forward<LocalGatewayIdT>(value));
211 return *this;
212 }
214
216
219 inline const Aws::String& GetNatGatewayId() const { return m_natGatewayId; }
220 inline bool NatGatewayIdHasBeenSet() const { return m_natGatewayIdHasBeenSet; }
221 template <typename NatGatewayIdT = Aws::String>
222 void SetNatGatewayId(NatGatewayIdT&& value) {
223 m_natGatewayIdHasBeenSet = true;
224 m_natGatewayId = std::forward<NatGatewayIdT>(value);
225 }
226 template <typename NatGatewayIdT = Aws::String>
227 RouteSetDetails& WithNatGatewayId(NatGatewayIdT&& value) {
228 SetNatGatewayId(std::forward<NatGatewayIdT>(value));
229 return *this;
230 }
232
234
237 inline const Aws::String& GetNetworkInterfaceId() const { return m_networkInterfaceId; }
238 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
239 template <typename NetworkInterfaceIdT = Aws::String>
240 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) {
241 m_networkInterfaceIdHasBeenSet = true;
242 m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value);
243 }
244 template <typename NetworkInterfaceIdT = Aws::String>
245 RouteSetDetails& WithNetworkInterfaceId(NetworkInterfaceIdT&& value) {
246 SetNetworkInterfaceId(std::forward<NetworkInterfaceIdT>(value));
247 return *this;
248 }
250
252
255 inline const Aws::String& GetOrigin() const { return m_origin; }
256 inline bool OriginHasBeenSet() const { return m_originHasBeenSet; }
257 template <typename OriginT = Aws::String>
258 void SetOrigin(OriginT&& value) {
259 m_originHasBeenSet = true;
260 m_origin = std::forward<OriginT>(value);
261 }
262 template <typename OriginT = Aws::String>
263 RouteSetDetails& WithOrigin(OriginT&& value) {
264 SetOrigin(std::forward<OriginT>(value));
265 return *this;
266 }
268
270
273 inline const Aws::String& GetState() const { return m_state; }
274 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
275 template <typename StateT = Aws::String>
276 void SetState(StateT&& value) {
277 m_stateHasBeenSet = true;
278 m_state = std::forward<StateT>(value);
279 }
280 template <typename StateT = Aws::String>
281 RouteSetDetails& WithState(StateT&& value) {
282 SetState(std::forward<StateT>(value));
283 return *this;
284 }
286
288
291 inline const Aws::String& GetTransitGatewayId() const { return m_transitGatewayId; }
292 inline bool TransitGatewayIdHasBeenSet() const { return m_transitGatewayIdHasBeenSet; }
293 template <typename TransitGatewayIdT = Aws::String>
294 void SetTransitGatewayId(TransitGatewayIdT&& value) {
295 m_transitGatewayIdHasBeenSet = true;
296 m_transitGatewayId = std::forward<TransitGatewayIdT>(value);
297 }
298 template <typename TransitGatewayIdT = Aws::String>
299 RouteSetDetails& WithTransitGatewayId(TransitGatewayIdT&& value) {
300 SetTransitGatewayId(std::forward<TransitGatewayIdT>(value));
301 return *this;
302 }
304
306
309 inline const Aws::String& GetVpcPeeringConnectionId() const { return m_vpcPeeringConnectionId; }
310 inline bool VpcPeeringConnectionIdHasBeenSet() const { return m_vpcPeeringConnectionIdHasBeenSet; }
311 template <typename VpcPeeringConnectionIdT = Aws::String>
312 void SetVpcPeeringConnectionId(VpcPeeringConnectionIdT&& value) {
313 m_vpcPeeringConnectionIdHasBeenSet = true;
314 m_vpcPeeringConnectionId = std::forward<VpcPeeringConnectionIdT>(value);
315 }
316 template <typename VpcPeeringConnectionIdT = Aws::String>
317 RouteSetDetails& WithVpcPeeringConnectionId(VpcPeeringConnectionIdT&& value) {
318 SetVpcPeeringConnectionId(std::forward<VpcPeeringConnectionIdT>(value));
319 return *this;
320 }
322 private:
323 Aws::String m_carrierGatewayId;
324
325 Aws::String m_coreNetworkArn;
326
327 Aws::String m_destinationCidrBlock;
328
329 Aws::String m_destinationIpv6CidrBlock;
330
331 Aws::String m_destinationPrefixListId;
332
333 Aws::String m_egressOnlyInternetGatewayId;
334
335 Aws::String m_gatewayId;
336
337 Aws::String m_instanceId;
338
339 Aws::String m_instanceOwnerId;
340
341 Aws::String m_localGatewayId;
342
343 Aws::String m_natGatewayId;
344
345 Aws::String m_networkInterfaceId;
346
347 Aws::String m_origin;
348
349 Aws::String m_state;
350
351 Aws::String m_transitGatewayId;
352
353 Aws::String m_vpcPeeringConnectionId;
354 bool m_carrierGatewayIdHasBeenSet = false;
355 bool m_coreNetworkArnHasBeenSet = false;
356 bool m_destinationCidrBlockHasBeenSet = false;
357 bool m_destinationIpv6CidrBlockHasBeenSet = false;
358 bool m_destinationPrefixListIdHasBeenSet = false;
359 bool m_egressOnlyInternetGatewayIdHasBeenSet = false;
360 bool m_gatewayIdHasBeenSet = false;
361 bool m_instanceIdHasBeenSet = false;
362 bool m_instanceOwnerIdHasBeenSet = false;
363 bool m_localGatewayIdHasBeenSet = false;
364 bool m_natGatewayIdHasBeenSet = false;
365 bool m_networkInterfaceIdHasBeenSet = false;
366 bool m_originHasBeenSet = false;
367 bool m_stateHasBeenSet = false;
368 bool m_transitGatewayIdHasBeenSet = false;
369 bool m_vpcPeeringConnectionIdHasBeenSet = false;
370};
371
372} // namespace Model
373} // namespace SecurityHub
374} // 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