7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/RouteTableAssociation.h>
12#include <aws/ec2/model/PropagatingVgw.h>
13#include <aws/ec2/model/Route.h>
14#include <aws/ec2/model/Tag.h>
53 template<
typename AssociationsT = Aws::Vector<RouteTableAssociation>>
54 void SetAssociations(AssociationsT&& value) { m_associationsHasBeenSet =
true; m_associations = std::forward<AssociationsT>(value); }
55 template<
typename AssociationsT = Aws::Vector<RouteTableAssociation>>
57 template<
typename AssociationsT = RouteTableAssociation>
58 RouteTable&
AddAssociations(AssociationsT&& value) { m_associationsHasBeenSet =
true; m_associations.emplace_back(std::forward<AssociationsT>(value));
return *
this; }
67 template<
typename PropagatingVgwsT = Aws::Vector<PropagatingVgw>>
68 void SetPropagatingVgws(PropagatingVgwsT&& value) { m_propagatingVgwsHasBeenSet =
true; m_propagatingVgws = std::forward<PropagatingVgwsT>(value); }
69 template<
typename PropagatingVgwsT = Aws::Vector<PropagatingVgw>>
71 template<
typename PropagatingVgwsT = PropagatingVgw>
72 RouteTable&
AddPropagatingVgws(PropagatingVgwsT&& value) { m_propagatingVgwsHasBeenSet =
true; m_propagatingVgws.emplace_back(std::forward<PropagatingVgwsT>(value));
return *
this; }
81 template<
typename RouteTableIdT = Aws::String>
82 void SetRouteTableId(RouteTableIdT&& value) { m_routeTableIdHasBeenSet =
true; m_routeTableId = std::forward<RouteTableIdT>(value); }
83 template<
typename RouteTableIdT = Aws::String>
93 template<
typename RoutesT = Aws::Vector<Route>>
94 void SetRoutes(RoutesT&& value) { m_routesHasBeenSet =
true; m_routes = std::forward<RoutesT>(value); }
95 template<
typename RoutesT = Aws::Vector<Route>>
97 template<
typename RoutesT = Route>
98 RouteTable&
AddRoutes(RoutesT&& value) { m_routesHasBeenSet =
true; m_routes.emplace_back(std::forward<RoutesT>(value));
return *
this; }
107 template<
typename TagsT = Aws::Vector<Tag>>
108 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
109 template<
typename TagsT = Aws::Vector<Tag>>
111 template<
typename TagsT = Tag>
112 RouteTable&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
121 template<
typename VpcIdT = Aws::String>
122 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
123 template<
typename VpcIdT = Aws::String>
133 template<
typename OwnerIdT = Aws::String>
134 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
135 template<
typename OwnerIdT = Aws::String>
141 bool m_associationsHasBeenSet =
false;
144 bool m_propagatingVgwsHasBeenSet =
false;
147 bool m_routeTableIdHasBeenSet =
false;
150 bool m_routesHasBeenSet =
false;
153 bool m_tagsHasBeenSet =
false;
156 bool m_vpcIdHasBeenSet =
false;
159 bool m_ownerIdHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool TagsHasBeenSet() const
RouteTable & AddPropagatingVgws(PropagatingVgwsT &&value)
bool VpcIdHasBeenSet() const
void SetOwnerId(OwnerIdT &&value)
RouteTable & WithRoutes(RoutesT &&value)
bool PropagatingVgwsHasBeenSet() const
RouteTable & WithRouteTableId(RouteTableIdT &&value)
const Aws::Vector< PropagatingVgw > & GetPropagatingVgws() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool AssociationsHasBeenSet() const
RouteTable & WithTags(TagsT &&value)
void SetVpcId(VpcIdT &&value)
RouteTable & AddTags(TagsT &&value)
AWS_EC2_API RouteTable & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRoutes(RoutesT &&value)
void SetRouteTableId(RouteTableIdT &&value)
const Aws::Vector< RouteTableAssociation > & GetAssociations() const
const Aws::String & GetVpcId() const
RouteTable & WithVpcId(VpcIdT &&value)
RouteTable & WithAssociations(AssociationsT &&value)
AWS_EC2_API RouteTable(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTags(TagsT &&value)
AWS_EC2_API RouteTable()=default
RouteTable & WithOwnerId(OwnerIdT &&value)
void SetAssociations(AssociationsT &&value)
const Aws::Vector< Route > & GetRoutes() const
bool RouteTableIdHasBeenSet() const
bool RoutesHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool OwnerIdHasBeenSet() const
const Aws::String & GetOwnerId() const
RouteTable & AddRoutes(RoutesT &&value)
void SetPropagatingVgws(PropagatingVgwsT &&value)
RouteTable & WithPropagatingVgws(PropagatingVgwsT &&value)
RouteTable & AddAssociations(AssociationsT &&value)
const Aws::String & GetRouteTableId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream