7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/RouteOrigin.h>
11#include <aws/ec2/model/RouteState.h>
44 template <
typename DestinationC
idrBlockT = Aws::String>
46 m_destinationCidrBlockHasBeenSet =
true;
47 m_destinationCidrBlock = std::forward<DestinationCidrBlockT>(value);
49 template <
typename DestinationC
idrBlockT = Aws::String>
62 template <
typename DestinationIpv6C
idrBlockT = Aws::String>
64 m_destinationIpv6CidrBlockHasBeenSet =
true;
65 m_destinationIpv6CidrBlock = std::forward<DestinationIpv6CidrBlockT>(value);
67 template <
typename DestinationIpv6C
idrBlockT = Aws::String>
80 template <
typename DestinationPrefixListIdT = Aws::String>
82 m_destinationPrefixListIdHasBeenSet =
true;
83 m_destinationPrefixListId = std::forward<DestinationPrefixListIdT>(value);
85 template <
typename DestinationPrefixListIdT = Aws::String>
98 template <
typename EgressOnlyInternetGatewayIdT = Aws::String>
100 m_egressOnlyInternetGatewayIdHasBeenSet =
true;
101 m_egressOnlyInternetGatewayId = std::forward<EgressOnlyInternetGatewayIdT>(value);
103 template <
typename EgressOnlyInternetGatewayIdT = Aws::String>
116 template <
typename GatewayIdT = Aws::String>
118 m_gatewayIdHasBeenSet =
true;
119 m_gatewayId = std::forward<GatewayIdT>(value);
121 template <
typename GatewayIdT = Aws::String>
134 template <
typename InstanceIdT = Aws::String>
136 m_instanceIdHasBeenSet =
true;
137 m_instanceId = std::forward<InstanceIdT>(value);
139 template <
typename InstanceIdT = Aws::String>
152 template <
typename InstanceOwnerIdT = Aws::String>
154 m_instanceOwnerIdHasBeenSet =
true;
155 m_instanceOwnerId = std::forward<InstanceOwnerIdT>(value);
157 template <
typename InstanceOwnerIdT = Aws::String>
170 template <
typename NatGatewayIdT = Aws::String>
172 m_natGatewayIdHasBeenSet =
true;
173 m_natGatewayId = std::forward<NatGatewayIdT>(value);
175 template <
typename NatGatewayIdT = Aws::String>
188 template <
typename TransitGatewayIdT = Aws::String>
190 m_transitGatewayIdHasBeenSet =
true;
191 m_transitGatewayId = std::forward<TransitGatewayIdT>(value);
193 template <
typename TransitGatewayIdT = Aws::String>
206 template <
typename LocalGatewayIdT = Aws::String>
208 m_localGatewayIdHasBeenSet =
true;
209 m_localGatewayId = std::forward<LocalGatewayIdT>(value);
211 template <
typename LocalGatewayIdT = Aws::String>
224 template <
typename CarrierGatewayIdT = Aws::String>
226 m_carrierGatewayIdHasBeenSet =
true;
227 m_carrierGatewayId = std::forward<CarrierGatewayIdT>(value);
229 template <
typename CarrierGatewayIdT = Aws::String>
242 template <
typename NetworkInterfaceIdT = Aws::String>
244 m_networkInterfaceIdHasBeenSet =
true;
245 m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value);
247 template <
typename NetworkInterfaceIdT = Aws::String>
267 m_originHasBeenSet =
true;
285 m_stateHasBeenSet =
true;
300 template <
typename VpcPeeringConnectionIdT = Aws::String>
302 m_vpcPeeringConnectionIdHasBeenSet =
true;
303 m_vpcPeeringConnectionId = std::forward<VpcPeeringConnectionIdT>(value);
305 template <
typename VpcPeeringConnectionIdT = Aws::String>
318 template <
typename CoreNetworkArnT = Aws::String>
320 m_coreNetworkArnHasBeenSet =
true;
321 m_coreNetworkArn = std::forward<CoreNetworkArnT>(value);
323 template <
typename CoreNetworkArnT = Aws::String>
336 template <
typename OdbNetworkArnT = Aws::String>
338 m_odbNetworkArnHasBeenSet =
true;
339 m_odbNetworkArn = std::forward<OdbNetworkArnT>(value);
341 template <
typename OdbNetworkArnT = Aws::String>
355 template <
typename IpAddressT = Aws::String>
357 m_ipAddressHasBeenSet =
true;
358 m_ipAddress = std::forward<IpAddressT>(value);
360 template <
typename IpAddressT = Aws::String>
402 bool m_destinationCidrBlockHasBeenSet =
false;
403 bool m_destinationIpv6CidrBlockHasBeenSet =
false;
404 bool m_destinationPrefixListIdHasBeenSet =
false;
405 bool m_egressOnlyInternetGatewayIdHasBeenSet =
false;
406 bool m_gatewayIdHasBeenSet =
false;
407 bool m_instanceIdHasBeenSet =
false;
408 bool m_instanceOwnerIdHasBeenSet =
false;
409 bool m_natGatewayIdHasBeenSet =
false;
410 bool m_transitGatewayIdHasBeenSet =
false;
411 bool m_localGatewayIdHasBeenSet =
false;
412 bool m_carrierGatewayIdHasBeenSet =
false;
413 bool m_networkInterfaceIdHasBeenSet =
false;
414 bool m_originHasBeenSet =
false;
415 bool m_stateHasBeenSet =
false;
416 bool m_vpcPeeringConnectionIdHasBeenSet =
false;
417 bool m_coreNetworkArnHasBeenSet =
false;
418 bool m_odbNetworkArnHasBeenSet =
false;
419 bool m_ipAddressHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Route & WithInstanceId(InstanceIdT &&value)
Route & WithTransitGatewayId(TransitGatewayIdT &&value)
void SetGatewayId(GatewayIdT &&value)
const Aws::String & GetTransitGatewayId() const
Route & WithOrigin(RouteOrigin value)
Route & WithGatewayId(GatewayIdT &&value)
Route & WithCoreNetworkArn(CoreNetworkArnT &&value)
bool TransitGatewayIdHasBeenSet() const
const Aws::String & GetVpcPeeringConnectionId() const
const Aws::String & GetDestinationPrefixListId() const
void SetLocalGatewayId(LocalGatewayIdT &&value)
void SetDestinationPrefixListId(DestinationPrefixListIdT &&value)
bool CarrierGatewayIdHasBeenSet() const
const Aws::String & GetLocalGatewayId() const
Route & WithIpAddress(IpAddressT &&value)
const Aws::String & GetEgressOnlyInternetGatewayId() const
const Aws::String & GetDestinationCidrBlock() const
void SetState(RouteState value)
const Aws::String & GetInstanceId() const
bool CoreNetworkArnHasBeenSet() const
const Aws::String & GetInstanceOwnerId() const
bool DestinationCidrBlockHasBeenSet() const
void SetCarrierGatewayId(CarrierGatewayIdT &&value)
Route & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
void SetOrigin(RouteOrigin value)
const Aws::String & GetCarrierGatewayId() const
const Aws::String & GetCoreNetworkArn() const
void SetDestinationCidrBlock(DestinationCidrBlockT &&value)
void SetNatGatewayId(NatGatewayIdT &&value)
bool LocalGatewayIdHasBeenSet() const
void SetOdbNetworkArn(OdbNetworkArnT &&value)
bool InstanceIdHasBeenSet() const
RouteOrigin GetOrigin() const
void SetTransitGatewayId(TransitGatewayIdT &&value)
bool StateHasBeenSet() const
const Aws::String & GetNetworkInterfaceId() const
const Aws::String & GetOdbNetworkArn() const
Route & WithDestinationIpv6CidrBlock(DestinationIpv6CidrBlockT &&value)
bool OdbNetworkArnHasBeenSet() const
Route & WithVpcPeeringConnectionId(VpcPeeringConnectionIdT &&value)
bool VpcPeeringConnectionIdHasBeenSet() const
AWS_EC2_API Route(const Aws::Utils::Xml::XmlNode &xmlNode)
bool GatewayIdHasBeenSet() const
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
void SetInstanceId(InstanceIdT &&value)
bool InstanceOwnerIdHasBeenSet() const
RouteState GetState() const
Route & WithDestinationCidrBlock(DestinationCidrBlockT &&value)
Route & WithCarrierGatewayId(CarrierGatewayIdT &&value)
const Aws::String & GetGatewayId() const
bool EgressOnlyInternetGatewayIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool OriginHasBeenSet() const
bool NatGatewayIdHasBeenSet() const
AWS_EC2_API Route & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Route & WithState(RouteState value)
void SetIpAddress(IpAddressT &&value)
void SetInstanceOwnerId(InstanceOwnerIdT &&value)
bool DestinationPrefixListIdHasBeenSet() const
bool DestinationIpv6CidrBlockHasBeenSet() const
const Aws::String & GetIpAddress() const
void SetVpcPeeringConnectionId(VpcPeeringConnectionIdT &&value)
const Aws::String & GetDestinationIpv6CidrBlock() const
bool IpAddressHasBeenSet() const
void SetDestinationIpv6CidrBlock(DestinationIpv6CidrBlockT &&value)
Route & WithLocalGatewayId(LocalGatewayIdT &&value)
Route & WithEgressOnlyInternetGatewayId(EgressOnlyInternetGatewayIdT &&value)
bool NetworkInterfaceIdHasBeenSet() const
AWS_EC2_API Route()=default
Route & WithNatGatewayId(NatGatewayIdT &&value)
Route & WithInstanceOwnerId(InstanceOwnerIdT &&value)
Route & WithOdbNetworkArn(OdbNetworkArnT &&value)
const Aws::String & GetNatGatewayId() const
void SetEgressOnlyInternetGatewayId(EgressOnlyInternetGatewayIdT &&value)
void SetCoreNetworkArn(CoreNetworkArnT &&value)
Route & WithDestinationPrefixListId(DestinationPrefixListIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream