7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 template<
typename DestinationPrefixListIdT = Aws::String>
46 void SetDestinationPrefixListId(DestinationPrefixListIdT&& value) { m_destinationPrefixListIdHasBeenSet =
true; m_destinationPrefixListId = std::forward<DestinationPrefixListIdT>(value); }
47 template<
typename DestinationPrefixListIdT = Aws::String>
58 template<
typename VpcEndpo
intIdT = Aws::String>
59 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet =
true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
60 template<
typename VpcEndpo
intIdT = Aws::String>
71 inline void SetLocalTarget(
bool value) { m_localTargetHasBeenSet =
true; m_localTarget = value; }
81 template<
typename TransitGatewayIdT = Aws::String>
82 void SetTransitGatewayId(TransitGatewayIdT&& value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId = std::forward<TransitGatewayIdT>(value); }
83 template<
typename TransitGatewayIdT = Aws::String>
93 template<
typename LocalGatewayIdT = Aws::String>
94 void SetLocalGatewayId(LocalGatewayIdT&& value) { m_localGatewayIdHasBeenSet =
true; m_localGatewayId = std::forward<LocalGatewayIdT>(value); }
95 template<
typename LocalGatewayIdT = Aws::String>
105 template<
typename CarrierGatewayIdT = Aws::String>
106 void SetCarrierGatewayId(CarrierGatewayIdT&& value) { m_carrierGatewayIdHasBeenSet =
true; m_carrierGatewayId = std::forward<CarrierGatewayIdT>(value); }
107 template<
typename CarrierGatewayIdT = Aws::String>
117 template<
typename CoreNetworkArnT = Aws::String>
118 void SetCoreNetworkArn(CoreNetworkArnT&& value) { m_coreNetworkArnHasBeenSet =
true; m_coreNetworkArn = std::forward<CoreNetworkArnT>(value); }
119 template<
typename CoreNetworkArnT = Aws::String>
129 template<
typename OdbNetworkArnT = Aws::String>
130 void SetOdbNetworkArn(OdbNetworkArnT&& value) { m_odbNetworkArnHasBeenSet =
true; m_odbNetworkArn = std::forward<OdbNetworkArnT>(value); }
131 template<
typename OdbNetworkArnT = Aws::String>
144 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
154 template<
typename RouteTableIdT = Aws::String>
155 void SetRouteTableId(RouteTableIdT&& value) { m_routeTableIdHasBeenSet =
true; m_routeTableId = std::forward<RouteTableIdT>(value); }
156 template<
typename RouteTableIdT = Aws::String>
167 template<
typename DestinationC
idrBlockT = Aws::String>
168 void SetDestinationCidrBlock(DestinationCidrBlockT&& value) { m_destinationCidrBlockHasBeenSet =
true; m_destinationCidrBlock = std::forward<DestinationCidrBlockT>(value); }
169 template<
typename DestinationC
idrBlockT = Aws::String>
179 template<
typename GatewayIdT = Aws::String>
180 void SetGatewayId(GatewayIdT&& value) { m_gatewayIdHasBeenSet =
true; m_gatewayId = std::forward<GatewayIdT>(value); }
181 template<
typename GatewayIdT = Aws::String>
192 template<
typename DestinationIpv6C
idrBlockT = Aws::String>
193 void SetDestinationIpv6CidrBlock(DestinationIpv6CidrBlockT&& value) { m_destinationIpv6CidrBlockHasBeenSet =
true; m_destinationIpv6CidrBlock = std::forward<DestinationIpv6CidrBlockT>(value); }
194 template<
typename DestinationIpv6C
idrBlockT = Aws::String>
204 template<
typename EgressOnlyInternetGatewayIdT = Aws::String>
205 void SetEgressOnlyInternetGatewayId(EgressOnlyInternetGatewayIdT&& value) { m_egressOnlyInternetGatewayIdHasBeenSet =
true; m_egressOnlyInternetGatewayId = std::forward<EgressOnlyInternetGatewayIdT>(value); }
206 template<
typename EgressOnlyInternetGatewayIdT = Aws::String>
216 template<
typename InstanceIdT = Aws::String>
217 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
218 template<
typename InstanceIdT = Aws::String>
228 template<
typename NetworkInterfaceIdT = Aws::String>
229 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value); }
230 template<
typename NetworkInterfaceIdT = Aws::String>
240 template<
typename VpcPeeringConnectionIdT = Aws::String>
241 void SetVpcPeeringConnectionId(VpcPeeringConnectionIdT&& value) { m_vpcPeeringConnectionIdHasBeenSet =
true; m_vpcPeeringConnectionId = std::forward<VpcPeeringConnectionIdT>(value); }
242 template<
typename VpcPeeringConnectionIdT = Aws::String>
252 template<
typename NatGatewayIdT = Aws::String>
253 void SetNatGatewayId(NatGatewayIdT&& value) { m_natGatewayIdHasBeenSet =
true; m_natGatewayId = std::forward<NatGatewayIdT>(value); }
254 template<
typename NatGatewayIdT = Aws::String>
260 bool m_destinationPrefixListIdHasBeenSet =
false;
263 bool m_vpcEndpointIdHasBeenSet =
false;
265 bool m_localTarget{
false};
266 bool m_localTargetHasBeenSet =
false;
269 bool m_transitGatewayIdHasBeenSet =
false;
272 bool m_localGatewayIdHasBeenSet =
false;
275 bool m_carrierGatewayIdHasBeenSet =
false;
278 bool m_coreNetworkArnHasBeenSet =
false;
281 bool m_odbNetworkArnHasBeenSet =
false;
283 bool m_dryRun{
false};
284 bool m_dryRunHasBeenSet =
false;
287 bool m_routeTableIdHasBeenSet =
false;
290 bool m_destinationCidrBlockHasBeenSet =
false;
293 bool m_gatewayIdHasBeenSet =
false;
296 bool m_destinationIpv6CidrBlockHasBeenSet =
false;
299 bool m_egressOnlyInternetGatewayIdHasBeenSet =
false;
302 bool m_instanceIdHasBeenSet =
false;
305 bool m_networkInterfaceIdHasBeenSet =
false;
308 bool m_vpcPeeringConnectionIdHasBeenSet =
false;
311 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