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); }
75 inline void SetLocalTarget(
bool value) { m_localTargetHasBeenSet =
true; m_localTarget = value; }
87 inline void SetTransitGatewayId(
const char* value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId.assign(value); }
101 inline void SetLocalGatewayId(
const char* value) { m_localGatewayIdHasBeenSet =
true; m_localGatewayId.assign(value); }
115 inline void SetCarrierGatewayId(
const char* value) { m_carrierGatewayIdHasBeenSet =
true; m_carrierGatewayId.assign(value); }
129 inline void SetCoreNetworkArn(
const char* value) { m_coreNetworkArnHasBeenSet =
true; m_coreNetworkArn.assign(value); }
144 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
156 inline void SetRouteTableId(
const char* value) { m_routeTableIdHasBeenSet =
true; m_routeTableId.assign(value); }
171 inline void SetDestinationCidrBlock(
const char* value) { m_destinationCidrBlockHasBeenSet =
true; m_destinationCidrBlock.assign(value); }
185 inline void SetGatewayId(
const char* value) { m_gatewayIdHasBeenSet =
true; m_gatewayId.assign(value); }
200 inline void SetDestinationIpv6CidrBlock(
const char* value) { m_destinationIpv6CidrBlockHasBeenSet =
true; m_destinationIpv6CidrBlock.assign(value); }
228 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
242 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
256 inline void SetVpcPeeringConnectionId(
const char* value) { m_vpcPeeringConnectionIdHasBeenSet =
true; m_vpcPeeringConnectionId.assign(value); }
270 inline void SetNatGatewayId(
const char* value) { m_natGatewayIdHasBeenSet =
true; m_natGatewayId.assign(value); }
278 bool m_destinationPrefixListIdHasBeenSet =
false;
281 bool m_vpcEndpointIdHasBeenSet =
false;
284 bool m_localTargetHasBeenSet =
false;
287 bool m_transitGatewayIdHasBeenSet =
false;
290 bool m_localGatewayIdHasBeenSet =
false;
293 bool m_carrierGatewayIdHasBeenSet =
false;
296 bool m_coreNetworkArnHasBeenSet =
false;
299 bool m_dryRunHasBeenSet =
false;
302 bool m_routeTableIdHasBeenSet =
false;
305 bool m_destinationCidrBlockHasBeenSet =
false;
308 bool m_gatewayIdHasBeenSet =
false;
311 bool m_destinationIpv6CidrBlockHasBeenSet =
false;
314 bool m_egressOnlyInternetGatewayIdHasBeenSet =
false;
317 bool m_instanceIdHasBeenSet =
false;
320 bool m_networkInterfaceIdHasBeenSet =
false;
323 bool m_vpcPeeringConnectionIdHasBeenSet =
false;
326 bool m_natGatewayIdHasBeenSet =
false;
bool VpcPeeringConnectionIdHasBeenSet() const
ReplaceRouteRequest & WithInstanceId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ReplaceRouteRequest & WithNatGatewayId(Aws::String &&value)
void SetVpcEndpointId(const Aws::String &value)
ReplaceRouteRequest & WithGatewayId(const char *value)
ReplaceRouteRequest & WithDestinationPrefixListId(Aws::String &&value)
void SetDestinationPrefixListId(Aws::String &&value)
ReplaceRouteRequest & WithCoreNetworkArn(const Aws::String &value)
const Aws::String & GetNetworkInterfaceId() const
bool DestinationPrefixListIdHasBeenSet() const
ReplaceRouteRequest & WithLocalGatewayId(Aws::String &&value)
ReplaceRouteRequest & WithGatewayId(const Aws::String &value)
ReplaceRouteRequest & WithCarrierGatewayId(Aws::String &&value)
bool LocalTargetHasBeenSet() const
ReplaceRouteRequest & WithLocalTarget(bool value)
void SetGatewayId(const Aws::String &value)
bool GetLocalTarget() const
bool DestinationCidrBlockHasBeenSet() const
const Aws::String & GetGatewayId() const
void SetGatewayId(const char *value)
bool RouteTableIdHasBeenSet() const
void SetDestinationCidrBlock(const Aws::String &value)
ReplaceRouteRequest & WithDestinationPrefixListId(const char *value)
const Aws::String & GetRouteTableId() const
void SetCoreNetworkArn(const Aws::String &value)
ReplaceRouteRequest & WithDryRun(bool value)
ReplaceRouteRequest & WithTransitGatewayId(const Aws::String &value)
bool CarrierGatewayIdHasBeenSet() const
bool NatGatewayIdHasBeenSet() const
void SetLocalGatewayId(const Aws::String &value)
ReplaceRouteRequest & WithDestinationIpv6CidrBlock(const char *value)
ReplaceRouteRequest & WithVpcEndpointId(Aws::String &&value)
void SetCarrierGatewayId(const Aws::String &value)
ReplaceRouteRequest & WithNatGatewayId(const Aws::String &value)
ReplaceRouteRequest & WithCoreNetworkArn(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
ReplaceRouteRequest & WithCarrierGatewayId(const char *value)
ReplaceRouteRequest & WithVpcEndpointId(const Aws::String &value)
void SetVpcPeeringConnectionId(const Aws::String &value)
void SetCoreNetworkArn(const char *value)
ReplaceRouteRequest & WithDestinationCidrBlock(Aws::String &&value)
void SetTransitGatewayId(const Aws::String &value)
ReplaceRouteRequest & WithCoreNetworkArn(const char *value)
void SetCoreNetworkArn(Aws::String &&value)
void SetCarrierGatewayId(const char *value)
const Aws::String & GetInstanceId() const
void SetDestinationPrefixListId(const Aws::String &value)
void SetDestinationCidrBlock(Aws::String &&value)
void SetVpcEndpointId(const char *value)
ReplaceRouteRequest & WithNatGatewayId(const char *value)
const Aws::String & GetEgressOnlyInternetGatewayId() const
ReplaceRouteRequest & WithNetworkInterfaceId(const Aws::String &value)
const Aws::String & GetDestinationCidrBlock() const
void SetEgressOnlyInternetGatewayId(const Aws::String &value)
ReplaceRouteRequest & WithEgressOnlyInternetGatewayId(const Aws::String &value)
bool DryRunHasBeenSet() const
ReplaceRouteRequest & WithEgressOnlyInternetGatewayId(Aws::String &&value)
ReplaceRouteRequest & WithLocalGatewayId(const Aws::String &value)
void SetCarrierGatewayId(Aws::String &&value)
ReplaceRouteRequest & WithVpcEndpointId(const char *value)
ReplaceRouteRequest & WithNetworkInterfaceId(Aws::String &&value)
void SetNetworkInterfaceId(const char *value)
const Aws::String & GetLocalGatewayId() const
const Aws::String & GetDestinationIpv6CidrBlock() const
const Aws::String & GetDestinationPrefixListId() const
void SetLocalGatewayId(const char *value)
void SetRouteTableId(const char *value)
void SetRouteTableId(Aws::String &&value)
ReplaceRouteRequest & WithTransitGatewayId(const char *value)
ReplaceRouteRequest & WithVpcPeeringConnectionId(const char *value)
bool VpcEndpointIdHasBeenSet() const
ReplaceRouteRequest & WithDestinationCidrBlock(const char *value)
void SetNetworkInterfaceId(Aws::String &&value)
bool NetworkInterfaceIdHasBeenSet() const
const Aws::String & GetVpcEndpointId() const
ReplaceRouteRequest & WithVpcPeeringConnectionId(const Aws::String &value)
void SetLocalGatewayId(Aws::String &&value)
void SetDryRun(bool value)
ReplaceRouteRequest & WithTransitGatewayId(Aws::String &&value)
void SetDestinationIpv6CidrBlock(const Aws::String &value)
void SetDestinationPrefixListId(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetVpcPeeringConnectionId(const char *value)
ReplaceRouteRequest & WithInstanceId(Aws::String &&value)
bool CoreNetworkArnHasBeenSet() const
const Aws::String & GetTransitGatewayId() const
void SetRouteTableId(const Aws::String &value)
ReplaceRouteRequest & WithRouteTableId(const char *value)
AWS_EC2_API ReplaceRouteRequest()
void SetLocalTarget(bool value)
void SetVpcPeeringConnectionId(Aws::String &&value)
void SetGatewayId(Aws::String &&value)
const Aws::String & GetCarrierGatewayId() const
bool GatewayIdHasBeenSet() const
ReplaceRouteRequest & WithDestinationIpv6CidrBlock(const Aws::String &value)
void SetTransitGatewayId(Aws::String &&value)
void SetNatGatewayId(const Aws::String &value)
ReplaceRouteRequest & WithDestinationCidrBlock(const Aws::String &value)
void SetNetworkInterfaceId(const Aws::String &value)
bool LocalGatewayIdHasBeenSet() const
bool InstanceIdHasBeenSet() const
bool TransitGatewayIdHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool EgressOnlyInternetGatewayIdHasBeenSet() const
const Aws::String & GetNatGatewayId() const
const Aws::String & GetCoreNetworkArn() const
void SetDestinationCidrBlock(const char *value)
ReplaceRouteRequest & WithDestinationIpv6CidrBlock(Aws::String &&value)
void SetDestinationIpv6CidrBlock(const char *value)
void SetDestinationIpv6CidrBlock(Aws::String &&value)
void SetTransitGatewayId(const char *value)
ReplaceRouteRequest & WithGatewayId(Aws::String &&value)
ReplaceRouteRequest & WithVpcPeeringConnectionId(Aws::String &&value)
ReplaceRouteRequest & WithRouteTableId(const Aws::String &value)
ReplaceRouteRequest & WithCarrierGatewayId(const Aws::String &value)
void SetInstanceId(Aws::String &&value)
ReplaceRouteRequest & WithNetworkInterfaceId(const char *value)
bool DestinationIpv6CidrBlockHasBeenSet() const
ReplaceRouteRequest & WithInstanceId(const char *value)
void SetEgressOnlyInternetGatewayId(const char *value)
void SetVpcEndpointId(Aws::String &&value)
ReplaceRouteRequest & WithEgressOnlyInternetGatewayId(const char *value)
const Aws::String & GetVpcPeeringConnectionId() const
ReplaceRouteRequest & WithRouteTableId(Aws::String &&value)
ReplaceRouteRequest & WithDestinationPrefixListId(const Aws::String &value)
void SetInstanceId(const char *value)
void SetEgressOnlyInternetGatewayId(Aws::String &&value)
void SetNatGatewayId(const char *value)
ReplaceRouteRequest & WithLocalGatewayId(const char *value)
void SetNatGatewayId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String