/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides details about a route table for the specified VPC. See
* Also:
AWS
* API Reference
The associations between a route table and one or more subnets or a gateway. *
*/ inline const Aws::VectorThe associations between a route table and one or more subnets or a gateway. *
*/ inline bool AssociationSetHasBeenSet() const { return m_associationSetHasBeenSet; } /** *The associations between a route table and one or more subnets or a gateway. *
*/ inline void SetAssociationSet(const Aws::VectorThe associations between a route table and one or more subnets or a gateway. *
*/ inline void SetAssociationSet(Aws::VectorThe associations between a route table and one or more subnets or a gateway. *
*/ inline AwsEc2RouteTableDetails& WithAssociationSet(const Aws::VectorThe associations between a route table and one or more subnets or a gateway. *
*/ inline AwsEc2RouteTableDetails& WithAssociationSet(Aws::VectorThe associations between a route table and one or more subnets or a gateway. *
*/ inline AwsEc2RouteTableDetails& AddAssociationSet(const AssociationSetDetails& value) { m_associationSetHasBeenSet = true; m_associationSet.push_back(value); return *this; } /** *The associations between a route table and one or more subnets or a gateway. *
*/ inline AwsEc2RouteTableDetails& AddAssociationSet(AssociationSetDetails&& value) { m_associationSetHasBeenSet = true; m_associationSet.push_back(std::move(value)); return *this; } /** *The ID of the Amazon Web Services account that owns the route table.
*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *The ID of the Amazon Web Services account that owns the route table.
*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *The ID of the Amazon Web Services account that owns the route table.
*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *The ID of the Amazon Web Services account that owns the route table.
*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *The ID of the Amazon Web Services account that owns the route table.
*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *The ID of the Amazon Web Services account that owns the route table.
*/ inline AwsEc2RouteTableDetails& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The ID of the Amazon Web Services account that owns the route table.
*/ inline AwsEc2RouteTableDetails& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the route table.
*/ inline AwsEc2RouteTableDetails& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *Describes a virtual private gateway propagating route.
*/ inline const Aws::VectorDescribes a virtual private gateway propagating route.
*/ inline bool PropagatingVgwSetHasBeenSet() const { return m_propagatingVgwSetHasBeenSet; } /** *Describes a virtual private gateway propagating route.
*/ inline void SetPropagatingVgwSet(const Aws::VectorDescribes a virtual private gateway propagating route.
*/ inline void SetPropagatingVgwSet(Aws::VectorDescribes a virtual private gateway propagating route.
*/ inline AwsEc2RouteTableDetails& WithPropagatingVgwSet(const Aws::VectorDescribes a virtual private gateway propagating route.
*/ inline AwsEc2RouteTableDetails& WithPropagatingVgwSet(Aws::VectorDescribes a virtual private gateway propagating route.
*/ inline AwsEc2RouteTableDetails& AddPropagatingVgwSet(const PropagatingVgwSetDetails& value) { m_propagatingVgwSetHasBeenSet = true; m_propagatingVgwSet.push_back(value); return *this; } /** *Describes a virtual private gateway propagating route.
*/ inline AwsEc2RouteTableDetails& AddPropagatingVgwSet(PropagatingVgwSetDetails&& value) { m_propagatingVgwSetHasBeenSet = true; m_propagatingVgwSet.push_back(std::move(value)); return *this; } /** *The ID of the route table.
*/ inline const Aws::String& GetRouteTableId() const{ return m_routeTableId; } /** *The ID of the route table.
*/ inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; } /** *The ID of the route table.
*/ inline void SetRouteTableId(const Aws::String& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; } /** *The ID of the route table.
*/ inline void SetRouteTableId(Aws::String&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); } /** *The ID of the route table.
*/ inline void SetRouteTableId(const char* value) { m_routeTableIdHasBeenSet = true; m_routeTableId.assign(value); } /** *The ID of the route table.
*/ inline AwsEc2RouteTableDetails& WithRouteTableId(const Aws::String& value) { SetRouteTableId(value); return *this;} /** *The ID of the route table.
*/ inline AwsEc2RouteTableDetails& WithRouteTableId(Aws::String&& value) { SetRouteTableId(std::move(value)); return *this;} /** *The ID of the route table.
*/ inline AwsEc2RouteTableDetails& WithRouteTableId(const char* value) { SetRouteTableId(value); return *this;} /** *The routes in the route table.
*/ inline const Aws::VectorThe routes in the route table.
*/ inline bool RouteSetHasBeenSet() const { return m_routeSetHasBeenSet; } /** *The routes in the route table.
*/ inline void SetRouteSet(const Aws::VectorThe routes in the route table.
*/ inline void SetRouteSet(Aws::VectorThe routes in the route table.
*/ inline AwsEc2RouteTableDetails& WithRouteSet(const Aws::VectorThe routes in the route table.
*/ inline AwsEc2RouteTableDetails& WithRouteSet(Aws::VectorThe routes in the route table.
*/ inline AwsEc2RouteTableDetails& AddRouteSet(const RouteSetDetails& value) { m_routeSetHasBeenSet = true; m_routeSet.push_back(value); return *this; } /** *The routes in the route table.
*/ inline AwsEc2RouteTableDetails& AddRouteSet(RouteSetDetails&& value) { m_routeSetHasBeenSet = true; m_routeSet.push_back(std::move(value)); return *this; } /** *The ID of the virtual private cloud (VPC).
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The ID of the virtual private cloud (VPC).
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The ID of the virtual private cloud (VPC).
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The ID of the virtual private cloud (VPC).
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The ID of the virtual private cloud (VPC).
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The ID of the virtual private cloud (VPC).
*/ inline AwsEc2RouteTableDetails& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID of the virtual private cloud (VPC).
*/ inline AwsEc2RouteTableDetails& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID of the virtual private cloud (VPC).
*/ inline AwsEc2RouteTableDetails& WithVpcId(const char* value) { SetVpcId(value); return *this;} private: Aws::Vector