/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the CreateRoute action in Amazon EC2.See
* Also:
AWS
* API Reference
A description of CreateRoute action in Amazon EC2.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of CreateRoute action in Amazon EC2.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of CreateRoute action in Amazon EC2.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of CreateRoute action in Amazon EC2.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of CreateRoute action in Amazon EC2.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of CreateRoute action in Amazon EC2.
*/ inline EC2CreateRouteAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of CreateRoute action in Amazon EC2.
*/ inline EC2CreateRouteAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of CreateRoute action in Amazon EC2.
*/ inline EC2CreateRouteAction& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Information about the IPv4 CIDR address block used for the destination * match.
*/ inline const Aws::String& GetDestinationCidrBlock() const{ return m_destinationCidrBlock; } /** *Information about the IPv4 CIDR address block used for the destination * match.
*/ inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; } /** *Information about the IPv4 CIDR address block used for the destination * match.
*/ inline void SetDestinationCidrBlock(const Aws::String& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = value; } /** *Information about the IPv4 CIDR address block used for the destination * match.
*/ inline void SetDestinationCidrBlock(Aws::String&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::move(value); } /** *Information about the IPv4 CIDR address block used for the destination * match.
*/ inline void SetDestinationCidrBlock(const char* value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock.assign(value); } /** *Information about the IPv4 CIDR address block used for the destination * match.
*/ inline EC2CreateRouteAction& WithDestinationCidrBlock(const Aws::String& value) { SetDestinationCidrBlock(value); return *this;} /** *Information about the IPv4 CIDR address block used for the destination * match.
*/ inline EC2CreateRouteAction& WithDestinationCidrBlock(Aws::String&& value) { SetDestinationCidrBlock(std::move(value)); return *this;} /** *Information about the IPv4 CIDR address block used for the destination * match.
*/ inline EC2CreateRouteAction& WithDestinationCidrBlock(const char* value) { SetDestinationCidrBlock(value); return *this;} /** *Information about the ID of a prefix list used for the destination match.
*/ inline const Aws::String& GetDestinationPrefixListId() const{ return m_destinationPrefixListId; } /** *Information about the ID of a prefix list used for the destination match.
*/ inline bool DestinationPrefixListIdHasBeenSet() const { return m_destinationPrefixListIdHasBeenSet; } /** *Information about the ID of a prefix list used for the destination match.
*/ inline void SetDestinationPrefixListId(const Aws::String& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = value; } /** *Information about the ID of a prefix list used for the destination match.
*/ inline void SetDestinationPrefixListId(Aws::String&& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = std::move(value); } /** *Information about the ID of a prefix list used for the destination match.
*/ inline void SetDestinationPrefixListId(const char* value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId.assign(value); } /** *Information about the ID of a prefix list used for the destination match.
*/ inline EC2CreateRouteAction& WithDestinationPrefixListId(const Aws::String& value) { SetDestinationPrefixListId(value); return *this;} /** *Information about the ID of a prefix list used for the destination match.
*/ inline EC2CreateRouteAction& WithDestinationPrefixListId(Aws::String&& value) { SetDestinationPrefixListId(std::move(value)); return *this;} /** *Information about the ID of a prefix list used for the destination match.
*/ inline EC2CreateRouteAction& WithDestinationPrefixListId(const char* value) { SetDestinationPrefixListId(value); return *this;} /** *Information about the IPv6 CIDR block destination.
*/ inline const Aws::String& GetDestinationIpv6CidrBlock() const{ return m_destinationIpv6CidrBlock; } /** *Information about the IPv6 CIDR block destination.
*/ inline bool DestinationIpv6CidrBlockHasBeenSet() const { return m_destinationIpv6CidrBlockHasBeenSet; } /** *Information about the IPv6 CIDR block destination.
*/ inline void SetDestinationIpv6CidrBlock(const Aws::String& value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock = value; } /** *Information about the IPv6 CIDR block destination.
*/ inline void SetDestinationIpv6CidrBlock(Aws::String&& value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock = std::move(value); } /** *Information about the IPv6 CIDR block destination.
*/ inline void SetDestinationIpv6CidrBlock(const char* value) { m_destinationIpv6CidrBlockHasBeenSet = true; m_destinationIpv6CidrBlock.assign(value); } /** *Information about the IPv6 CIDR block destination.
*/ inline EC2CreateRouteAction& WithDestinationIpv6CidrBlock(const Aws::String& value) { SetDestinationIpv6CidrBlock(value); return *this;} /** *Information about the IPv6 CIDR block destination.
*/ inline EC2CreateRouteAction& WithDestinationIpv6CidrBlock(Aws::String&& value) { SetDestinationIpv6CidrBlock(std::move(value)); return *this;} /** *Information about the IPv6 CIDR block destination.
*/ inline EC2CreateRouteAction& WithDestinationIpv6CidrBlock(const char* value) { SetDestinationIpv6CidrBlock(value); return *this;} /** *Information about the ID of a VPC endpoint. Supported for Gateway Load * Balancer endpoints only.
*/ inline const ActionTarget& GetVpcEndpointId() const{ return m_vpcEndpointId; } /** *Information about the ID of a VPC endpoint. Supported for Gateway Load * Balancer endpoints only.
*/ inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; } /** *Information about the ID of a VPC endpoint. Supported for Gateway Load * Balancer endpoints only.
*/ inline void SetVpcEndpointId(const ActionTarget& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; } /** *Information about the ID of a VPC endpoint. Supported for Gateway Load * Balancer endpoints only.
*/ inline void SetVpcEndpointId(ActionTarget&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); } /** *Information about the ID of a VPC endpoint. Supported for Gateway Load * Balancer endpoints only.
*/ inline EC2CreateRouteAction& WithVpcEndpointId(const ActionTarget& value) { SetVpcEndpointId(value); return *this;} /** *Information about the ID of a VPC endpoint. Supported for Gateway Load * Balancer endpoints only.
*/ inline EC2CreateRouteAction& WithVpcEndpointId(ActionTarget&& value) { SetVpcEndpointId(std::move(value)); return *this;} /** *Information about the ID of an internet gateway or virtual private gateway * attached to your VPC.
*/ inline const ActionTarget& GetGatewayId() const{ return m_gatewayId; } /** *Information about the ID of an internet gateway or virtual private gateway * attached to your VPC.
*/ inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; } /** *Information about the ID of an internet gateway or virtual private gateway * attached to your VPC.
*/ inline void SetGatewayId(const ActionTarget& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; } /** *Information about the ID of an internet gateway or virtual private gateway * attached to your VPC.
*/ inline void SetGatewayId(ActionTarget&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); } /** *Information about the ID of an internet gateway or virtual private gateway * attached to your VPC.
*/ inline EC2CreateRouteAction& WithGatewayId(const ActionTarget& value) { SetGatewayId(value); return *this;} /** *Information about the ID of an internet gateway or virtual private gateway * attached to your VPC.
*/ inline EC2CreateRouteAction& WithGatewayId(ActionTarget&& value) { SetGatewayId(std::move(value)); return *this;} /** *Information about the ID of the route table for the route.
*/ inline const ActionTarget& GetRouteTableId() const{ return m_routeTableId; } /** *Information about the ID of the route table for the route.
*/ inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; } /** *Information about the ID of the route table for the route.
*/ inline void SetRouteTableId(const ActionTarget& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; } /** *Information about the ID of the route table for the route.
*/ inline void SetRouteTableId(ActionTarget&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); } /** *Information about the ID of the route table for the route.
*/ inline EC2CreateRouteAction& WithRouteTableId(const ActionTarget& value) { SetRouteTableId(value); return *this;} /** *Information about the ID of the route table for the route.
*/ inline EC2CreateRouteAction& WithRouteTableId(ActionTarget&& value) { SetRouteTableId(std::move(value)); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_destinationCidrBlock; bool m_destinationCidrBlockHasBeenSet = false; Aws::String m_destinationPrefixListId; bool m_destinationPrefixListIdHasBeenSet = false; Aws::String m_destinationIpv6CidrBlock; bool m_destinationIpv6CidrBlockHasBeenSet = false; ActionTarget m_vpcEndpointId; bool m_vpcEndpointIdHasBeenSet = false; ActionTarget m_gatewayId; bool m_gatewayIdHasBeenSet = false; ActionTarget m_routeTableId; bool m_routeTableIdHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws