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/TransitGatewayAttachmentResourceType.h>
11#include <aws/ec2/model/TransitGatewayAssociationState.h>
53 inline void SetTransitGatewayAttachmentId(
const char* value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId.assign(value); }
67 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
100 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
103 bool m_resourceIdHasBeenSet =
false;
106 bool m_resourceTypeHasBeenSet =
false;
109 bool m_stateHasBeenSet =
false;
AWS_EC2_API TransitGatewayRouteTableAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
const TransitGatewayAttachmentResourceType & GetResourceType() const
void SetTransitGatewayAttachmentId(const Aws::String &value)
void SetResourceId(const char *value)
void SetResourceId(const Aws::String &value)
void SetResourceType(const TransitGatewayAttachmentResourceType &value)
TransitGatewayRouteTableAssociation & WithTransitGatewayAttachmentId(const Aws::String &value)
bool TransitGatewayAttachmentIdHasBeenSet() const
bool StateHasBeenSet() const
void SetState(TransitGatewayAssociationState &&value)
void SetTransitGatewayAttachmentId(Aws::String &&value)
const TransitGatewayAssociationState & GetState() const
AWS_EC2_API TransitGatewayRouteTableAssociation()
TransitGatewayRouteTableAssociation & WithResourceId(Aws::String &&value)
TransitGatewayRouteTableAssociation & WithTransitGatewayAttachmentId(const char *value)
TransitGatewayRouteTableAssociation & WithTransitGatewayAttachmentId(Aws::String &&value)
TransitGatewayRouteTableAssociation & WithResourceType(const TransitGatewayAttachmentResourceType &value)
TransitGatewayRouteTableAssociation & WithResourceType(TransitGatewayAttachmentResourceType &&value)
const Aws::String & GetTransitGatewayAttachmentId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTransitGatewayAttachmentId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool ResourceIdHasBeenSet() const
bool ResourceTypeHasBeenSet() const
TransitGatewayRouteTableAssociation & WithResourceId(const Aws::String &value)
TransitGatewayRouteTableAssociation & WithResourceId(const char *value)
void SetResourceId(Aws::String &&value)
const Aws::String & GetResourceId() const
void SetState(const TransitGatewayAssociationState &value)
TransitGatewayRouteTableAssociation & WithState(const TransitGatewayAssociationState &value)
TransitGatewayRouteTableAssociation & WithState(TransitGatewayAssociationState &&value)
AWS_EC2_API TransitGatewayRouteTableAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetResourceType(TransitGatewayAttachmentResourceType &&value)
TransitGatewayAssociationState
TransitGatewayAttachmentResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream