7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/PropagatingVgw.h>
12#include <aws/ec2/model/Route.h>
13#include <aws/ec2/model/RouteTableAssociation.h>
14#include <aws/ec2/model/Tag.h>
47 template <
typename AssociationsT = Aws::Vector<RouteTableAssociation>>
49 m_associationsHasBeenSet =
true;
50 m_associations = std::forward<AssociationsT>(value);
52 template <
typename AssociationsT = Aws::Vector<RouteTableAssociation>>
57 template <
typename AssociationsT = RouteTableAssociation>
59 m_associationsHasBeenSet =
true;
60 m_associations.emplace_back(std::forward<AssociationsT>(value));
71 template <
typename PropagatingVgwsT = Aws::Vector<PropagatingVgw>>
73 m_propagatingVgwsHasBeenSet =
true;
74 m_propagatingVgws = std::forward<PropagatingVgwsT>(value);
76 template <
typename PropagatingVgwsT = Aws::Vector<PropagatingVgw>>
81 template <
typename PropagatingVgwsT = PropagatingVgw>
83 m_propagatingVgwsHasBeenSet =
true;
84 m_propagatingVgws.emplace_back(std::forward<PropagatingVgwsT>(value));
95 template <
typename RouteTableIdT = Aws::String>
97 m_routeTableIdHasBeenSet =
true;
98 m_routeTableId = std::forward<RouteTableIdT>(value);
100 template <
typename RouteTableIdT = Aws::String>
113 template <
typename RoutesT = Aws::Vector<Route>>
115 m_routesHasBeenSet =
true;
116 m_routes = std::forward<RoutesT>(value);
118 template <
typename RoutesT = Aws::Vector<Route>>
123 template <
typename RoutesT = Route>
125 m_routesHasBeenSet =
true;
126 m_routes.emplace_back(std::forward<RoutesT>(value));
137 template <
typename TagsT = Aws::Vector<Tag>>
139 m_tagsHasBeenSet =
true;
140 m_tags = std::forward<TagsT>(value);
142 template <
typename TagsT = Aws::Vector<Tag>>
144 SetTags(std::forward<TagsT>(value));
147 template <
typename TagsT = Tag>
149 m_tagsHasBeenSet =
true;
150 m_tags.emplace_back(std::forward<TagsT>(value));
161 template <
typename VpcIdT = Aws::String>
163 m_vpcIdHasBeenSet =
true;
164 m_vpcId = std::forward<VpcIdT>(value);
166 template <
typename VpcIdT = Aws::String>
168 SetVpcId(std::forward<VpcIdT>(value));
179 template <
typename OwnerIdT = Aws::String>
181 m_ownerIdHasBeenSet =
true;
182 m_ownerId = std::forward<OwnerIdT>(value);
184 template <
typename OwnerIdT = Aws::String>
204 bool m_associationsHasBeenSet =
false;
205 bool m_propagatingVgwsHasBeenSet =
false;
206 bool m_routeTableIdHasBeenSet =
false;
207 bool m_routesHasBeenSet =
false;
208 bool m_tagsHasBeenSet =
false;
209 bool m_vpcIdHasBeenSet =
false;
210 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