/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a route table route.See Also:
AWS
* API Reference
The destination IPv4 address, in CIDR notation.
*/ inline const Aws::String& GetDestinationCidr() const{ return m_destinationCidr; } /** *The destination IPv4 address, in CIDR notation.
*/ inline bool DestinationCidrHasBeenSet() const { return m_destinationCidrHasBeenSet; } /** *The destination IPv4 address, in CIDR notation.
*/ inline void SetDestinationCidr(const Aws::String& value) { m_destinationCidrHasBeenSet = true; m_destinationCidr = value; } /** *The destination IPv4 address, in CIDR notation.
*/ inline void SetDestinationCidr(Aws::String&& value) { m_destinationCidrHasBeenSet = true; m_destinationCidr = std::move(value); } /** *The destination IPv4 address, in CIDR notation.
*/ inline void SetDestinationCidr(const char* value) { m_destinationCidrHasBeenSet = true; m_destinationCidr.assign(value); } /** *The destination IPv4 address, in CIDR notation.
*/ inline AnalysisRouteTableRoute& WithDestinationCidr(const Aws::String& value) { SetDestinationCidr(value); return *this;} /** *The destination IPv4 address, in CIDR notation.
*/ inline AnalysisRouteTableRoute& WithDestinationCidr(Aws::String&& value) { SetDestinationCidr(std::move(value)); return *this;} /** *The destination IPv4 address, in CIDR notation.
*/ inline AnalysisRouteTableRoute& WithDestinationCidr(const char* value) { SetDestinationCidr(value); return *this;} /** *The prefix of the Amazon Web Service.
*/ inline const Aws::String& GetDestinationPrefixListId() const{ return m_destinationPrefixListId; } /** *The prefix of the Amazon Web Service.
*/ inline bool DestinationPrefixListIdHasBeenSet() const { return m_destinationPrefixListIdHasBeenSet; } /** *The prefix of the Amazon Web Service.
*/ inline void SetDestinationPrefixListId(const Aws::String& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = value; } /** *The prefix of the Amazon Web Service.
*/ inline void SetDestinationPrefixListId(Aws::String&& value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId = std::move(value); } /** *The prefix of the Amazon Web Service.
*/ inline void SetDestinationPrefixListId(const char* value) { m_destinationPrefixListIdHasBeenSet = true; m_destinationPrefixListId.assign(value); } /** *The prefix of the Amazon Web Service.
*/ inline AnalysisRouteTableRoute& WithDestinationPrefixListId(const Aws::String& value) { SetDestinationPrefixListId(value); return *this;} /** *The prefix of the Amazon Web Service.
*/ inline AnalysisRouteTableRoute& WithDestinationPrefixListId(Aws::String&& value) { SetDestinationPrefixListId(std::move(value)); return *this;} /** *The prefix of the Amazon Web Service.
*/ inline AnalysisRouteTableRoute& WithDestinationPrefixListId(const char* value) { SetDestinationPrefixListId(value); return *this;} /** *The ID of an egress-only internet gateway.
*/ inline const Aws::String& GetEgressOnlyInternetGatewayId() const{ return m_egressOnlyInternetGatewayId; } /** *The ID of an egress-only internet gateway.
*/ inline bool EgressOnlyInternetGatewayIdHasBeenSet() const { return m_egressOnlyInternetGatewayIdHasBeenSet; } /** *The ID of an egress-only internet gateway.
*/ inline void SetEgressOnlyInternetGatewayId(const Aws::String& value) { m_egressOnlyInternetGatewayIdHasBeenSet = true; m_egressOnlyInternetGatewayId = value; } /** *The ID of an egress-only internet gateway.
*/ inline void SetEgressOnlyInternetGatewayId(Aws::String&& value) { m_egressOnlyInternetGatewayIdHasBeenSet = true; m_egressOnlyInternetGatewayId = std::move(value); } /** *The ID of an egress-only internet gateway.
*/ inline void SetEgressOnlyInternetGatewayId(const char* value) { m_egressOnlyInternetGatewayIdHasBeenSet = true; m_egressOnlyInternetGatewayId.assign(value); } /** *The ID of an egress-only internet gateway.
*/ inline AnalysisRouteTableRoute& WithEgressOnlyInternetGatewayId(const Aws::String& value) { SetEgressOnlyInternetGatewayId(value); return *this;} /** *The ID of an egress-only internet gateway.
*/ inline AnalysisRouteTableRoute& WithEgressOnlyInternetGatewayId(Aws::String&& value) { SetEgressOnlyInternetGatewayId(std::move(value)); return *this;} /** *The ID of an egress-only internet gateway.
*/ inline AnalysisRouteTableRoute& WithEgressOnlyInternetGatewayId(const char* value) { SetEgressOnlyInternetGatewayId(value); return *this;} /** *The ID of the gateway, such as an internet gateway or virtual private * gateway.
*/ inline const Aws::String& GetGatewayId() const{ return m_gatewayId; } /** *The ID of the gateway, such as an internet gateway or virtual private * gateway.
*/ inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; } /** *The ID of the gateway, such as an internet gateway or virtual private * gateway.
*/ inline void SetGatewayId(const Aws::String& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; } /** *The ID of the gateway, such as an internet gateway or virtual private * gateway.
*/ inline void SetGatewayId(Aws::String&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); } /** *The ID of the gateway, such as an internet gateway or virtual private * gateway.
*/ inline void SetGatewayId(const char* value) { m_gatewayIdHasBeenSet = true; m_gatewayId.assign(value); } /** *The ID of the gateway, such as an internet gateway or virtual private * gateway.
*/ inline AnalysisRouteTableRoute& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;} /** *The ID of the gateway, such as an internet gateway or virtual private * gateway.
*/ inline AnalysisRouteTableRoute& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;} /** *The ID of the gateway, such as an internet gateway or virtual private * gateway.
*/ inline AnalysisRouteTableRoute& WithGatewayId(const char* value) { SetGatewayId(value); return *this;} /** *The ID of the instance, such as a NAT instance.
*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *The ID of the instance, such as a NAT instance.
*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *The ID of the instance, such as a NAT instance.
*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *The ID of the instance, such as a NAT instance.
*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *The ID of the instance, such as a NAT instance.
*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *The ID of the instance, such as a NAT instance.
*/ inline AnalysisRouteTableRoute& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *The ID of the instance, such as a NAT instance.
*/ inline AnalysisRouteTableRoute& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *The ID of the instance, such as a NAT instance.
*/ inline AnalysisRouteTableRoute& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *The ID of a NAT gateway.
*/ inline const Aws::String& GetNatGatewayId() const{ return m_natGatewayId; } /** *The ID of a NAT gateway.
*/ inline bool NatGatewayIdHasBeenSet() const { return m_natGatewayIdHasBeenSet; } /** *The ID of a NAT gateway.
*/ inline void SetNatGatewayId(const Aws::String& value) { m_natGatewayIdHasBeenSet = true; m_natGatewayId = value; } /** *The ID of a NAT gateway.
*/ inline void SetNatGatewayId(Aws::String&& value) { m_natGatewayIdHasBeenSet = true; m_natGatewayId = std::move(value); } /** *The ID of a NAT gateway.
*/ inline void SetNatGatewayId(const char* value) { m_natGatewayIdHasBeenSet = true; m_natGatewayId.assign(value); } /** *The ID of a NAT gateway.
*/ inline AnalysisRouteTableRoute& WithNatGatewayId(const Aws::String& value) { SetNatGatewayId(value); return *this;} /** *The ID of a NAT gateway.
*/ inline AnalysisRouteTableRoute& WithNatGatewayId(Aws::String&& value) { SetNatGatewayId(std::move(value)); return *this;} /** *The ID of a NAT gateway.
*/ inline AnalysisRouteTableRoute& WithNatGatewayId(const char* value) { SetNatGatewayId(value); return *this;} /** *The ID of a network interface.
*/ inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; } /** *The ID of a network interface.
*/ inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; } /** *The ID of a network interface.
*/ inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; } /** *The ID of a network interface.
*/ inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); } /** *The ID of a network interface.
*/ inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); } /** *The ID of a network interface.
*/ inline AnalysisRouteTableRoute& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;} /** *The ID of a network interface.
*/ inline AnalysisRouteTableRoute& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;} /** *The ID of a network interface.
*/ inline AnalysisRouteTableRoute& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;} /** *Describes how the route was created. The following are the possible * values:
CreateRouteTable - The route was automatically created * when the route table was created.
CreateRoute - The route was * manually added to the route table.
EnableVgwRoutePropagation - * The route was propagated by route propagation.
Describes how the route was created. The following are the possible * values:
CreateRouteTable - The route was automatically created * when the route table was created.
CreateRoute - The route was * manually added to the route table.
EnableVgwRoutePropagation - * The route was propagated by route propagation.
Describes how the route was created. The following are the possible * values:
CreateRouteTable - The route was automatically created * when the route table was created.
CreateRoute - The route was * manually added to the route table.
EnableVgwRoutePropagation - * The route was propagated by route propagation.
Describes how the route was created. The following are the possible * values:
CreateRouteTable - The route was automatically created * when the route table was created.
CreateRoute - The route was * manually added to the route table.
EnableVgwRoutePropagation - * The route was propagated by route propagation.
Describes how the route was created. The following are the possible * values:
CreateRouteTable - The route was automatically created * when the route table was created.
CreateRoute - The route was * manually added to the route table.
EnableVgwRoutePropagation - * The route was propagated by route propagation.
Describes how the route was created. The following are the possible * values:
CreateRouteTable - The route was automatically created * when the route table was created.
CreateRoute - The route was * manually added to the route table.
EnableVgwRoutePropagation - * The route was propagated by route propagation.
Describes how the route was created. The following are the possible * values:
CreateRouteTable - The route was automatically created * when the route table was created.
CreateRoute - The route was * manually added to the route table.
EnableVgwRoutePropagation - * The route was propagated by route propagation.
Describes how the route was created. The following are the possible * values:
CreateRouteTable - The route was automatically created * when the route table was created.
CreateRoute - The route was * manually added to the route table.
EnableVgwRoutePropagation - * The route was propagated by route propagation.
The ID of a transit gateway.
*/ inline const Aws::String& GetTransitGatewayId() const{ return m_transitGatewayId; } /** *The ID of a transit gateway.
*/ inline bool TransitGatewayIdHasBeenSet() const { return m_transitGatewayIdHasBeenSet; } /** *The ID of a transit gateway.
*/ inline void SetTransitGatewayId(const Aws::String& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = value; } /** *The ID of a transit gateway.
*/ inline void SetTransitGatewayId(Aws::String&& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = std::move(value); } /** *The ID of a transit gateway.
*/ inline void SetTransitGatewayId(const char* value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId.assign(value); } /** *The ID of a transit gateway.
*/ inline AnalysisRouteTableRoute& WithTransitGatewayId(const Aws::String& value) { SetTransitGatewayId(value); return *this;} /** *The ID of a transit gateway.
*/ inline AnalysisRouteTableRoute& WithTransitGatewayId(Aws::String&& value) { SetTransitGatewayId(std::move(value)); return *this;} /** *The ID of a transit gateway.
*/ inline AnalysisRouteTableRoute& WithTransitGatewayId(const char* value) { SetTransitGatewayId(value); return *this;} /** *The ID of a VPC peering connection.
*/ inline const Aws::String& GetVpcPeeringConnectionId() const{ return m_vpcPeeringConnectionId; } /** *The ID of a VPC peering connection.
*/ inline bool VpcPeeringConnectionIdHasBeenSet() const { return m_vpcPeeringConnectionIdHasBeenSet; } /** *The ID of a VPC peering connection.
*/ inline void SetVpcPeeringConnectionId(const Aws::String& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = value; } /** *The ID of a VPC peering connection.
*/ inline void SetVpcPeeringConnectionId(Aws::String&& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = std::move(value); } /** *The ID of a VPC peering connection.
*/ inline void SetVpcPeeringConnectionId(const char* value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId.assign(value); } /** *The ID of a VPC peering connection.
*/ inline AnalysisRouteTableRoute& WithVpcPeeringConnectionId(const Aws::String& value) { SetVpcPeeringConnectionId(value); return *this;} /** *The ID of a VPC peering connection.
*/ inline AnalysisRouteTableRoute& WithVpcPeeringConnectionId(Aws::String&& value) { SetVpcPeeringConnectionId(std::move(value)); return *this;} /** *The ID of a VPC peering connection.
*/ inline AnalysisRouteTableRoute& WithVpcPeeringConnectionId(const char* value) { SetVpcPeeringConnectionId(value); return *this;} /** *The state. The following are the possible values:
active
*blackhole
The state. The following are the possible values:
active
*blackhole
The state. The following are the possible values:
active
*blackhole
The state. The following are the possible values:
active
*blackhole
The state. The following are the possible values:
active
*blackhole
The state. The following are the possible values:
active
*blackhole
The state. The following are the possible values:
active
*blackhole
The state. The following are the possible values:
active
*blackhole
The ID of a carrier gateway.
*/ inline const Aws::String& GetCarrierGatewayId() const{ return m_carrierGatewayId; } /** *The ID of a carrier gateway.
*/ inline bool CarrierGatewayIdHasBeenSet() const { return m_carrierGatewayIdHasBeenSet; } /** *The ID of a carrier gateway.
*/ inline void SetCarrierGatewayId(const Aws::String& value) { m_carrierGatewayIdHasBeenSet = true; m_carrierGatewayId = value; } /** *The ID of a carrier gateway.
*/ inline void SetCarrierGatewayId(Aws::String&& value) { m_carrierGatewayIdHasBeenSet = true; m_carrierGatewayId = std::move(value); } /** *The ID of a carrier gateway.
*/ inline void SetCarrierGatewayId(const char* value) { m_carrierGatewayIdHasBeenSet = true; m_carrierGatewayId.assign(value); } /** *The ID of a carrier gateway.
*/ inline AnalysisRouteTableRoute& WithCarrierGatewayId(const Aws::String& value) { SetCarrierGatewayId(value); return *this;} /** *The ID of a carrier gateway.
*/ inline AnalysisRouteTableRoute& WithCarrierGatewayId(Aws::String&& value) { SetCarrierGatewayId(std::move(value)); return *this;} /** *The ID of a carrier gateway.
*/ inline AnalysisRouteTableRoute& WithCarrierGatewayId(const char* value) { SetCarrierGatewayId(value); return *this;} /** *The Amazon Resource Name (ARN) of a core network.
*/ inline const Aws::String& GetCoreNetworkArn() const{ return m_coreNetworkArn; } /** *The Amazon Resource Name (ARN) of a core network.
*/ inline bool CoreNetworkArnHasBeenSet() const { return m_coreNetworkArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of a core network.
*/ inline void SetCoreNetworkArn(const Aws::String& value) { m_coreNetworkArnHasBeenSet = true; m_coreNetworkArn = value; } /** *The Amazon Resource Name (ARN) of a core network.
*/ inline void SetCoreNetworkArn(Aws::String&& value) { m_coreNetworkArnHasBeenSet = true; m_coreNetworkArn = std::move(value); } /** *The Amazon Resource Name (ARN) of a core network.
*/ inline void SetCoreNetworkArn(const char* value) { m_coreNetworkArnHasBeenSet = true; m_coreNetworkArn.assign(value); } /** *The Amazon Resource Name (ARN) of a core network.
*/ inline AnalysisRouteTableRoute& WithCoreNetworkArn(const Aws::String& value) { SetCoreNetworkArn(value); return *this;} /** *The Amazon Resource Name (ARN) of a core network.
*/ inline AnalysisRouteTableRoute& WithCoreNetworkArn(Aws::String&& value) { SetCoreNetworkArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of a core network.
*/ inline AnalysisRouteTableRoute& WithCoreNetworkArn(const char* value) { SetCoreNetworkArn(value); return *this;} /** *The ID of a local gateway.
*/ inline const Aws::String& GetLocalGatewayId() const{ return m_localGatewayId; } /** *The ID of a local gateway.
*/ inline bool LocalGatewayIdHasBeenSet() const { return m_localGatewayIdHasBeenSet; } /** *The ID of a local gateway.
*/ inline void SetLocalGatewayId(const Aws::String& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = value; } /** *The ID of a local gateway.
*/ inline void SetLocalGatewayId(Aws::String&& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = std::move(value); } /** *The ID of a local gateway.
*/ inline void SetLocalGatewayId(const char* value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId.assign(value); } /** *The ID of a local gateway.
*/ inline AnalysisRouteTableRoute& WithLocalGatewayId(const Aws::String& value) { SetLocalGatewayId(value); return *this;} /** *The ID of a local gateway.
*/ inline AnalysisRouteTableRoute& WithLocalGatewayId(Aws::String&& value) { SetLocalGatewayId(std::move(value)); return *this;} /** *The ID of a local gateway.
*/ inline AnalysisRouteTableRoute& WithLocalGatewayId(const char* value) { SetLocalGatewayId(value); return *this;} private: Aws::String m_destinationCidr; bool m_destinationCidrHasBeenSet = false; Aws::String m_destinationPrefixListId; bool m_destinationPrefixListIdHasBeenSet = false; Aws::String m_egressOnlyInternetGatewayId; bool m_egressOnlyInternetGatewayIdHasBeenSet = false; Aws::String m_gatewayId; bool m_gatewayIdHasBeenSet = false; Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; Aws::String m_natGatewayId; bool m_natGatewayIdHasBeenSet = false; Aws::String m_networkInterfaceId; bool m_networkInterfaceIdHasBeenSet = false; Aws::String m_origin; bool m_originHasBeenSet = false; Aws::String m_transitGatewayId; bool m_transitGatewayIdHasBeenSet = false; Aws::String m_vpcPeeringConnectionId; bool m_vpcPeeringConnectionIdHasBeenSet = false; Aws::String m_state; bool m_stateHasBeenSet = false; Aws::String m_carrierGatewayId; bool m_carrierGatewayIdHasBeenSet = false; Aws::String m_coreNetworkArn; bool m_coreNetworkArnHasBeenSet = false; Aws::String m_localGatewayId; bool m_localGatewayIdHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws