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>
78 template <
typename TransitGatewayIdT = Aws::String>
80 m_transitGatewayIdHasBeenSet =
true;
81 m_transitGatewayId = std::forward<TransitGatewayIdT>(value);
83 template <
typename TransitGatewayIdT = Aws::String>
96 template <
typename LocalGatewayIdT = Aws::String>
98 m_localGatewayIdHasBeenSet =
true;
99 m_localGatewayId = std::forward<LocalGatewayIdT>(value);
101 template <
typename LocalGatewayIdT = Aws::String>
115 template <
typename CarrierGatewayIdT = Aws::String>
117 m_carrierGatewayIdHasBeenSet =
true;
118 m_carrierGatewayId = std::forward<CarrierGatewayIdT>(value);
120 template <
typename CarrierGatewayIdT = Aws::String>
133 template <
typename CoreNetworkArnT = Aws::String>
135 m_coreNetworkArnHasBeenSet =
true;
136 m_coreNetworkArn = std::forward<CoreNetworkArnT>(value);
138 template <
typename CoreNetworkArnT = Aws::String>
151 template <
typename OdbNetworkArnT = Aws::String>
153 m_odbNetworkArnHasBeenSet =
true;
154 m_odbNetworkArn = std::forward<OdbNetworkArnT>(value);
156 template <
typename OdbNetworkArnT = Aws::String>
173 m_dryRunHasBeenSet =
true;
188 template <
typename RouteTableIdT = Aws::String>
190 m_routeTableIdHasBeenSet =
true;
191 m_routeTableId = std::forward<RouteTableIdT>(value);
193 template <
typename RouteTableIdT = Aws::String>
209 template <
typename DestinationC
idrBlockT = Aws::String>
211 m_destinationCidrBlockHasBeenSet =
true;
212 m_destinationCidrBlock = std::forward<DestinationCidrBlockT>(value);
214 template <
typename DestinationC
idrBlockT = Aws::String>
228 template <
typename GatewayIdT = Aws::String>
230 m_gatewayIdHasBeenSet =
true;
231 m_gatewayId = std::forward<GatewayIdT>(value);
233 template <
typename GatewayIdT = Aws::String>
247 template <
typename DestinationIpv6C
idrBlockT = Aws::String>
249 m_destinationIpv6CidrBlockHasBeenSet =
true;
250 m_destinationIpv6CidrBlock = std::forward<DestinationIpv6CidrBlockT>(value);
252 template <
typename DestinationIpv6C
idrBlockT = Aws::String>
265 template <
typename EgressOnlyInternetGatewayIdT = Aws::String>
267 m_egressOnlyInternetGatewayIdHasBeenSet =
true;
268 m_egressOnlyInternetGatewayId = std::forward<EgressOnlyInternetGatewayIdT>(value);
270 template <
typename EgressOnlyInternetGatewayIdT = Aws::String>
284 template <
typename InstanceIdT = Aws::String>
286 m_instanceIdHasBeenSet =
true;
287 m_instanceId = std::forward<InstanceIdT>(value);
289 template <
typename InstanceIdT = Aws::String>
302 template <
typename NetworkInterfaceIdT = Aws::String>
304 m_networkInterfaceIdHasBeenSet =
true;
305 m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value);
307 template <
typename NetworkInterfaceIdT = Aws::String>
320 template <
typename VpcPeeringConnectionIdT = Aws::String>
322 m_vpcPeeringConnectionIdHasBeenSet =
true;
323 m_vpcPeeringConnectionId = std::forward<VpcPeeringConnectionIdT>(value);
325 template <
typename VpcPeeringConnectionIdT = Aws::String>
338 template <
typename NatGatewayIdT = Aws::String>
340 m_natGatewayIdHasBeenSet =
true;
341 m_natGatewayId = std::forward<NatGatewayIdT>(value);
343 template <
typename NatGatewayIdT = Aws::String>
364 bool m_dryRun{
false};
383 bool m_destinationPrefixListIdHasBeenSet =
false;
384 bool m_vpcEndpointIdHasBeenSet =
false;
385 bool m_transitGatewayIdHasBeenSet =
false;
386 bool m_localGatewayIdHasBeenSet =
false;
387 bool m_carrierGatewayIdHasBeenSet =
false;
388 bool m_coreNetworkArnHasBeenSet =
false;
389 bool m_odbNetworkArnHasBeenSet =
false;
390 bool m_dryRunHasBeenSet =
false;
391 bool m_routeTableIdHasBeenSet =
false;
392 bool m_destinationCidrBlockHasBeenSet =
false;
393 bool m_gatewayIdHasBeenSet =
false;
394 bool m_destinationIpv6CidrBlockHasBeenSet =
false;
395 bool m_egressOnlyInternetGatewayIdHasBeenSet =
false;
396 bool m_instanceIdHasBeenSet =
false;
397 bool m_networkInterfaceIdHasBeenSet =
false;
398 bool m_vpcPeeringConnectionIdHasBeenSet =
false;
399 bool m_natGatewayIdHasBeenSet =
false;
void SetTransitGatewayId(TransitGatewayIdT &&value)
const Aws::String & GetCarrierGatewayId() const
CreateRouteRequest & WithCarrierGatewayId(CarrierGatewayIdT &&value)
const Aws::String & GetCoreNetworkArn() const
bool DestinationIpv6CidrBlockHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetDestinationIpv6CidrBlock(DestinationIpv6CidrBlockT &&value)
CreateRouteRequest & WithEgressOnlyInternetGatewayId(EgressOnlyInternetGatewayIdT &&value)
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
bool DryRunHasBeenSet() const
const Aws::String & GetDestinationPrefixListId() const
void SetLocalGatewayId(LocalGatewayIdT &&value)
const Aws::String & GetNatGatewayId() const
const Aws::String & GetNetworkInterfaceId() const
CreateRouteRequest & WithInstanceId(InstanceIdT &&value)
void SetVpcPeeringConnectionId(VpcPeeringConnectionIdT &&value)
bool VpcEndpointIdHasBeenSet() const
CreateRouteRequest & WithVpcEndpointId(VpcEndpointIdT &&value)
CreateRouteRequest & WithGatewayId(GatewayIdT &&value)
const Aws::String & GetLocalGatewayId() const
void SetVpcEndpointId(VpcEndpointIdT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
CreateRouteRequest & WithDestinationPrefixListId(DestinationPrefixListIdT &&value)
void SetGatewayId(GatewayIdT &&value)
CreateRouteRequest & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
CreateRouteRequest & WithLocalGatewayId(LocalGatewayIdT &&value)
bool VpcPeeringConnectionIdHasBeenSet() const
const Aws::String & GetEgressOnlyInternetGatewayId() const
CreateRouteRequest & WithDryRun(bool value)
void SetCoreNetworkArn(CoreNetworkArnT &&value)
bool CarrierGatewayIdHasBeenSet() const
void SetDestinationPrefixListId(DestinationPrefixListIdT &&value)
const Aws::String & GetVpcEndpointId() const
void SetInstanceId(InstanceIdT &&value)
CreateRouteRequest & WithTransitGatewayId(TransitGatewayIdT &&value)
const Aws::String & GetTransitGatewayId() const
bool CoreNetworkArnHasBeenSet() const
const Aws::String & GetDestinationIpv6CidrBlock() const
const Aws::String & GetDestinationCidrBlock() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetVpcPeeringConnectionId() const
bool NetworkInterfaceIdHasBeenSet() const
CreateRouteRequest & WithNatGatewayId(NatGatewayIdT &&value)
bool InstanceIdHasBeenSet() const
bool EgressOnlyInternetGatewayIdHasBeenSet() const
void SetRouteTableId(RouteTableIdT &&value)
void SetOdbNetworkArn(OdbNetworkArnT &&value)
CreateRouteRequest & WithOdbNetworkArn(OdbNetworkArnT &&value)
void SetNatGatewayId(NatGatewayIdT &&value)
CreateRouteRequest & WithDestinationCidrBlock(DestinationCidrBlockT &&value)
bool NatGatewayIdHasBeenSet() const
const Aws::String & GetGatewayId() const
bool DestinationCidrBlockHasBeenSet() const
bool TransitGatewayIdHasBeenSet() const
const Aws::String & GetInstanceId() const
CreateRouteRequest & WithVpcPeeringConnectionId(VpcPeeringConnectionIdT &&value)
CreateRouteRequest & WithDestinationIpv6CidrBlock(DestinationIpv6CidrBlockT &&value)
bool DestinationPrefixListIdHasBeenSet() const
void SetEgressOnlyInternetGatewayId(EgressOnlyInternetGatewayIdT &&value)
CreateRouteRequest & WithRouteTableId(RouteTableIdT &&value)
bool GatewayIdHasBeenSet() const
bool OdbNetworkArnHasBeenSet() const
CreateRouteRequest & WithCoreNetworkArn(CoreNetworkArnT &&value)
void SetCarrierGatewayId(CarrierGatewayIdT &&value)
bool LocalGatewayIdHasBeenSet() const
bool RouteTableIdHasBeenSet() const
const Aws::String & GetOdbNetworkArn() const
const Aws::String & GetRouteTableId() const
void SetDryRun(bool value)
AWS_EC2_API CreateRouteRequest()=default
void SetDestinationCidrBlock(DestinationCidrBlockT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String