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 SetTransitGatewayPolicyTableId(
const char* value) { m_transitGatewayPolicyTableIdHasBeenSet =
true; m_transitGatewayPolicyTableId.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); }
113 bool m_transitGatewayPolicyTableIdHasBeenSet =
false;
116 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
119 bool m_resourceIdHasBeenSet =
false;
122 bool m_resourceTypeHasBeenSet =
false;
125 bool m_stateHasBeenSet =
false;
AWS_EC2_API TransitGatewayPolicyTableAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTransitGatewayAttachmentId(const char *value)
bool ResourceTypeHasBeenSet() const
bool TransitGatewayPolicyTableIdHasBeenSet() const
void SetResourceId(const Aws::String &value)
const Aws::String & GetTransitGatewayPolicyTableId() const
void SetTransitGatewayAttachmentId(Aws::String &&value)
void SetState(TransitGatewayAssociationState &&value)
TransitGatewayPolicyTableAssociation & WithResourceType(const TransitGatewayAttachmentResourceType &value)
void SetResourceType(TransitGatewayAttachmentResourceType &&value)
void SetResourceId(const char *value)
void SetTransitGatewayPolicyTableId(const Aws::String &value)
TransitGatewayPolicyTableAssociation & WithResourceId(const char *value)
TransitGatewayPolicyTableAssociation & WithResourceType(TransitGatewayAttachmentResourceType &&value)
TransitGatewayPolicyTableAssociation & WithTransitGatewayPolicyTableId(const char *value)
void SetTransitGatewayAttachmentId(const Aws::String &value)
TransitGatewayPolicyTableAssociation & WithTransitGatewayAttachmentId(const Aws::String &value)
TransitGatewayPolicyTableAssociation & WithState(TransitGatewayAssociationState &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API TransitGatewayPolicyTableAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TransitGatewayAttachmentIdHasBeenSet() const
TransitGatewayPolicyTableAssociation & WithTransitGatewayPolicyTableId(Aws::String &&value)
void SetResourceType(const TransitGatewayAttachmentResourceType &value)
TransitGatewayPolicyTableAssociation & WithResourceId(Aws::String &&value)
const Aws::String & GetTransitGatewayAttachmentId() const
void SetResourceId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTransitGatewayPolicyTableId(const char *value)
void SetTransitGatewayPolicyTableId(Aws::String &&value)
const Aws::String & GetResourceId() const
TransitGatewayPolicyTableAssociation & WithTransitGatewayPolicyTableId(const Aws::String &value)
TransitGatewayPolicyTableAssociation & WithTransitGatewayAttachmentId(const char *value)
bool ResourceIdHasBeenSet() const
AWS_EC2_API TransitGatewayPolicyTableAssociation()
TransitGatewayPolicyTableAssociation & WithState(const TransitGatewayAssociationState &value)
const TransitGatewayAttachmentResourceType & GetResourceType() const
bool StateHasBeenSet() const
void SetState(const TransitGatewayAssociationState &value)
TransitGatewayPolicyTableAssociation & WithTransitGatewayAttachmentId(Aws::String &&value)
TransitGatewayPolicyTableAssociation & WithResourceId(const Aws::String &value)
const TransitGatewayAssociationState & GetState() const
TransitGatewayAssociationState
TransitGatewayAttachmentResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream