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; }
62 inline void SetRouteTableAssociationId(
const char* value) { m_routeTableAssociationIdHasBeenSet =
true; m_routeTableAssociationId.assign(value); }
76 inline void SetRouteTableId(
const char* value) { m_routeTableIdHasBeenSet =
true; m_routeTableId.assign(value); }
91 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
105 inline void SetGatewayId(
const char* value) { m_gatewayIdHasBeenSet =
true; m_gatewayId.assign(value); }
125 bool m_mainHasBeenSet =
false;
128 bool m_routeTableAssociationIdHasBeenSet =
false;
131 bool m_routeTableIdHasBeenSet =
false;
134 bool m_subnetIdHasBeenSet =
false;
137 bool m_gatewayIdHasBeenSet =
false;
140 bool m_associationStateHasBeenSet =
false;
RouteTableAssociation & WithSubnetId(const Aws::String &value)
bool MainHasBeenSet() const
AWS_EC2_API RouteTableAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetSubnetId() const
RouteTableAssociation & WithAssociationState(const RouteTableAssociationState &value)
AWS_EC2_API RouteTableAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSubnetId(const char *value)
RouteTableAssociation & WithMain(bool value)
const Aws::String & GetGatewayId() const
RouteTableAssociation & WithRouteTableId(const char *value)
RouteTableAssociation & WithRouteTableAssociationId(const char *value)
bool GatewayIdHasBeenSet() const
RouteTableAssociation & WithGatewayId(const char *value)
void SetSubnetId(Aws::String &&value)
void SetGatewayId(Aws::String &&value)
RouteTableAssociation & WithRouteTableAssociationId(Aws::String &&value)
const Aws::String & GetRouteTableAssociationId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetSubnetId(const Aws::String &value)
void SetRouteTableId(const Aws::String &value)
void SetAssociationState(const RouteTableAssociationState &value)
void SetRouteTableId(Aws::String &&value)
bool SubnetIdHasBeenSet() const
void SetRouteTableAssociationId(const char *value)
RouteTableAssociation & WithRouteTableAssociationId(const Aws::String &value)
void SetGatewayId(const char *value)
void SetAssociationState(RouteTableAssociationState &&value)
AWS_EC2_API RouteTableAssociation()
RouteTableAssociation & WithRouteTableId(const Aws::String &value)
const Aws::String & GetRouteTableId() const
bool AssociationStateHasBeenSet() const
RouteTableAssociation & WithSubnetId(Aws::String &&value)
RouteTableAssociation & WithRouteTableId(Aws::String &&value)
const RouteTableAssociationState & GetAssociationState() const
RouteTableAssociation & WithGatewayId(const Aws::String &value)
void SetRouteTableId(const char *value)
void SetRouteTableAssociationId(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetGatewayId(const Aws::String &value)
void SetRouteTableAssociationId(Aws::String &&value)
bool RouteTableIdHasBeenSet() const
RouteTableAssociation & WithGatewayId(Aws::String &&value)
RouteTableAssociation & WithSubnetId(const char *value)
bool RouteTableAssociationIdHasBeenSet() const
RouteTableAssociation & WithAssociationState(RouteTableAssociationState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream