7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/RouteTableAssociationState.h>
42 inline bool GetMain()
const {
return m_main; }
45 m_mainHasBeenSet =
true;
60 template <
typename RouteTableAssociationIdT = Aws::String>
62 m_routeTableAssociationIdHasBeenSet =
true;
63 m_routeTableAssociationId = std::forward<RouteTableAssociationIdT>(value);
65 template <
typename RouteTableAssociationIdT = Aws::String>
78 template <
typename RouteTableIdT = Aws::String>
80 m_routeTableIdHasBeenSet =
true;
81 m_routeTableId = std::forward<RouteTableIdT>(value);
83 template <
typename RouteTableIdT = Aws::String>
97 template <
typename SubnetIdT = Aws::String>
99 m_subnetIdHasBeenSet =
true;
100 m_subnetId = std::forward<SubnetIdT>(value);
102 template <
typename SubnetIdT = Aws::String>
115 template <
typename GatewayIdT = Aws::String>
117 m_gatewayIdHasBeenSet =
true;
118 m_gatewayId = std::forward<GatewayIdT>(value);
120 template <
typename GatewayIdT = Aws::String>
134 template <
typename PublicIpv4PoolT = Aws::String>
136 m_publicIpv4PoolHasBeenSet =
true;
137 m_publicIpv4Pool = std::forward<PublicIpv4PoolT>(value);
139 template <
typename PublicIpv4PoolT = Aws::String>
152 template <
typename AssociationStateT = RouteTableAssociationState>
154 m_associationStateHasBeenSet =
true;
155 m_associationState = std::forward<AssociationStateT>(value);
157 template <
typename AssociationStateT = RouteTableAssociationState>
176 RouteTableAssociationState m_associationState;
177 bool m_mainHasBeenSet =
false;
178 bool m_routeTableAssociationIdHasBeenSet =
false;
179 bool m_routeTableIdHasBeenSet =
false;
180 bool m_subnetIdHasBeenSet =
false;
181 bool m_gatewayIdHasBeenSet =
false;
182 bool m_publicIpv4PoolHasBeenSet =
false;
183 bool m_associationStateHasBeenSet =
false;
RouteTableAssociation & WithRouteTableAssociationId(RouteTableAssociationIdT &&value)
AWS_EC2_API RouteTableAssociation()=default
bool MainHasBeenSet() const
AWS_EC2_API RouteTableAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetSubnetId() const
void SetGatewayId(GatewayIdT &&value)
AWS_EC2_API RouteTableAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
RouteTableAssociation & WithMain(bool value)
RouteTableAssociation & WithGatewayId(GatewayIdT &&value)
RouteTableAssociation & WithRouteTableId(RouteTableIdT &&value)
RouteTableAssociation & WithSubnetId(SubnetIdT &&value)
const Aws::String & GetGatewayId() const
bool GatewayIdHasBeenSet() const
bool PublicIpv4PoolHasBeenSet() const
const Aws::String & GetPublicIpv4Pool() const
const Aws::String & GetRouteTableAssociationId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool SubnetIdHasBeenSet() const
void SetSubnetId(SubnetIdT &&value)
RouteTableAssociation & WithAssociationState(AssociationStateT &&value)
RouteTableAssociation & WithPublicIpv4Pool(PublicIpv4PoolT &&value)
void SetRouteTableId(RouteTableIdT &&value)
const Aws::String & GetRouteTableId() const
bool AssociationStateHasBeenSet() const
const RouteTableAssociationState & GetAssociationState() const
void SetPublicIpv4Pool(PublicIpv4PoolT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetRouteTableAssociationId(RouteTableAssociationIdT &&value)
bool RouteTableIdHasBeenSet() const
void SetAssociationState(AssociationStateT &&value)
bool RouteTableAssociationIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream