7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/EC2_EXPORTS.h>
41 template <
typename DestinationPrefixListIdT = Aws::String>
43 m_destinationPrefixListIdHasBeenSet =
true;
44 m_destinationPrefixListId = std::forward<DestinationPrefixListIdT>(value);
46 template <
typename DestinationPrefixListIdT = Aws::String>
60 template <
typename VpcEndpo
intIdT = Aws::String>
62 m_vpcEndpointIdHasBeenSet =
true;
63 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
65 template <
typename VpcEndpo
intIdT = Aws::String>
80 m_localTargetHasBeenSet =
true;
81 m_localTarget = value;
95 template <
typename TransitGatewayIdT = Aws::String>
97 m_transitGatewayIdHasBeenSet =
true;
98 m_transitGatewayId = std::forward<TransitGatewayIdT>(value);
100 template <
typename TransitGatewayIdT = Aws::String>
113 template <
typename LocalGatewayIdT = Aws::String>
115 m_localGatewayIdHasBeenSet =
true;
116 m_localGatewayId = std::forward<LocalGatewayIdT>(value);
118 template <
typename LocalGatewayIdT = Aws::String>
131 template <
typename CarrierGatewayIdT = Aws::String>
133 m_carrierGatewayIdHasBeenSet =
true;
134 m_carrierGatewayId = std::forward<CarrierGatewayIdT>(value);
136 template <
typename CarrierGatewayIdT = Aws::String>
149 template <
typename CoreNetworkArnT = Aws::String>
151 m_coreNetworkArnHasBeenSet =
true;
152 m_coreNetworkArn = std::forward<CoreNetworkArnT>(value);
154 template <
typename CoreNetworkArnT = Aws::String>
167 template <
typename OdbNetworkArnT = Aws::String>
169 m_odbNetworkArnHasBeenSet =
true;
170 m_odbNetworkArn = std::forward<OdbNetworkArnT>(value);
172 template <
typename OdbNetworkArnT = Aws::String>
189 m_dryRunHasBeenSet =
true;
204 template <
typename RouteTableIdT = Aws::String>
206 m_routeTableIdHasBeenSet =
true;
207 m_routeTableId = std::forward<RouteTableIdT>(value);
209 template <
typename RouteTableIdT = Aws::String>
223 template <
typename DestinationC
idrBlockT = Aws::String>
225 m_destinationCidrBlockHasBeenSet =
true;
226 m_destinationCidrBlock = std::forward<DestinationCidrBlockT>(value);
228 template <
typename DestinationC
idrBlockT = Aws::String>
241 template <
typename GatewayIdT = Aws::String>
243 m_gatewayIdHasBeenSet =
true;
244 m_gatewayId = std::forward<GatewayIdT>(value);
246 template <
typename GatewayIdT = Aws::String>
260 template <
typename DestinationIpv6C
idrBlockT = Aws::String>
262 m_destinationIpv6CidrBlockHasBeenSet =
true;
263 m_destinationIpv6CidrBlock = std::forward<DestinationIpv6CidrBlockT>(value);
265 template <
typename DestinationIpv6C
idrBlockT = Aws::String>
278 template <
typename EgressOnlyInternetGatewayIdT = Aws::String>
280 m_egressOnlyInternetGatewayIdHasBeenSet =
true;
281 m_egressOnlyInternetGatewayId = std::forward<EgressOnlyInternetGatewayIdT>(value);
283 template <
typename EgressOnlyInternetGatewayIdT = Aws::String>
296 template <
typename InstanceIdT = Aws::String>
298 m_instanceIdHasBeenSet =
true;
299 m_instanceId = std::forward<InstanceIdT>(value);
301 template <
typename InstanceIdT = Aws::String>
314 template <
typename NetworkInterfaceIdT = Aws::String>
316 m_networkInterfaceIdHasBeenSet =
true;
317 m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value);
319 template <
typename NetworkInterfaceIdT = Aws::String>
332 template <
typename VpcPeeringConnectionIdT = Aws::String>
334 m_vpcPeeringConnectionIdHasBeenSet =
true;
335 m_vpcPeeringConnectionId = std::forward<VpcPeeringConnectionIdT>(value);
337 template <
typename VpcPeeringConnectionIdT = Aws::String>
350 template <
typename NatGatewayIdT = Aws::String>
352 m_natGatewayIdHasBeenSet =
true;
353 m_natGatewayId = std::forward<NatGatewayIdT>(value);
355 template <
typename NatGatewayIdT = Aws::String>
366 bool m_localTarget{
false};
378 bool m_dryRun{
false};
397 bool m_destinationPrefixListIdHasBeenSet =
false;
398 bool m_vpcEndpointIdHasBeenSet =
false;
399 bool m_localTargetHasBeenSet =
false;
400 bool m_transitGatewayIdHasBeenSet =
false;
401 bool m_localGatewayIdHasBeenSet =
false;
402 bool m_carrierGatewayIdHasBeenSet =
false;
403 bool m_coreNetworkArnHasBeenSet =
false;
404 bool m_odbNetworkArnHasBeenSet =
false;
405 bool m_dryRunHasBeenSet =
false;
406 bool m_routeTableIdHasBeenSet =
false;
407 bool m_destinationCidrBlockHasBeenSet =
false;
408 bool m_gatewayIdHasBeenSet =
false;
409 bool m_destinationIpv6CidrBlockHasBeenSet =
false;
410 bool m_egressOnlyInternetGatewayIdHasBeenSet =
false;
411 bool m_instanceIdHasBeenSet =
false;
412 bool m_networkInterfaceIdHasBeenSet =
false;
413 bool m_vpcPeeringConnectionIdHasBeenSet =
false;
414 bool m_natGatewayIdHasBeenSet =
false;
bool VpcPeeringConnectionIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
ReplaceRouteRequest & WithDestinationCidrBlock(DestinationCidrBlockT &&value)
ReplaceRouteRequest & WithGatewayId(GatewayIdT &&value)
const Aws::String & GetNetworkInterfaceId() const
bool DestinationPrefixListIdHasBeenSet() const
void SetVpcEndpointId(VpcEndpointIdT &&value)
bool LocalTargetHasBeenSet() const
ReplaceRouteRequest & WithLocalTarget(bool value)
bool GetLocalTarget() const
bool DestinationCidrBlockHasBeenSet() const
const Aws::String & GetGatewayId() const
bool RouteTableIdHasBeenSet() const
bool OdbNetworkArnHasBeenSet() const
AWS_EC2_API ReplaceRouteRequest()=default
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
const Aws::String & GetRouteTableId() const
ReplaceRouteRequest & WithDryRun(bool value)
void SetEgressOnlyInternetGatewayId(EgressOnlyInternetGatewayIdT &&value)
bool CarrierGatewayIdHasBeenSet() const
bool NatGatewayIdHasBeenSet() const
ReplaceRouteRequest & WithOdbNetworkArn(OdbNetworkArnT &&value)
ReplaceRouteRequest & WithDestinationIpv6CidrBlock(DestinationIpv6CidrBlockT &&value)
ReplaceRouteRequest & WithInstanceId(InstanceIdT &&value)
ReplaceRouteRequest & WithVpcPeeringConnectionId(VpcPeeringConnectionIdT &&value)
ReplaceRouteRequest & WithCoreNetworkArn(CoreNetworkArnT &&value)
ReplaceRouteRequest & WithCarrierGatewayId(CarrierGatewayIdT &&value)
void SetLocalGatewayId(LocalGatewayIdT &&value)
ReplaceRouteRequest & WithLocalGatewayId(LocalGatewayIdT &&value)
const Aws::String & GetInstanceId() const
ReplaceRouteRequest & WithEgressOnlyInternetGatewayId(EgressOnlyInternetGatewayIdT &&value)
void SetDestinationPrefixListId(DestinationPrefixListIdT &&value)
ReplaceRouteRequest & WithNatGatewayId(NatGatewayIdT &&value)
const Aws::String & GetEgressOnlyInternetGatewayId() const
const Aws::String & GetDestinationCidrBlock() const
void SetOdbNetworkArn(OdbNetworkArnT &&value)
void SetDestinationIpv6CidrBlock(DestinationIpv6CidrBlockT &&value)
bool DryRunHasBeenSet() const
void SetNatGatewayId(NatGatewayIdT &&value)
const Aws::String & GetLocalGatewayId() const
const Aws::String & GetDestinationIpv6CidrBlock() const
void SetRouteTableId(RouteTableIdT &&value)
const Aws::String & GetDestinationPrefixListId() const
void SetCarrierGatewayId(CarrierGatewayIdT &&value)
void SetGatewayId(GatewayIdT &&value)
bool VpcEndpointIdHasBeenSet() const
bool NetworkInterfaceIdHasBeenSet() const
ReplaceRouteRequest & WithTransitGatewayId(TransitGatewayIdT &&value)
const Aws::String & GetVpcEndpointId() const
void SetDryRun(bool value)
void SetInstanceId(InstanceIdT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetDestinationCidrBlock(DestinationCidrBlockT &&value)
void SetVpcPeeringConnectionId(VpcPeeringConnectionIdT &&value)
bool CoreNetworkArnHasBeenSet() const
const Aws::String & GetTransitGatewayId() const
void SetLocalTarget(bool value)
ReplaceRouteRequest & WithDestinationPrefixListId(DestinationPrefixListIdT &&value)
const Aws::String & GetCarrierGatewayId() const
bool GatewayIdHasBeenSet() const
void SetTransitGatewayId(TransitGatewayIdT &&value)
const Aws::String & GetOdbNetworkArn() const
bool LocalGatewayIdHasBeenSet() const
bool InstanceIdHasBeenSet() const
bool TransitGatewayIdHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetCoreNetworkArn(CoreNetworkArnT &&value)
bool EgressOnlyInternetGatewayIdHasBeenSet() const
const Aws::String & GetNatGatewayId() const
ReplaceRouteRequest & WithVpcEndpointId(VpcEndpointIdT &&value)
ReplaceRouteRequest & WithRouteTableId(RouteTableIdT &&value)
const Aws::String & GetCoreNetworkArn() const
bool DestinationIpv6CidrBlockHasBeenSet() const
const Aws::String & GetVpcPeeringConnectionId() const
ReplaceRouteRequest & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String