7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetDestinationPrefixListId(
const char* value) { m_destinationPrefixListIdHasBeenSet =
true; m_destinationPrefixListId.assign(value); }
62 inline void SetVpcEndpointId(
const char* value) { m_vpcEndpointIdHasBeenSet =
true; m_vpcEndpointId.assign(value); }
76 inline void SetTransitGatewayId(
const char* value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId.assign(value); }
90 inline void SetLocalGatewayId(
const char* value) { m_localGatewayIdHasBeenSet =
true; m_localGatewayId.assign(value); }
105 inline void SetCarrierGatewayId(
const char* value) { m_carrierGatewayIdHasBeenSet =
true; m_carrierGatewayId.assign(value); }
119 inline void SetCoreNetworkArn(
const char* value) { m_coreNetworkArnHasBeenSet =
true; m_coreNetworkArn.assign(value); }
134 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
146 inline void SetRouteTableId(
const char* value) { m_routeTableIdHasBeenSet =
true; m_routeTableId.assign(value); }
163 inline void SetDestinationCidrBlock(
const char* value) { m_destinationCidrBlockHasBeenSet =
true; m_destinationCidrBlock.assign(value); }
178 inline void SetGatewayId(
const char* value) { m_gatewayIdHasBeenSet =
true; m_gatewayId.assign(value); }
193 inline void SetDestinationIpv6CidrBlock(
const char* value) { m_destinationIpv6CidrBlockHasBeenSet =
true; m_destinationIpv6CidrBlock.assign(value); }
222 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
236 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
250 inline void SetVpcPeeringConnectionId(
const char* value) { m_vpcPeeringConnectionIdHasBeenSet =
true; m_vpcPeeringConnectionId.assign(value); }
264 inline void SetNatGatewayId(
const char* value) { m_natGatewayIdHasBeenSet =
true; m_natGatewayId.assign(value); }
272 bool m_destinationPrefixListIdHasBeenSet =
false;
275 bool m_vpcEndpointIdHasBeenSet =
false;
278 bool m_transitGatewayIdHasBeenSet =
false;
281 bool m_localGatewayIdHasBeenSet =
false;
284 bool m_carrierGatewayIdHasBeenSet =
false;
287 bool m_coreNetworkArnHasBeenSet =
false;
290 bool m_dryRunHasBeenSet =
false;
293 bool m_routeTableIdHasBeenSet =
false;
296 bool m_destinationCidrBlockHasBeenSet =
false;
299 bool m_gatewayIdHasBeenSet =
false;
302 bool m_destinationIpv6CidrBlockHasBeenSet =
false;
305 bool m_egressOnlyInternetGatewayIdHasBeenSet =
false;
308 bool m_instanceIdHasBeenSet =
false;
311 bool m_networkInterfaceIdHasBeenSet =
false;
314 bool m_vpcPeeringConnectionIdHasBeenSet =
false;
317 bool m_natGatewayIdHasBeenSet =
false;
CreateRouteRequest & WithDestinationCidrBlock(const char *value)
const Aws::String & GetCarrierGatewayId() const
void SetInstanceId(const char *value)
void SetRouteTableId(const Aws::String &value)
const Aws::String & GetCoreNetworkArn() const
bool DestinationIpv6CidrBlockHasBeenSet() const
void SetVpcPeeringConnectionId(Aws::String &&value)
void SetCarrierGatewayId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateRouteRequest & WithInstanceId(const Aws::String &value)
CreateRouteRequest & WithVpcPeeringConnectionId(const Aws::String &value)
void SetRouteTableId(Aws::String &&value)
CreateRouteRequest & WithCarrierGatewayId(const Aws::String &value)
void SetInstanceId(const Aws::String &value)
CreateRouteRequest & WithTransitGatewayId(const char *value)
void SetVpcEndpointId(const char *value)
CreateRouteRequest & WithVpcEndpointId(const Aws::String &value)
void SetDestinationIpv6CidrBlock(Aws::String &&value)
CreateRouteRequest & WithGatewayId(const char *value)
CreateRouteRequest & WithDestinationPrefixListId(const Aws::String &value)
void SetDestinationPrefixListId(Aws::String &&value)
void SetGatewayId(const char *value)
AWS_EC2_API CreateRouteRequest()
void SetVpcPeeringConnectionId(const char *value)
bool DryRunHasBeenSet() const
void SetLocalGatewayId(const char *value)
const Aws::String & GetDestinationPrefixListId() const
CreateRouteRequest & WithRouteTableId(Aws::String &&value)
const Aws::String & GetNatGatewayId() const
CreateRouteRequest & WithNatGatewayId(Aws::String &&value)
const Aws::String & GetNetworkInterfaceId() const
void SetLocalGatewayId(Aws::String &&value)
void SetCarrierGatewayId(Aws::String &&value)
void SetNatGatewayId(const char *value)
void SetNetworkInterfaceId(Aws::String &&value)
bool VpcEndpointIdHasBeenSet() const
void SetNetworkInterfaceId(const Aws::String &value)
CreateRouteRequest & WithGatewayId(Aws::String &&value)
CreateRouteRequest & WithTransitGatewayId(Aws::String &&value)
void SetTransitGatewayId(const Aws::String &value)
const Aws::String & GetLocalGatewayId() const
CreateRouteRequest & WithEgressOnlyInternetGatewayId(const char *value)
void SetVpcPeeringConnectionId(const Aws::String &value)
CreateRouteRequest & WithVpcPeeringConnectionId(const char *value)
CreateRouteRequest & WithNetworkInterfaceId(Aws::String &&value)
CreateRouteRequest & WithNetworkInterfaceId(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetVpcEndpointId(const Aws::String &value)
CreateRouteRequest & WithCarrierGatewayId(const char *value)
bool VpcPeeringConnectionIdHasBeenSet() const
const Aws::String & GetEgressOnlyInternetGatewayId() const
CreateRouteRequest & WithLocalGatewayId(const Aws::String &value)
CreateRouteRequest & WithDryRun(bool value)
void SetEgressOnlyInternetGatewayId(const Aws::String &value)
CreateRouteRequest & WithDestinationPrefixListId(const char *value)
bool CarrierGatewayIdHasBeenSet() const
CreateRouteRequest & WithDestinationIpv6CidrBlock(const Aws::String &value)
const Aws::String & GetVpcEndpointId() const
void SetGatewayId(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
const Aws::String & GetTransitGatewayId() const
void SetDestinationIpv6CidrBlock(const char *value)
bool CoreNetworkArnHasBeenSet() const
CreateRouteRequest & WithDestinationCidrBlock(const Aws::String &value)
void SetCoreNetworkArn(Aws::String &&value)
const Aws::String & GetDestinationIpv6CidrBlock() const
CreateRouteRequest & WithGatewayId(const Aws::String &value)
const Aws::String & GetDestinationCidrBlock() const
void SetNatGatewayId(const Aws::String &value)
void SetDestinationCidrBlock(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateRouteRequest & WithVpcEndpointId(const char *value)
void SetDestinationPrefixListId(const char *value)
CreateRouteRequest & WithRouteTableId(const Aws::String &value)
CreateRouteRequest & WithCoreNetworkArn(const char *value)
const Aws::String & GetVpcPeeringConnectionId() const
void SetLocalGatewayId(const Aws::String &value)
void SetRouteTableId(const char *value)
CreateRouteRequest & WithCarrierGatewayId(Aws::String &&value)
CreateRouteRequest & WithInstanceId(Aws::String &&value)
bool NetworkInterfaceIdHasBeenSet() const
CreateRouteRequest & WithVpcPeeringConnectionId(Aws::String &&value)
CreateRouteRequest & WithDestinationIpv6CidrBlock(const char *value)
void SetGatewayId(const Aws::String &value)
CreateRouteRequest & WithInstanceId(const char *value)
bool InstanceIdHasBeenSet() const
bool EgressOnlyInternetGatewayIdHasBeenSet() const
void SetNetworkInterfaceId(const char *value)
void SetDestinationCidrBlock(Aws::String &&value)
bool NatGatewayIdHasBeenSet() const
const Aws::String & GetGatewayId() const
void SetVpcEndpointId(Aws::String &&value)
bool DestinationCidrBlockHasBeenSet() const
bool TransitGatewayIdHasBeenSet() const
CreateRouteRequest & WithLocalGatewayId(Aws::String &&value)
CreateRouteRequest & WithEgressOnlyInternetGatewayId(const Aws::String &value)
CreateRouteRequest & WithCoreNetworkArn(const Aws::String &value)
CreateRouteRequest & WithDestinationPrefixListId(Aws::String &&value)
const Aws::String & GetInstanceId() const
void SetEgressOnlyInternetGatewayId(Aws::String &&value)
void SetCoreNetworkArn(const Aws::String &value)
CreateRouteRequest & WithNatGatewayId(const char *value)
void SetCarrierGatewayId(const char *value)
CreateRouteRequest & WithNatGatewayId(const Aws::String &value)
CreateRouteRequest & WithDestinationCidrBlock(Aws::String &&value)
CreateRouteRequest & WithLocalGatewayId(const char *value)
void SetDestinationPrefixListId(const Aws::String &value)
bool DestinationPrefixListIdHasBeenSet() const
void SetTransitGatewayId(const char *value)
CreateRouteRequest & WithEgressOnlyInternetGatewayId(Aws::String &&value)
void SetEgressOnlyInternetGatewayId(const char *value)
void SetNatGatewayId(Aws::String &&value)
void SetTransitGatewayId(Aws::String &&value)
bool GatewayIdHasBeenSet() const
bool LocalGatewayIdHasBeenSet() const
CreateRouteRequest & WithDestinationIpv6CidrBlock(Aws::String &&value)
CreateRouteRequest & WithCoreNetworkArn(Aws::String &&value)
void SetDestinationIpv6CidrBlock(const Aws::String &value)
CreateRouteRequest & WithRouteTableId(const char *value)
CreateRouteRequest & WithTransitGatewayId(const Aws::String &value)
bool RouteTableIdHasBeenSet() const
void SetDestinationCidrBlock(const char *value)
CreateRouteRequest & WithVpcEndpointId(Aws::String &&value)
const Aws::String & GetRouteTableId() const
void SetDryRun(bool value)
void SetCoreNetworkArn(const char *value)
CreateRouteRequest & WithNetworkInterfaceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String