/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a route table.See Also:
AWS API
* Reference
The associations between the route table and one or more subnets or a * gateway.
*/ inline const Aws::VectorThe associations between the route table and one or more subnets or a * gateway.
*/ inline bool AssociationsHasBeenSet() const { return m_associationsHasBeenSet; } /** *The associations between the route table and one or more subnets or a * gateway.
*/ inline void SetAssociations(const Aws::VectorThe associations between the route table and one or more subnets or a * gateway.
*/ inline void SetAssociations(Aws::VectorThe associations between the route table and one or more subnets or a * gateway.
*/ inline RouteTable& WithAssociations(const Aws::VectorThe associations between the route table and one or more subnets or a * gateway.
*/ inline RouteTable& WithAssociations(Aws::VectorThe associations between the route table and one or more subnets or a * gateway.
*/ inline RouteTable& AddAssociations(const RouteTableAssociation& value) { m_associationsHasBeenSet = true; m_associations.push_back(value); return *this; } /** *The associations between the route table and one or more subnets or a * gateway.
*/ inline RouteTable& AddAssociations(RouteTableAssociation&& value) { m_associationsHasBeenSet = true; m_associations.push_back(std::move(value)); return *this; } /** *Any virtual private gateway (VGW) propagating routes.
*/ inline const Aws::VectorAny virtual private gateway (VGW) propagating routes.
*/ inline bool PropagatingVgwsHasBeenSet() const { return m_propagatingVgwsHasBeenSet; } /** *Any virtual private gateway (VGW) propagating routes.
*/ inline void SetPropagatingVgws(const Aws::VectorAny virtual private gateway (VGW) propagating routes.
*/ inline void SetPropagatingVgws(Aws::VectorAny virtual private gateway (VGW) propagating routes.
*/ inline RouteTable& WithPropagatingVgws(const Aws::VectorAny virtual private gateway (VGW) propagating routes.
*/ inline RouteTable& WithPropagatingVgws(Aws::VectorAny virtual private gateway (VGW) propagating routes.
*/ inline RouteTable& AddPropagatingVgws(const PropagatingVgw& value) { m_propagatingVgwsHasBeenSet = true; m_propagatingVgws.push_back(value); return *this; } /** *Any virtual private gateway (VGW) propagating routes.
*/ inline RouteTable& AddPropagatingVgws(PropagatingVgw&& value) { m_propagatingVgwsHasBeenSet = true; m_propagatingVgws.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 RouteTable& WithRouteTableId(const Aws::String& value) { SetRouteTableId(value); return *this;} /** *The ID of the route table.
*/ inline RouteTable& WithRouteTableId(Aws::String&& value) { SetRouteTableId(std::move(value)); return *this;} /** *The ID of the route table.
*/ inline RouteTable& 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 RoutesHasBeenSet() const { return m_routesHasBeenSet; } /** *The routes in the route table.
*/ inline void SetRoutes(const Aws::VectorThe routes in the route table.
*/ inline void SetRoutes(Aws::VectorThe routes in the route table.
*/ inline RouteTable& WithRoutes(const Aws::VectorThe routes in the route table.
*/ inline RouteTable& WithRoutes(Aws::VectorThe routes in the route table.
*/ inline RouteTable& AddRoutes(const Route& value) { m_routesHasBeenSet = true; m_routes.push_back(value); return *this; } /** *The routes in the route table.
*/ inline RouteTable& AddRoutes(Route&& value) { m_routesHasBeenSet = true; m_routes.push_back(std::move(value)); return *this; } /** *Any tags assigned to the route table.
*/ inline const Aws::VectorAny tags assigned to the route table.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Any tags assigned to the route table.
*/ inline void SetTags(const Aws::VectorAny tags assigned to the route table.
*/ inline void SetTags(Aws::VectorAny tags assigned to the route table.
*/ inline RouteTable& WithTags(const Aws::VectorAny tags assigned to the route table.
*/ inline RouteTable& WithTags(Aws::VectorAny tags assigned to the route table.
*/ inline RouteTable& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Any tags assigned to the route table.
*/ inline RouteTable& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *The ID of the VPC.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The ID of the VPC.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The ID of the VPC.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The ID of the VPC.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The ID of the VPC.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The ID of the VPC.
*/ inline RouteTable& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID of the VPC.
*/ inline RouteTable& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID of the VPC.
*/ inline RouteTable& WithVpcId(const char* value) { SetVpcId(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 RouteTable& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The ID of the Amazon Web Services account that owns the route table.
*/ inline RouteTable& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the route table.
*/ inline RouteTable& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} private: Aws::Vector