AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Route.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/RouteOrigin.h>
11#include <aws/ec2/model/RouteState.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace EC2
24{
25namespace Model
26{
27
33 class Route
34 {
35 public:
36 AWS_EC2_API Route();
37 AWS_EC2_API Route(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_EC2_API Route& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetDestinationCidrBlock() const{ return m_destinationCidrBlock; }
49 inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; }
50 inline void SetDestinationCidrBlock(const Aws::String& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = value; }
51 inline void SetDestinationCidrBlock(Aws::String&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::move(value); }
52 inline void SetDestinationCidrBlock(const char* value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock.assign(value); }
53 inline Route& WithDestinationCidrBlock(const Aws::String& value) { SetDestinationCidrBlock(value); return *this;}
54 inline Route& WithDestinationCidrBlock(Aws::String&& value) { SetDestinationCidrBlock(std::move(value)); return *this;}
55 inline Route& WithDestinationCidrBlock(const char* value) { SetDestinationCidrBlock(value); return *this;}
57
59
62 inline const Aws::String& GetDestinationIpv6CidrBlock() const{ return m_destinationIpv6CidrBlock; }
63 inline bool DestinationIpv6CidrBlockHasBeenSet() const { return m_destinationIpv6CidrBlockHasBeenSet; }
64 inline void SetDestinationIpv6CidrBlock(const Aws::String& value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock = value; }
65 inline void SetDestinationIpv6CidrBlock(Aws::String&& value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock = std::move(value); }
66 inline void SetDestinationIpv6CidrBlock(const char* value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock.assign(value); }
67 inline Route& WithDestinationIpv6CidrBlock(const Aws::String& value) { SetDestinationIpv6CidrBlock(value); return *this;}
68 inline Route& WithDestinationIpv6CidrBlock(Aws::String&& value) { SetDestinationIpv6CidrBlock(std::move(value)); return *this;}
69 inline Route& WithDestinationIpv6CidrBlock(const char* value) { SetDestinationIpv6CidrBlock(value); return *this;}
71
73
76 inline const Aws::String& GetDestinationPrefixListId() const{ return m_destinationPrefixListId; }
77 inline bool DestinationPrefixListIdHasBeenSet() const { return m_destinationPrefixListIdHasBeenSet; }
78 inline void SetDestinationPrefixListId(const Aws::String& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = value; }
79 inline void SetDestinationPrefixListId(Aws::String&& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = std::move(value); }
80 inline void SetDestinationPrefixListId(const char* value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId.assign(value); }
81 inline Route& WithDestinationPrefixListId(const Aws::String& value) { SetDestinationPrefixListId(value); return *this;}
82 inline Route& WithDestinationPrefixListId(Aws::String&& value) { SetDestinationPrefixListId(std::move(value)); return *this;}
83 inline Route& WithDestinationPrefixListId(const char* value) { SetDestinationPrefixListId(value); return *this;}
85
87
90 inline const Aws::String& GetEgressOnlyInternetGatewayId() const{ return m_egressOnlyInternetGatewayId; }
91 inline bool EgressOnlyInternetGatewayIdHasBeenSet() const { return m_egressOnlyInternetGatewayIdHasBeenSet; }
92 inline void SetEgressOnlyInternetGatewayId(const Aws::String& value) { m_egressOnlyInternetGatewayIdHasBeenSet = true; m_egressOnlyInternetGatewayId = value; }
93 inline void SetEgressOnlyInternetGatewayId(Aws::String&& value) { m_egressOnlyInternetGatewayIdHasBeenSet = true; m_egressOnlyInternetGatewayId = std::move(value); }
94 inline void SetEgressOnlyInternetGatewayId(const char* value) { m_egressOnlyInternetGatewayIdHasBeenSet = true; m_egressOnlyInternetGatewayId.assign(value); }
96 inline Route& WithEgressOnlyInternetGatewayId(Aws::String&& value) { SetEgressOnlyInternetGatewayId(std::move(value)); return *this;}
97 inline Route& WithEgressOnlyInternetGatewayId(const char* value) { SetEgressOnlyInternetGatewayId(value); return *this;}
99
101
104 inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
105 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
106 inline void SetGatewayId(const Aws::String& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; }
107 inline void SetGatewayId(Aws::String&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); }
108 inline void SetGatewayId(const char* value) { m_gatewayIdHasBeenSet = true; m_gatewayId.assign(value); }
109 inline Route& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
110 inline Route& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
111 inline Route& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
113
115
118 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
119 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
120 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
121 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
122 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
123 inline Route& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
124 inline Route& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
125 inline Route& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
127
129
132 inline const Aws::String& GetInstanceOwnerId() const{ return m_instanceOwnerId; }
133 inline bool InstanceOwnerIdHasBeenSet() const { return m_instanceOwnerIdHasBeenSet; }
134 inline void SetInstanceOwnerId(const Aws::String& value) { m_instanceOwnerIdHasBeenSet = true; m_instanceOwnerId = value; }
135 inline void SetInstanceOwnerId(Aws::String&& value) { m_instanceOwnerIdHasBeenSet = true; m_instanceOwnerId = std::move(value); }
136 inline void SetInstanceOwnerId(const char* value) { m_instanceOwnerIdHasBeenSet = true; m_instanceOwnerId.assign(value); }
137 inline Route& WithInstanceOwnerId(const Aws::String& value) { SetInstanceOwnerId(value); return *this;}
138 inline Route& WithInstanceOwnerId(Aws::String&& value) { SetInstanceOwnerId(std::move(value)); return *this;}
139 inline Route& WithInstanceOwnerId(const char* value) { SetInstanceOwnerId(value); return *this;}
141
143
146 inline const Aws::String& GetNatGatewayId() const{ return m_natGatewayId; }
147 inline bool NatGatewayIdHasBeenSet() const { return m_natGatewayIdHasBeenSet; }
148 inline void SetNatGatewayId(const Aws::String& value) { m_natGatewayIdHasBeenSet = true; m_natGatewayId = value; }
149 inline void SetNatGatewayId(Aws::String&& value) { m_natGatewayIdHasBeenSet = true; m_natGatewayId = std::move(value); }
150 inline void SetNatGatewayId(const char* value) { m_natGatewayIdHasBeenSet = true; m_natGatewayId.assign(value); }
151 inline Route& WithNatGatewayId(const Aws::String& value) { SetNatGatewayId(value); return *this;}
152 inline Route& WithNatGatewayId(Aws::String&& value) { SetNatGatewayId(std::move(value)); return *this;}
153 inline Route& WithNatGatewayId(const char* value) { SetNatGatewayId(value); return *this;}
155
157
160 inline const Aws::String& GetTransitGatewayId() const{ return m_transitGatewayId; }
161 inline bool TransitGatewayIdHasBeenSet() const { return m_transitGatewayIdHasBeenSet; }
162 inline void SetTransitGatewayId(const Aws::String& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = value; }
163 inline void SetTransitGatewayId(Aws::String&& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = std::move(value); }
164 inline void SetTransitGatewayId(const char* value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId.assign(value); }
165 inline Route& WithTransitGatewayId(const Aws::String& value) { SetTransitGatewayId(value); return *this;}
166 inline Route& WithTransitGatewayId(Aws::String&& value) { SetTransitGatewayId(std::move(value)); return *this;}
167 inline Route& WithTransitGatewayId(const char* value) { SetTransitGatewayId(value); return *this;}
169
171
174 inline const Aws::String& GetLocalGatewayId() const{ return m_localGatewayId; }
175 inline bool LocalGatewayIdHasBeenSet() const { return m_localGatewayIdHasBeenSet; }
176 inline void SetLocalGatewayId(const Aws::String& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = value; }
177 inline void SetLocalGatewayId(Aws::String&& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = std::move(value); }
178 inline void SetLocalGatewayId(const char* value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId.assign(value); }
179 inline Route& WithLocalGatewayId(const Aws::String& value) { SetLocalGatewayId(value); return *this;}
180 inline Route& WithLocalGatewayId(Aws::String&& value) { SetLocalGatewayId(std::move(value)); return *this;}
181 inline Route& WithLocalGatewayId(const char* value) { SetLocalGatewayId(value); return *this;}
183
185
188 inline const Aws::String& GetCarrierGatewayId() const{ return m_carrierGatewayId; }
189 inline bool CarrierGatewayIdHasBeenSet() const { return m_carrierGatewayIdHasBeenSet; }
190 inline void SetCarrierGatewayId(const Aws::String& value) { m_carrierGatewayIdHasBeenSet = true; m_carrierGatewayId = value; }
191 inline void SetCarrierGatewayId(Aws::String&& value) { m_carrierGatewayIdHasBeenSet = true; m_carrierGatewayId = std::move(value); }
192 inline void SetCarrierGatewayId(const char* value) { m_carrierGatewayIdHasBeenSet = true; m_carrierGatewayId.assign(value); }
193 inline Route& WithCarrierGatewayId(const Aws::String& value) { SetCarrierGatewayId(value); return *this;}
194 inline Route& WithCarrierGatewayId(Aws::String&& value) { SetCarrierGatewayId(std::move(value)); return *this;}
195 inline Route& WithCarrierGatewayId(const char* value) { SetCarrierGatewayId(value); return *this;}
197
199
202 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
203 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
204 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
205 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
206 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
207 inline Route& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
208 inline Route& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
209 inline Route& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
211
213
221 inline const RouteOrigin& GetOrigin() const{ return m_origin; }
222 inline bool OriginHasBeenSet() const { return m_originHasBeenSet; }
223 inline void SetOrigin(const RouteOrigin& value) { m_originHasBeenSet = true; m_origin = value; }
224 inline void SetOrigin(RouteOrigin&& value) { m_originHasBeenSet = true; m_origin = std::move(value); }
225 inline Route& WithOrigin(const RouteOrigin& value) { SetOrigin(value); return *this;}
226 inline Route& WithOrigin(RouteOrigin&& value) { SetOrigin(std::move(value)); return *this;}
228
230
235 inline const RouteState& GetState() const{ return m_state; }
236 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
237 inline void SetState(const RouteState& value) { m_stateHasBeenSet = true; m_state = value; }
238 inline void SetState(RouteState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
239 inline Route& WithState(const RouteState& value) { SetState(value); return *this;}
240 inline Route& WithState(RouteState&& value) { SetState(std::move(value)); return *this;}
242
244
247 inline const Aws::String& GetVpcPeeringConnectionId() const{ return m_vpcPeeringConnectionId; }
248 inline bool VpcPeeringConnectionIdHasBeenSet() const { return m_vpcPeeringConnectionIdHasBeenSet; }
249 inline void SetVpcPeeringConnectionId(const Aws::String& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = value; }
250 inline void SetVpcPeeringConnectionId(Aws::String&& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = std::move(value); }
251 inline void SetVpcPeeringConnectionId(const char* value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId.assign(value); }
252 inline Route& WithVpcPeeringConnectionId(const Aws::String& value) { SetVpcPeeringConnectionId(value); return *this;}
253 inline Route& WithVpcPeeringConnectionId(Aws::String&& value) { SetVpcPeeringConnectionId(std::move(value)); return *this;}
254 inline Route& WithVpcPeeringConnectionId(const char* value) { SetVpcPeeringConnectionId(value); return *this;}
256
258
261 inline const Aws::String& GetCoreNetworkArn() const{ return m_coreNetworkArn; }
262 inline bool CoreNetworkArnHasBeenSet() const { return m_coreNetworkArnHasBeenSet; }
263 inline void SetCoreNetworkArn(const Aws::String& value) { m_coreNetworkArnHasBeenSet = true; m_coreNetworkArn = value; }
264 inline void SetCoreNetworkArn(Aws::String&& value) { m_coreNetworkArnHasBeenSet = true; m_coreNetworkArn = std::move(value); }
265 inline void SetCoreNetworkArn(const char* value) { m_coreNetworkArnHasBeenSet = true; m_coreNetworkArn.assign(value); }
266 inline Route& WithCoreNetworkArn(const Aws::String& value) { SetCoreNetworkArn(value); return *this;}
267 inline Route& WithCoreNetworkArn(Aws::String&& value) { SetCoreNetworkArn(std::move(value)); return *this;}
268 inline Route& WithCoreNetworkArn(const char* value) { SetCoreNetworkArn(value); return *this;}
270 private:
271
272 Aws::String m_destinationCidrBlock;
273 bool m_destinationCidrBlockHasBeenSet = false;
274
275 Aws::String m_destinationIpv6CidrBlock;
276 bool m_destinationIpv6CidrBlockHasBeenSet = false;
277
278 Aws::String m_destinationPrefixListId;
279 bool m_destinationPrefixListIdHasBeenSet = false;
280
281 Aws::String m_egressOnlyInternetGatewayId;
282 bool m_egressOnlyInternetGatewayIdHasBeenSet = false;
283
284 Aws::String m_gatewayId;
285 bool m_gatewayIdHasBeenSet = false;
286
287 Aws::String m_instanceId;
288 bool m_instanceIdHasBeenSet = false;
289
290 Aws::String m_instanceOwnerId;
291 bool m_instanceOwnerIdHasBeenSet = false;
292
293 Aws::String m_natGatewayId;
294 bool m_natGatewayIdHasBeenSet = false;
295
296 Aws::String m_transitGatewayId;
297 bool m_transitGatewayIdHasBeenSet = false;
298
299 Aws::String m_localGatewayId;
300 bool m_localGatewayIdHasBeenSet = false;
301
302 Aws::String m_carrierGatewayId;
303 bool m_carrierGatewayIdHasBeenSet = false;
304
305 Aws::String m_networkInterfaceId;
306 bool m_networkInterfaceIdHasBeenSet = false;
307
308 RouteOrigin m_origin;
309 bool m_originHasBeenSet = false;
310
311 RouteState m_state;
312 bool m_stateHasBeenSet = false;
313
314 Aws::String m_vpcPeeringConnectionId;
315 bool m_vpcPeeringConnectionIdHasBeenSet = false;
316
317 Aws::String m_coreNetworkArn;
318 bool m_coreNetworkArnHasBeenSet = false;
319 };
320
321} // namespace Model
322} // namespace EC2
323} // namespace Aws
void SetNatGatewayId(Aws::String &&value)
Definition Route.h:149
Route & WithCarrierGatewayId(const Aws::String &value)
Definition Route.h:193
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Route & WithVpcPeeringConnectionId(Aws::String &&value)
Definition Route.h:253
void SetDestinationIpv6CidrBlock(const Aws::String &value)
Definition Route.h:64
void SetGatewayId(Aws::String &&value)
Definition Route.h:107
void SetGatewayId(const char *value)
Definition Route.h:108
Route & WithDestinationCidrBlock(Aws::String &&value)
Definition Route.h:54
Route & WithLocalGatewayId(const char *value)
Definition Route.h:181
void SetNetworkInterfaceId(Aws::String &&value)
Definition Route.h:205
void SetNatGatewayId(const Aws::String &value)
Definition Route.h:148
Route & WithInstanceOwnerId(Aws::String &&value)
Definition Route.h:138
Route & WithDestinationIpv6CidrBlock(Aws::String &&value)
Definition Route.h:68
void SetInstanceOwnerId(const Aws::String &value)
Definition Route.h:134
const Aws::String & GetTransitGatewayId() const
Definition Route.h:160
Route & WithOrigin(const RouteOrigin &value)
Definition Route.h:225
Route & WithGatewayId(const char *value)
Definition Route.h:111
void SetInstanceId(const Aws::String &value)
Definition Route.h:120
void SetInstanceId(Aws::String &&value)
Definition Route.h:121
const RouteState & GetState() const
Definition Route.h:235
Route & WithCoreNetworkArn(const char *value)
Definition Route.h:268
void SetInstanceOwnerId(Aws::String &&value)
Definition Route.h:135
bool TransitGatewayIdHasBeenSet() const
Definition Route.h:161
Route & WithCoreNetworkArn(Aws::String &&value)
Definition Route.h:267
const Aws::String & GetVpcPeeringConnectionId() const
Definition Route.h:247
const Aws::String & GetDestinationPrefixListId() const
Definition Route.h:76
void SetVpcPeeringConnectionId(Aws::String &&value)
Definition Route.h:250
Route & WithDestinationCidrBlock(const char *value)
Definition Route.h:55
Route & WithTransitGatewayId(const char *value)
Definition Route.h:167
Route & WithEgressOnlyInternetGatewayId(const Aws::String &value)
Definition Route.h:95
Route & WithDestinationPrefixListId(const Aws::String &value)
Definition Route.h:81
bool CarrierGatewayIdHasBeenSet() const
Definition Route.h:189
void SetTransitGatewayId(const Aws::String &value)
Definition Route.h:162
void SetNetworkInterfaceId(const char *value)
Definition Route.h:206
Route & WithNatGatewayId(const char *value)
Definition Route.h:153
void SetLocalGatewayId(const Aws::String &value)
Definition Route.h:176
void SetDestinationPrefixListId(Aws::String &&value)
Definition Route.h:79
const Aws::String & GetLocalGatewayId() const
Definition Route.h:174
Route & WithCarrierGatewayId(const char *value)
Definition Route.h:195
const Aws::String & GetEgressOnlyInternetGatewayId() const
Definition Route.h:90
const Aws::String & GetDestinationCidrBlock() const
Definition Route.h:48
void SetNetworkInterfaceId(const Aws::String &value)
Definition Route.h:204
void SetInstanceId(const char *value)
Definition Route.h:122
void SetState(RouteState &&value)
Definition Route.h:238
const Aws::String & GetInstanceId() const
Definition Route.h:118
void SetCoreNetworkArn(const char *value)
Definition Route.h:265
void SetNatGatewayId(const char *value)
Definition Route.h:150
bool CoreNetworkArnHasBeenSet() const
Definition Route.h:262
const Aws::String & GetInstanceOwnerId() const
Definition Route.h:132
bool DestinationCidrBlockHasBeenSet() const
Definition Route.h:49
void SetOrigin(const RouteOrigin &value)
Definition Route.h:223
const RouteOrigin & GetOrigin() const
Definition Route.h:221
const Aws::String & GetCarrierGatewayId() const
Definition Route.h:188
Route & WithTransitGatewayId(const Aws::String &value)
Definition Route.h:165
const Aws::String & GetCoreNetworkArn() const
Definition Route.h:261
Route & WithTransitGatewayId(Aws::String &&value)
Definition Route.h:166
bool LocalGatewayIdHasBeenSet() const
Definition Route.h:175
bool InstanceIdHasBeenSet() const
Definition Route.h:119
void SetVpcPeeringConnectionId(const char *value)
Definition Route.h:251
Route & WithDestinationPrefixListId(Aws::String &&value)
Definition Route.h:82
bool StateHasBeenSet() const
Definition Route.h:236
void SetLocalGatewayId(const char *value)
Definition Route.h:178
const Aws::String & GetNetworkInterfaceId() const
Definition Route.h:202
Route & WithVpcPeeringConnectionId(const char *value)
Definition Route.h:254
Route & WithInstanceId(Aws::String &&value)
Definition Route.h:124
void SetDestinationCidrBlock(const char *value)
Definition Route.h:52
void SetEgressOnlyInternetGatewayId(const Aws::String &value)
Definition Route.h:92
Route & WithDestinationPrefixListId(const char *value)
Definition Route.h:83
bool VpcPeeringConnectionIdHasBeenSet() const
Definition Route.h:248
AWS_EC2_API Route(const Aws::Utils::Xml::XmlNode &xmlNode)
Route & WithNetworkInterfaceId(const char *value)
Definition Route.h:209
Route & WithNatGatewayId(Aws::String &&value)
Definition Route.h:152
bool GatewayIdHasBeenSet() const
Definition Route.h:105
void SetTransitGatewayId(Aws::String &&value)
Definition Route.h:163
void SetState(const RouteState &value)
Definition Route.h:237
void SetInstanceOwnerId(const char *value)
Definition Route.h:136
Route & WithNetworkInterfaceId(Aws::String &&value)
Definition Route.h:208
bool InstanceOwnerIdHasBeenSet() const
Definition Route.h:133
void SetCoreNetworkArn(const Aws::String &value)
Definition Route.h:263
Route & WithInstanceId(const char *value)
Definition Route.h:125
Route & WithVpcPeeringConnectionId(const Aws::String &value)
Definition Route.h:252
Route & WithInstanceOwnerId(const Aws::String &value)
Definition Route.h:137
void SetDestinationIpv6CidrBlock(const char *value)
Definition Route.h:66
Route & WithGatewayId(const Aws::String &value)
Definition Route.h:109
void SetCarrierGatewayId(const Aws::String &value)
Definition Route.h:190
const Aws::String & GetGatewayId() const
Definition Route.h:104
Route & WithInstanceOwnerId(const char *value)
Definition Route.h:139
void SetDestinationCidrBlock(const Aws::String &value)
Definition Route.h:50
bool EgressOnlyInternetGatewayIdHasBeenSet() const
Definition Route.h:91
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool OriginHasBeenSet() const
Definition Route.h:222
Route & WithInstanceId(const Aws::String &value)
Definition Route.h:123
Route & WithLocalGatewayId(Aws::String &&value)
Definition Route.h:180
bool NatGatewayIdHasBeenSet() const
Definition Route.h:147
Route & WithOrigin(RouteOrigin &&value)
Definition Route.h:226
void SetEgressOnlyInternetGatewayId(const char *value)
Definition Route.h:94
Route & WithEgressOnlyInternetGatewayId(Aws::String &&value)
Definition Route.h:96
AWS_EC2_API Route & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTransitGatewayId(const char *value)
Definition Route.h:164
void SetLocalGatewayId(Aws::String &&value)
Definition Route.h:177
Route & WithLocalGatewayId(const Aws::String &value)
Definition Route.h:179
Route & WithCarrierGatewayId(Aws::String &&value)
Definition Route.h:194
void SetOrigin(RouteOrigin &&value)
Definition Route.h:224
Route & WithCoreNetworkArn(const Aws::String &value)
Definition Route.h:266
void SetCarrierGatewayId(const char *value)
Definition Route.h:192
bool DestinationPrefixListIdHasBeenSet() const
Definition Route.h:77
void SetVpcPeeringConnectionId(const Aws::String &value)
Definition Route.h:249
void SetEgressOnlyInternetGatewayId(Aws::String &&value)
Definition Route.h:93
Route & WithDestinationCidrBlock(const Aws::String &value)
Definition Route.h:53
bool DestinationIpv6CidrBlockHasBeenSet() const
Definition Route.h:63
Route & WithState(const RouteState &value)
Definition Route.h:239
Route & WithNatGatewayId(const Aws::String &value)
Definition Route.h:151
const Aws::String & GetDestinationIpv6CidrBlock() const
Definition Route.h:62
Route & WithGatewayId(Aws::String &&value)
Definition Route.h:110
void SetCarrierGatewayId(Aws::String &&value)
Definition Route.h:191
void SetDestinationPrefixListId(const Aws::String &value)
Definition Route.h:78
Route & WithDestinationIpv6CidrBlock(const Aws::String &value)
Definition Route.h:67
Route & WithState(RouteState &&value)
Definition Route.h:240
bool NetworkInterfaceIdHasBeenSet() const
Definition Route.h:203
Route & WithEgressOnlyInternetGatewayId(const char *value)
Definition Route.h:97
void SetCoreNetworkArn(Aws::String &&value)
Definition Route.h:264
void SetDestinationIpv6CidrBlock(Aws::String &&value)
Definition Route.h:65
Route & WithNetworkInterfaceId(const Aws::String &value)
Definition Route.h:207
const Aws::String & GetNatGatewayId() const
Definition Route.h:146
Route & WithDestinationIpv6CidrBlock(const char *value)
Definition Route.h:69
void SetGatewayId(const Aws::String &value)
Definition Route.h:106
void SetDestinationCidrBlock(Aws::String &&value)
Definition Route.h:51
void SetDestinationPrefixListId(const char *value)
Definition Route.h:80
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream