7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/RouteTableAssociationState.h>
48 inline bool GetMain()
const {
return m_main; }
50 inline void SetMain(
bool value) { m_mainHasBeenSet =
true; m_main = value; }
60 template<
typename RouteTableAssociationIdT = Aws::String>
61 void SetRouteTableAssociationId(RouteTableAssociationIdT&& value) { m_routeTableAssociationIdHasBeenSet =
true; m_routeTableAssociationId = std::forward<RouteTableAssociationIdT>(value); }
62 template<
typename RouteTableAssociationIdT = Aws::String>
72 template<
typename RouteTableIdT = Aws::String>
73 void SetRouteTableId(RouteTableIdT&& value) { m_routeTableIdHasBeenSet =
true; m_routeTableId = std::forward<RouteTableIdT>(value); }
74 template<
typename RouteTableIdT = Aws::String>
85 template<
typename SubnetIdT = Aws::String>
86 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
87 template<
typename SubnetIdT = Aws::String>
97 template<
typename GatewayIdT = Aws::String>
98 void SetGatewayId(GatewayIdT&& value) { m_gatewayIdHasBeenSet =
true; m_gatewayId = std::forward<GatewayIdT>(value); }
99 template<
typename GatewayIdT = Aws::String>
109 template<
typename AssociationStateT = RouteTableAssociationState>
110 void SetAssociationState(AssociationStateT&& value) { m_associationStateHasBeenSet =
true; m_associationState = std::forward<AssociationStateT>(value); }
111 template<
typename AssociationStateT = RouteTableAssociationState>
117 bool m_mainHasBeenSet =
false;
120 bool m_routeTableAssociationIdHasBeenSet =
false;
123 bool m_routeTableIdHasBeenSet =
false;
126 bool m_subnetIdHasBeenSet =
false;
129 bool m_gatewayIdHasBeenSet =
false;
131 RouteTableAssociationState m_associationState;
132 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
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)
void SetRouteTableId(RouteTableIdT &&value)
const Aws::String & GetRouteTableId() const
bool AssociationStateHasBeenSet() const
const RouteTableAssociationState & GetAssociationState() const
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