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 SetTransitGatewayRouteTableId(
const char* value) { m_transitGatewayRouteTableIdHasBeenSet =
true; m_transitGatewayRouteTableId.assign(value); }
67 inline void SetTransitGatewayAttachmentId(
const char* value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId.assign(value); }
81 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
114 bool m_transitGatewayRouteTableIdHasBeenSet =
false;
117 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
120 bool m_resourceIdHasBeenSet =
false;
123 bool m_resourceTypeHasBeenSet =
false;
126 bool m_stateHasBeenSet =
false;
void SetState(TransitGatewayAssociationState &&value)
void SetTransitGatewayRouteTableId(const char *value)
void SetTransitGatewayAttachmentId(Aws::String &&value)
void SetResourceId(const char *value)
TransitGatewayAssociation & WithResourceId(const Aws::String &value)
TransitGatewayAssociation & WithTransitGatewayAttachmentId(const Aws::String &value)
TransitGatewayAssociation & WithTransitGatewayRouteTableId(const char *value)
const TransitGatewayAssociationState & GetState() const
const Aws::String & GetResourceId() const
void SetTransitGatewayAttachmentId(const char *value)
void SetTransitGatewayRouteTableId(const Aws::String &value)
TransitGatewayAssociation & WithTransitGatewayRouteTableId(const Aws::String &value)
AWS_EC2_API TransitGatewayAssociation()
bool StateHasBeenSet() const
void SetResourceId(Aws::String &&value)
const Aws::String & GetTransitGatewayRouteTableId() const
void SetResourceType(const TransitGatewayAttachmentResourceType &value)
TransitGatewayAssociation & WithResourceId(Aws::String &&value)
TransitGatewayAssociation & WithResourceType(const TransitGatewayAttachmentResourceType &value)
void SetTransitGatewayAttachmentId(const Aws::String &value)
void SetTransitGatewayRouteTableId(Aws::String &&value)
TransitGatewayAssociation & WithState(TransitGatewayAssociationState &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TransitGatewayAssociation & WithState(const TransitGatewayAssociationState &value)
bool TransitGatewayRouteTableIdHasBeenSet() const
AWS_EC2_API TransitGatewayAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayAssociation & WithResourceType(TransitGatewayAttachmentResourceType &&value)
const Aws::String & GetTransitGatewayAttachmentId() const
TransitGatewayAssociation & WithTransitGatewayRouteTableId(Aws::String &&value)
TransitGatewayAssociation & WithTransitGatewayAttachmentId(Aws::String &&value)
void SetResourceId(const Aws::String &value)
TransitGatewayAssociation & WithResourceId(const char *value)
bool ResourceTypeHasBeenSet() const
bool TransitGatewayAttachmentIdHasBeenSet() const
void SetResourceType(TransitGatewayAttachmentResourceType &&value)
const TransitGatewayAttachmentResourceType & GetResourceType() const
void SetState(const TransitGatewayAssociationState &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool ResourceIdHasBeenSet() const
TransitGatewayAssociation & WithTransitGatewayAttachmentId(const char *value)
AWS_EC2_API TransitGatewayAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayAssociationState
TransitGatewayAttachmentResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream