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/TransitGatewayAssociationState.h>
51 inline void SetTransitGatewayRouteTableId(
const char* value) { m_transitGatewayRouteTableIdHasBeenSet =
true; m_transitGatewayRouteTableId.assign(value); }
71 bool m_transitGatewayRouteTableIdHasBeenSet =
false;
74 bool m_stateHasBeenSet =
false;
TransitGatewayAttachmentAssociation & WithTransitGatewayRouteTableId(Aws::String &&value)
AWS_EC2_API TransitGatewayAttachmentAssociation()
void SetState(const TransitGatewayAssociationState &value)
TransitGatewayAttachmentAssociation & WithTransitGatewayRouteTableId(const Aws::String &value)
TransitGatewayAttachmentAssociation & WithState(const TransitGatewayAssociationState &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTransitGatewayRouteTableId(Aws::String &&value)
TransitGatewayAttachmentAssociation & WithState(TransitGatewayAssociationState &&value)
bool StateHasBeenSet() const
void SetState(TransitGatewayAssociationState &&value)
bool TransitGatewayRouteTableIdHasBeenSet() const
void SetTransitGatewayRouteTableId(const char *value)
AWS_EC2_API TransitGatewayAttachmentAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
const TransitGatewayAssociationState & GetState() const
AWS_EC2_API TransitGatewayAttachmentAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTransitGatewayRouteTableId(const Aws::String &value)
const Aws::String & GetTransitGatewayRouteTableId() const
TransitGatewayAttachmentAssociation & WithTransitGatewayRouteTableId(const char *value)
TransitGatewayAssociationState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream