AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalysisRouteTableRoute.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
32 {
33 public:
37
38 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline const Aws::String& GetDestinationCidr() const{ return m_destinationCidr; }
47 inline bool DestinationCidrHasBeenSet() const { return m_destinationCidrHasBeenSet; }
48 inline void SetDestinationCidr(const Aws::String& value) { m_destinationCidrHasBeenSet = true; m_destinationCidr = value; }
49 inline void SetDestinationCidr(Aws::String&& value) { m_destinationCidrHasBeenSet = true; m_destinationCidr = std::move(value); }
50 inline void SetDestinationCidr(const char* value) { m_destinationCidrHasBeenSet = true; m_destinationCidr.assign(value); }
51 inline AnalysisRouteTableRoute& WithDestinationCidr(const Aws::String& value) { SetDestinationCidr(value); return *this;}
52 inline AnalysisRouteTableRoute& WithDestinationCidr(Aws::String&& value) { SetDestinationCidr(std::move(value)); return *this;}
53 inline AnalysisRouteTableRoute& WithDestinationCidr(const char* value) { SetDestinationCidr(value); return *this;}
55
57
60 inline const Aws::String& GetDestinationPrefixListId() const{ return m_destinationPrefixListId; }
61 inline bool DestinationPrefixListIdHasBeenSet() const { return m_destinationPrefixListIdHasBeenSet; }
62 inline void SetDestinationPrefixListId(const Aws::String& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = value; }
63 inline void SetDestinationPrefixListId(Aws::String&& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = std::move(value); }
64 inline void SetDestinationPrefixListId(const char* value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId.assign(value); }
67 inline AnalysisRouteTableRoute& WithDestinationPrefixListId(const char* value) { SetDestinationPrefixListId(value); return *this;}
69
71
74 inline const Aws::String& GetEgressOnlyInternetGatewayId() const{ return m_egressOnlyInternetGatewayId; }
75 inline bool EgressOnlyInternetGatewayIdHasBeenSet() const { return m_egressOnlyInternetGatewayIdHasBeenSet; }
76 inline void SetEgressOnlyInternetGatewayId(const Aws::String& value) { m_egressOnlyInternetGatewayIdHasBeenSet = true; m_egressOnlyInternetGatewayId = value; }
77 inline void SetEgressOnlyInternetGatewayId(Aws::String&& value) { m_egressOnlyInternetGatewayIdHasBeenSet = true; m_egressOnlyInternetGatewayId = std::move(value); }
78 inline void SetEgressOnlyInternetGatewayId(const char* value) { m_egressOnlyInternetGatewayIdHasBeenSet = true; m_egressOnlyInternetGatewayId.assign(value); }
83
85
89 inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
90 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
91 inline void SetGatewayId(const Aws::String& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; }
92 inline void SetGatewayId(Aws::String&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); }
93 inline void SetGatewayId(const char* value) { m_gatewayIdHasBeenSet = true; m_gatewayId.assign(value); }
94 inline AnalysisRouteTableRoute& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
95 inline AnalysisRouteTableRoute& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
96 inline AnalysisRouteTableRoute& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
98
100
103 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
104 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
105 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
106 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
107 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
108 inline AnalysisRouteTableRoute& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
109 inline AnalysisRouteTableRoute& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
110 inline AnalysisRouteTableRoute& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
112
114
117 inline const Aws::String& GetNatGatewayId() const{ return m_natGatewayId; }
118 inline bool NatGatewayIdHasBeenSet() const { return m_natGatewayIdHasBeenSet; }
119 inline void SetNatGatewayId(const Aws::String& value) { m_natGatewayIdHasBeenSet = true; m_natGatewayId = value; }
120 inline void SetNatGatewayId(Aws::String&& value) { m_natGatewayIdHasBeenSet = true; m_natGatewayId = std::move(value); }
121 inline void SetNatGatewayId(const char* value) { m_natGatewayIdHasBeenSet = true; m_natGatewayId.assign(value); }
122 inline AnalysisRouteTableRoute& WithNatGatewayId(const Aws::String& value) { SetNatGatewayId(value); return *this;}
123 inline AnalysisRouteTableRoute& WithNatGatewayId(Aws::String&& value) { SetNatGatewayId(std::move(value)); return *this;}
124 inline AnalysisRouteTableRoute& WithNatGatewayId(const char* value) { SetNatGatewayId(value); return *this;}
126
128
131 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
132 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
133 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
134 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
135 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
137 inline AnalysisRouteTableRoute& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
138 inline AnalysisRouteTableRoute& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
140
142
149 inline const Aws::String& GetOrigin() const{ return m_origin; }
150 inline bool OriginHasBeenSet() const { return m_originHasBeenSet; }
151 inline void SetOrigin(const Aws::String& value) { m_originHasBeenSet = true; m_origin = value; }
152 inline void SetOrigin(Aws::String&& value) { m_originHasBeenSet = true; m_origin = std::move(value); }
153 inline void SetOrigin(const char* value) { m_originHasBeenSet = true; m_origin.assign(value); }
154 inline AnalysisRouteTableRoute& WithOrigin(const Aws::String& value) { SetOrigin(value); return *this;}
155 inline AnalysisRouteTableRoute& WithOrigin(Aws::String&& value) { SetOrigin(std::move(value)); return *this;}
156 inline AnalysisRouteTableRoute& WithOrigin(const char* value) { SetOrigin(value); return *this;}
158
160
163 inline const Aws::String& GetTransitGatewayId() const{ return m_transitGatewayId; }
164 inline bool TransitGatewayIdHasBeenSet() const { return m_transitGatewayIdHasBeenSet; }
165 inline void SetTransitGatewayId(const Aws::String& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = value; }
166 inline void SetTransitGatewayId(Aws::String&& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = std::move(value); }
167 inline void SetTransitGatewayId(const char* value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId.assign(value); }
169 inline AnalysisRouteTableRoute& WithTransitGatewayId(Aws::String&& value) { SetTransitGatewayId(std::move(value)); return *this;}
170 inline AnalysisRouteTableRoute& WithTransitGatewayId(const char* value) { SetTransitGatewayId(value); return *this;}
172
174
177 inline const Aws::String& GetVpcPeeringConnectionId() const{ return m_vpcPeeringConnectionId; }
178 inline bool VpcPeeringConnectionIdHasBeenSet() const { return m_vpcPeeringConnectionIdHasBeenSet; }
179 inline void SetVpcPeeringConnectionId(const Aws::String& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = value; }
180 inline void SetVpcPeeringConnectionId(Aws::String&& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = std::move(value); }
181 inline void SetVpcPeeringConnectionId(const char* value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId.assign(value); }
184 inline AnalysisRouteTableRoute& WithVpcPeeringConnectionId(const char* value) { SetVpcPeeringConnectionId(value); return *this;}
186
188
192 inline const Aws::String& GetState() const{ return m_state; }
193 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
194 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
195 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
196 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
197 inline AnalysisRouteTableRoute& WithState(const Aws::String& value) { SetState(value); return *this;}
198 inline AnalysisRouteTableRoute& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
199 inline AnalysisRouteTableRoute& WithState(const char* value) { SetState(value); return *this;}
201
203
206 inline const Aws::String& GetCarrierGatewayId() const{ return m_carrierGatewayId; }
207 inline bool CarrierGatewayIdHasBeenSet() const { return m_carrierGatewayIdHasBeenSet; }
208 inline void SetCarrierGatewayId(const Aws::String& value) { m_carrierGatewayIdHasBeenSet = true; m_carrierGatewayId = value; }
209 inline void SetCarrierGatewayId(Aws::String&& value) { m_carrierGatewayIdHasBeenSet = true; m_carrierGatewayId = std::move(value); }
210 inline void SetCarrierGatewayId(const char* value) { m_carrierGatewayIdHasBeenSet = true; m_carrierGatewayId.assign(value); }
212 inline AnalysisRouteTableRoute& WithCarrierGatewayId(Aws::String&& value) { SetCarrierGatewayId(std::move(value)); return *this;}
213 inline AnalysisRouteTableRoute& WithCarrierGatewayId(const char* value) { SetCarrierGatewayId(value); return *this;}
215
217
220 inline const Aws::String& GetCoreNetworkArn() const{ return m_coreNetworkArn; }
221 inline bool CoreNetworkArnHasBeenSet() const { return m_coreNetworkArnHasBeenSet; }
222 inline void SetCoreNetworkArn(const Aws::String& value) { m_coreNetworkArnHasBeenSet = true; m_coreNetworkArn = value; }
223 inline void SetCoreNetworkArn(Aws::String&& value) { m_coreNetworkArnHasBeenSet = true; m_coreNetworkArn = std::move(value); }
224 inline void SetCoreNetworkArn(const char* value) { m_coreNetworkArnHasBeenSet = true; m_coreNetworkArn.assign(value); }
225 inline AnalysisRouteTableRoute& WithCoreNetworkArn(const Aws::String& value) { SetCoreNetworkArn(value); return *this;}
226 inline AnalysisRouteTableRoute& WithCoreNetworkArn(Aws::String&& value) { SetCoreNetworkArn(std::move(value)); return *this;}
227 inline AnalysisRouteTableRoute& WithCoreNetworkArn(const char* value) { SetCoreNetworkArn(value); return *this;}
229
231
234 inline const Aws::String& GetLocalGatewayId() const{ return m_localGatewayId; }
235 inline bool LocalGatewayIdHasBeenSet() const { return m_localGatewayIdHasBeenSet; }
236 inline void SetLocalGatewayId(const Aws::String& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = value; }
237 inline void SetLocalGatewayId(Aws::String&& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = std::move(value); }
238 inline void SetLocalGatewayId(const char* value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId.assign(value); }
239 inline AnalysisRouteTableRoute& WithLocalGatewayId(const Aws::String& value) { SetLocalGatewayId(value); return *this;}
240 inline AnalysisRouteTableRoute& WithLocalGatewayId(Aws::String&& value) { SetLocalGatewayId(std::move(value)); return *this;}
241 inline AnalysisRouteTableRoute& WithLocalGatewayId(const char* value) { SetLocalGatewayId(value); return *this;}
243 private:
244
245 Aws::String m_destinationCidr;
246 bool m_destinationCidrHasBeenSet = false;
247
248 Aws::String m_destinationPrefixListId;
249 bool m_destinationPrefixListIdHasBeenSet = false;
250
251 Aws::String m_egressOnlyInternetGatewayId;
252 bool m_egressOnlyInternetGatewayIdHasBeenSet = false;
253
254 Aws::String m_gatewayId;
255 bool m_gatewayIdHasBeenSet = false;
256
257 Aws::String m_instanceId;
258 bool m_instanceIdHasBeenSet = false;
259
260 Aws::String m_natGatewayId;
261 bool m_natGatewayIdHasBeenSet = false;
262
263 Aws::String m_networkInterfaceId;
264 bool m_networkInterfaceIdHasBeenSet = false;
265
266 Aws::String m_origin;
267 bool m_originHasBeenSet = false;
268
269 Aws::String m_transitGatewayId;
270 bool m_transitGatewayIdHasBeenSet = false;
271
272 Aws::String m_vpcPeeringConnectionId;
273 bool m_vpcPeeringConnectionIdHasBeenSet = false;
274
275 Aws::String m_state;
276 bool m_stateHasBeenSet = false;
277
278 Aws::String m_carrierGatewayId;
279 bool m_carrierGatewayIdHasBeenSet = false;
280
281 Aws::String m_coreNetworkArn;
282 bool m_coreNetworkArnHasBeenSet = false;
283
284 Aws::String m_localGatewayId;
285 bool m_localGatewayIdHasBeenSet = false;
286 };
287
288} // namespace Model
289} // namespace EC2
290} // namespace Aws
void SetEgressOnlyInternetGatewayId(Aws::String &&value)
AnalysisRouteTableRoute & WithGatewayId(const Aws::String &value)
AWS_EC2_API AnalysisRouteTableRoute(const Aws::Utils::Xml::XmlNode &xmlNode)
AnalysisRouteTableRoute & WithCarrierGatewayId(const Aws::String &value)
AnalysisRouteTableRoute & WithEgressOnlyInternetGatewayId(const char *value)
void SetVpcPeeringConnectionId(const Aws::String &value)
AWS_EC2_API AnalysisRouteTableRoute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AnalysisRouteTableRoute & WithOrigin(const char *value)
AnalysisRouteTableRoute & WithVpcPeeringConnectionId(const char *value)
void SetCarrierGatewayId(const Aws::String &value)
void SetDestinationPrefixListId(const Aws::String &value)
AnalysisRouteTableRoute & WithInstanceId(const char *value)
AnalysisRouteTableRoute & WithOrigin(const Aws::String &value)
AnalysisRouteTableRoute & WithState(Aws::String &&value)
AnalysisRouteTableRoute & WithState(const Aws::String &value)
AnalysisRouteTableRoute & WithNatGatewayId(Aws::String &&value)
AnalysisRouteTableRoute & WithDestinationPrefixListId(const Aws::String &value)
void SetLocalGatewayId(const Aws::String &value)
AnalysisRouteTableRoute & WithEgressOnlyInternetGatewayId(Aws::String &&value)
AnalysisRouteTableRoute & WithCarrierGatewayId(Aws::String &&value)
AnalysisRouteTableRoute & WithInstanceId(const Aws::String &value)
AnalysisRouteTableRoute & WithOrigin(Aws::String &&value)
AnalysisRouteTableRoute & WithCoreNetworkArn(Aws::String &&value)
AnalysisRouteTableRoute & WithDestinationPrefixListId(Aws::String &&value)
AnalysisRouteTableRoute & WithVpcPeeringConnectionId(const Aws::String &value)
AnalysisRouteTableRoute & WithInstanceId(Aws::String &&value)
AnalysisRouteTableRoute & WithGatewayId(Aws::String &&value)
AnalysisRouteTableRoute & WithCarrierGatewayId(const char *value)
void SetCoreNetworkArn(const Aws::String &value)
void SetNetworkInterfaceId(const Aws::String &value)
AnalysisRouteTableRoute & WithDestinationCidr(Aws::String &&value)
const Aws::String & GetDestinationPrefixListId() const
AnalysisRouteTableRoute & WithTransitGatewayId(const Aws::String &value)
AnalysisRouteTableRoute & WithNatGatewayId(const Aws::String &value)
AnalysisRouteTableRoute & WithLocalGatewayId(Aws::String &&value)
AnalysisRouteTableRoute & WithNatGatewayId(const char *value)
const Aws::String & GetVpcPeeringConnectionId() const
AnalysisRouteTableRoute & WithGatewayId(const char *value)
AnalysisRouteTableRoute & WithState(const char *value)
AnalysisRouteTableRoute & WithCoreNetworkArn(const char *value)
void SetEgressOnlyInternetGatewayId(const Aws::String &value)
AnalysisRouteTableRoute & WithDestinationCidr(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AnalysisRouteTableRoute & WithNetworkInterfaceId(const char *value)
AnalysisRouteTableRoute & WithTransitGatewayId(Aws::String &&value)
AnalysisRouteTableRoute & WithLocalGatewayId(const Aws::String &value)
AnalysisRouteTableRoute & WithNetworkInterfaceId(Aws::String &&value)
void SetDestinationCidr(const Aws::String &value)
AnalysisRouteTableRoute & WithNetworkInterfaceId(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AnalysisRouteTableRoute & WithDestinationCidr(const Aws::String &value)
AnalysisRouteTableRoute & WithLocalGatewayId(const char *value)
AnalysisRouteTableRoute & WithTransitGatewayId(const char *value)
void SetTransitGatewayId(const Aws::String &value)
AnalysisRouteTableRoute & WithEgressOnlyInternetGatewayId(const Aws::String &value)
AnalysisRouteTableRoute & WithVpcPeeringConnectionId(Aws::String &&value)
AnalysisRouteTableRoute & WithDestinationPrefixListId(const char *value)
const Aws::String & GetEgressOnlyInternetGatewayId() const
AnalysisRouteTableRoute & WithCoreNetworkArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream