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>
70 template<
typename TransitGatewayIdT = Aws::String>
71 void SetTransitGatewayId(TransitGatewayIdT&& value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId = std::forward<TransitGatewayIdT>(value); }
72 template<
typename TransitGatewayIdT = Aws::String>
82 template<
typename LocalGatewayIdT = Aws::String>
83 void SetLocalGatewayId(LocalGatewayIdT&& value) { m_localGatewayIdHasBeenSet =
true; m_localGatewayId = std::forward<LocalGatewayIdT>(value); }
84 template<
typename LocalGatewayIdT = Aws::String>
95 template<
typename CarrierGatewayIdT = Aws::String>
96 void SetCarrierGatewayId(CarrierGatewayIdT&& value) { m_carrierGatewayIdHasBeenSet =
true; m_carrierGatewayId = std::forward<CarrierGatewayIdT>(value); }
97 template<
typename CarrierGatewayIdT = Aws::String>
107 template<
typename CoreNetworkArnT = Aws::String>
108 void SetCoreNetworkArn(CoreNetworkArnT&& value) { m_coreNetworkArnHasBeenSet =
true; m_coreNetworkArn = std::forward<CoreNetworkArnT>(value); }
109 template<
typename CoreNetworkArnT = Aws::String>
119 template<
typename OdbNetworkArnT = Aws::String>
120 void SetOdbNetworkArn(OdbNetworkArnT&& value) { m_odbNetworkArnHasBeenSet =
true; m_odbNetworkArn = std::forward<OdbNetworkArnT>(value); }
121 template<
typename OdbNetworkArnT = Aws::String>
134 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
144 template<
typename RouteTableIdT = Aws::String>
145 void SetRouteTableId(RouteTableIdT&& value) { m_routeTableIdHasBeenSet =
true; m_routeTableId = std::forward<RouteTableIdT>(value); }
146 template<
typename RouteTableIdT = Aws::String>
159 template<
typename DestinationC
idrBlockT = Aws::String>
160 void SetDestinationCidrBlock(DestinationCidrBlockT&& value) { m_destinationCidrBlockHasBeenSet =
true; m_destinationCidrBlock = std::forward<DestinationCidrBlockT>(value); }
161 template<
typename DestinationC
idrBlockT = Aws::String>
172 template<
typename GatewayIdT = Aws::String>
173 void SetGatewayId(GatewayIdT&& value) { m_gatewayIdHasBeenSet =
true; m_gatewayId = std::forward<GatewayIdT>(value); }
174 template<
typename GatewayIdT = Aws::String>
185 template<
typename DestinationIpv6C
idrBlockT = Aws::String>
186 void SetDestinationIpv6CidrBlock(DestinationIpv6CidrBlockT&& value) { m_destinationIpv6CidrBlockHasBeenSet =
true; m_destinationIpv6CidrBlock = std::forward<DestinationIpv6CidrBlockT>(value); }
187 template<
typename DestinationIpv6C
idrBlockT = Aws::String>
197 template<
typename EgressOnlyInternetGatewayIdT = Aws::String>
198 void SetEgressOnlyInternetGatewayId(EgressOnlyInternetGatewayIdT&& value) { m_egressOnlyInternetGatewayIdHasBeenSet =
true; m_egressOnlyInternetGatewayId = std::forward<EgressOnlyInternetGatewayIdT>(value); }
199 template<
typename EgressOnlyInternetGatewayIdT = Aws::String>
210 template<
typename InstanceIdT = Aws::String>
211 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
212 template<
typename InstanceIdT = Aws::String>
222 template<
typename NetworkInterfaceIdT = Aws::String>
223 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value); }
224 template<
typename NetworkInterfaceIdT = Aws::String>
234 template<
typename VpcPeeringConnectionIdT = Aws::String>
235 void SetVpcPeeringConnectionId(VpcPeeringConnectionIdT&& value) { m_vpcPeeringConnectionIdHasBeenSet =
true; m_vpcPeeringConnectionId = std::forward<VpcPeeringConnectionIdT>(value); }
236 template<
typename VpcPeeringConnectionIdT = Aws::String>
246 template<
typename NatGatewayIdT = Aws::String>
247 void SetNatGatewayId(NatGatewayIdT&& value) { m_natGatewayIdHasBeenSet =
true; m_natGatewayId = std::forward<NatGatewayIdT>(value); }
248 template<
typename NatGatewayIdT = Aws::String>
254 bool m_destinationPrefixListIdHasBeenSet =
false;
257 bool m_vpcEndpointIdHasBeenSet =
false;
260 bool m_transitGatewayIdHasBeenSet =
false;
263 bool m_localGatewayIdHasBeenSet =
false;
266 bool m_carrierGatewayIdHasBeenSet =
false;
269 bool m_coreNetworkArnHasBeenSet =
false;
272 bool m_odbNetworkArnHasBeenSet =
false;
274 bool m_dryRun{
false};
275 bool m_dryRunHasBeenSet =
false;
278 bool m_routeTableIdHasBeenSet =
false;
281 bool m_destinationCidrBlockHasBeenSet =
false;
284 bool m_gatewayIdHasBeenSet =
false;
287 bool m_destinationIpv6CidrBlockHasBeenSet =
false;
290 bool m_egressOnlyInternetGatewayIdHasBeenSet =
false;
293 bool m_instanceIdHasBeenSet =
false;
296 bool m_networkInterfaceIdHasBeenSet =
false;
299 bool m_vpcPeeringConnectionIdHasBeenSet =
false;
302 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