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>
52 inline void SetDestinationCidrBlock(
const char* value) { m_destinationCidrBlockHasBeenSet =
true; m_destinationCidrBlock.assign(value); }
66 inline void SetDestinationIpv6CidrBlock(
const char* value) { m_destinationIpv6CidrBlockHasBeenSet =
true; m_destinationIpv6CidrBlock.assign(value); }
80 inline void SetDestinationPrefixListId(
const char* value) { m_destinationPrefixListIdHasBeenSet =
true; m_destinationPrefixListId.assign(value); }
94 inline void SetEgressOnlyInternetGatewayId(
const char* value) { m_egressOnlyInternetGatewayIdHasBeenSet =
true; m_egressOnlyInternetGatewayId.assign(value); }
108 inline void SetGatewayId(
const char* value) { m_gatewayIdHasBeenSet =
true; m_gatewayId.assign(value); }
122 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
136 inline void SetInstanceOwnerId(
const char* value) { m_instanceOwnerIdHasBeenSet =
true; m_instanceOwnerId.assign(value); }
150 inline void SetNatGatewayId(
const char* value) { m_natGatewayIdHasBeenSet =
true; m_natGatewayId.assign(value); }
164 inline void SetTransitGatewayId(
const char* value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId.assign(value); }
178 inline void SetLocalGatewayId(
const char* value) { m_localGatewayIdHasBeenSet =
true; m_localGatewayId.assign(value); }
192 inline void SetCarrierGatewayId(
const char* value) { m_carrierGatewayIdHasBeenSet =
true; m_carrierGatewayId.assign(value); }
206 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
251 inline void SetVpcPeeringConnectionId(
const char* value) { m_vpcPeeringConnectionIdHasBeenSet =
true; m_vpcPeeringConnectionId.assign(value); }
265 inline void SetCoreNetworkArn(
const char* value) { m_coreNetworkArnHasBeenSet =
true; m_coreNetworkArn.assign(value); }
273 bool m_destinationCidrBlockHasBeenSet =
false;
276 bool m_destinationIpv6CidrBlockHasBeenSet =
false;
279 bool m_destinationPrefixListIdHasBeenSet =
false;
282 bool m_egressOnlyInternetGatewayIdHasBeenSet =
false;
285 bool m_gatewayIdHasBeenSet =
false;
288 bool m_instanceIdHasBeenSet =
false;
291 bool m_instanceOwnerIdHasBeenSet =
false;
294 bool m_natGatewayIdHasBeenSet =
false;
297 bool m_transitGatewayIdHasBeenSet =
false;
300 bool m_localGatewayIdHasBeenSet =
false;
303 bool m_carrierGatewayIdHasBeenSet =
false;
306 bool m_networkInterfaceIdHasBeenSet =
false;
309 bool m_originHasBeenSet =
false;
312 bool m_stateHasBeenSet =
false;
315 bool m_vpcPeeringConnectionIdHasBeenSet =
false;
318 bool m_coreNetworkArnHasBeenSet =
false;
void SetNatGatewayId(Aws::String &&value)
Route & WithCarrierGatewayId(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Route & WithVpcPeeringConnectionId(Aws::String &&value)
void SetDestinationIpv6CidrBlock(const Aws::String &value)
void SetGatewayId(Aws::String &&value)
void SetGatewayId(const char *value)
Route & WithDestinationCidrBlock(Aws::String &&value)
Route & WithLocalGatewayId(const char *value)
void SetNetworkInterfaceId(Aws::String &&value)
void SetNatGatewayId(const Aws::String &value)
Route & WithInstanceOwnerId(Aws::String &&value)
Route & WithDestinationIpv6CidrBlock(Aws::String &&value)
void SetInstanceOwnerId(const Aws::String &value)
const Aws::String & GetTransitGatewayId() const
Route & WithOrigin(const RouteOrigin &value)
Route & WithGatewayId(const char *value)
void SetInstanceId(const Aws::String &value)
void SetInstanceId(Aws::String &&value)
const RouteState & GetState() const
Route & WithCoreNetworkArn(const char *value)
void SetInstanceOwnerId(Aws::String &&value)
bool TransitGatewayIdHasBeenSet() const
Route & WithCoreNetworkArn(Aws::String &&value)
const Aws::String & GetVpcPeeringConnectionId() const
const Aws::String & GetDestinationPrefixListId() const
void SetVpcPeeringConnectionId(Aws::String &&value)
Route & WithDestinationCidrBlock(const char *value)
Route & WithTransitGatewayId(const char *value)
Route & WithEgressOnlyInternetGatewayId(const Aws::String &value)
Route & WithDestinationPrefixListId(const Aws::String &value)
bool CarrierGatewayIdHasBeenSet() const
void SetTransitGatewayId(const Aws::String &value)
void SetNetworkInterfaceId(const char *value)
Route & WithNatGatewayId(const char *value)
void SetLocalGatewayId(const Aws::String &value)
void SetDestinationPrefixListId(Aws::String &&value)
const Aws::String & GetLocalGatewayId() const
Route & WithCarrierGatewayId(const char *value)
const Aws::String & GetEgressOnlyInternetGatewayId() const
const Aws::String & GetDestinationCidrBlock() const
void SetNetworkInterfaceId(const Aws::String &value)
void SetInstanceId(const char *value)
void SetState(RouteState &&value)
const Aws::String & GetInstanceId() const
void SetCoreNetworkArn(const char *value)
void SetNatGatewayId(const char *value)
bool CoreNetworkArnHasBeenSet() const
const Aws::String & GetInstanceOwnerId() const
bool DestinationCidrBlockHasBeenSet() const
void SetOrigin(const RouteOrigin &value)
const RouteOrigin & GetOrigin() const
const Aws::String & GetCarrierGatewayId() const
Route & WithTransitGatewayId(const Aws::String &value)
const Aws::String & GetCoreNetworkArn() const
Route & WithTransitGatewayId(Aws::String &&value)
bool LocalGatewayIdHasBeenSet() const
bool InstanceIdHasBeenSet() const
void SetVpcPeeringConnectionId(const char *value)
Route & WithDestinationPrefixListId(Aws::String &&value)
bool StateHasBeenSet() const
void SetLocalGatewayId(const char *value)
const Aws::String & GetNetworkInterfaceId() const
Route & WithVpcPeeringConnectionId(const char *value)
Route & WithInstanceId(Aws::String &&value)
void SetDestinationCidrBlock(const char *value)
void SetEgressOnlyInternetGatewayId(const Aws::String &value)
Route & WithDestinationPrefixListId(const char *value)
bool VpcPeeringConnectionIdHasBeenSet() const
AWS_EC2_API Route(const Aws::Utils::Xml::XmlNode &xmlNode)
Route & WithNetworkInterfaceId(const char *value)
Route & WithNatGatewayId(Aws::String &&value)
bool GatewayIdHasBeenSet() const
void SetTransitGatewayId(Aws::String &&value)
void SetState(const RouteState &value)
void SetInstanceOwnerId(const char *value)
Route & WithNetworkInterfaceId(Aws::String &&value)
bool InstanceOwnerIdHasBeenSet() const
void SetCoreNetworkArn(const Aws::String &value)
Route & WithInstanceId(const char *value)
Route & WithVpcPeeringConnectionId(const Aws::String &value)
Route & WithInstanceOwnerId(const Aws::String &value)
void SetDestinationIpv6CidrBlock(const char *value)
Route & WithGatewayId(const Aws::String &value)
void SetCarrierGatewayId(const Aws::String &value)
const Aws::String & GetGatewayId() const
Route & WithInstanceOwnerId(const char *value)
void SetDestinationCidrBlock(const Aws::String &value)
bool EgressOnlyInternetGatewayIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool OriginHasBeenSet() const
Route & WithInstanceId(const Aws::String &value)
Route & WithLocalGatewayId(Aws::String &&value)
bool NatGatewayIdHasBeenSet() const
Route & WithOrigin(RouteOrigin &&value)
void SetEgressOnlyInternetGatewayId(const char *value)
Route & WithEgressOnlyInternetGatewayId(Aws::String &&value)
AWS_EC2_API Route & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTransitGatewayId(const char *value)
void SetLocalGatewayId(Aws::String &&value)
Route & WithLocalGatewayId(const Aws::String &value)
Route & WithCarrierGatewayId(Aws::String &&value)
void SetOrigin(RouteOrigin &&value)
Route & WithCoreNetworkArn(const Aws::String &value)
void SetCarrierGatewayId(const char *value)
bool DestinationPrefixListIdHasBeenSet() const
void SetVpcPeeringConnectionId(const Aws::String &value)
void SetEgressOnlyInternetGatewayId(Aws::String &&value)
Route & WithDestinationCidrBlock(const Aws::String &value)
bool DestinationIpv6CidrBlockHasBeenSet() const
Route & WithState(const RouteState &value)
Route & WithNatGatewayId(const Aws::String &value)
const Aws::String & GetDestinationIpv6CidrBlock() const
Route & WithGatewayId(Aws::String &&value)
void SetCarrierGatewayId(Aws::String &&value)
void SetDestinationPrefixListId(const Aws::String &value)
Route & WithDestinationIpv6CidrBlock(const Aws::String &value)
Route & WithState(RouteState &&value)
bool NetworkInterfaceIdHasBeenSet() const
Route & WithEgressOnlyInternetGatewayId(const char *value)
void SetCoreNetworkArn(Aws::String &&value)
void SetDestinationIpv6CidrBlock(Aws::String &&value)
Route & WithNetworkInterfaceId(const Aws::String &value)
const Aws::String & GetNatGatewayId() const
Route & WithDestinationIpv6CidrBlock(const char *value)
void SetGatewayId(const Aws::String &value)
void SetDestinationCidrBlock(Aws::String &&value)
void SetDestinationPrefixListId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream