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/TransitGatewayAttachmentState.h>
12#include <aws/ec2/model/TransitGatewayAttachmentAssociation.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/ec2/model/Tag.h>
57 inline void SetTransitGatewayAttachmentId(
const char* value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId.assign(value); }
71 inline void SetTransitGatewayId(
const char* value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId.assign(value); }
85 inline void SetTransitGatewayOwnerId(
const char* value) { m_transitGatewayOwnerIdHasBeenSet =
true; m_transitGatewayOwnerId.assign(value); }
99 inline void SetResourceOwnerId(
const char* value) { m_resourceOwnerIdHasBeenSet =
true; m_resourceOwnerId.assign(value); }
126 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
185 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
188 bool m_transitGatewayIdHasBeenSet =
false;
191 bool m_transitGatewayOwnerIdHasBeenSet =
false;
194 bool m_resourceOwnerIdHasBeenSet =
false;
197 bool m_resourceTypeHasBeenSet =
false;
200 bool m_resourceIdHasBeenSet =
false;
203 bool m_stateHasBeenSet =
false;
206 bool m_associationHasBeenSet =
false;
209 bool m_creationTimeHasBeenSet =
false;
212 bool m_tagsHasBeenSet =
false;
void SetTransitGatewayId(Aws::String &&value)
void SetState(TransitGatewayAttachmentState &&value)
bool ResourceIdHasBeenSet() const
TransitGatewayAttachment & WithResourceId(const Aws::String &value)
TransitGatewayAttachment & WithResourceOwnerId(const char *value)
const Aws::Vector< Tag > & GetTags() const
AWS_EC2_API TransitGatewayAttachment()
TransitGatewayAttachment & WithResourceId(const char *value)
void SetResourceOwnerId(const Aws::String &value)
TransitGatewayAttachment & WithTransitGatewayOwnerId(Aws::String &&value)
TransitGatewayAttachment & WithResourceType(const TransitGatewayAttachmentResourceType &value)
void SetResourceOwnerId(Aws::String &&value)
TransitGatewayAttachment & WithTransitGatewayAttachmentId(const Aws::String &value)
bool AssociationHasBeenSet() const
bool TransitGatewayIdHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
const Aws::String & GetResourceOwnerId() const
const TransitGatewayAttachmentResourceType & GetResourceType() const
const Aws::Utils::DateTime & GetCreationTime() const
TransitGatewayAttachment & WithTransitGatewayOwnerId(const Aws::String &value)
TransitGatewayAttachment & WithTransitGatewayId(const char *value)
const TransitGatewayAttachmentAssociation & GetAssociation() const
void SetTransitGatewayAttachmentId(const char *value)
void SetResourceType(const TransitGatewayAttachmentResourceType &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetResourceId(const Aws::String &value)
void SetTransitGatewayOwnerId(const char *value)
void SetResourceOwnerId(const char *value)
void SetAssociation(TransitGatewayAttachmentAssociation &&value)
void SetState(const TransitGatewayAttachmentState &value)
bool TagsHasBeenSet() const
void SetResourceId(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
bool CreationTimeHasBeenSet() const
void SetTransitGatewayOwnerId(Aws::String &&value)
AWS_EC2_API TransitGatewayAttachment(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ResourceOwnerIdHasBeenSet() const
const Aws::String & GetTransitGatewayAttachmentId() const
bool StateHasBeenSet() const
void SetTransitGatewayOwnerId(const Aws::String &value)
TransitGatewayAttachment & WithTransitGatewayId(const Aws::String &value)
TransitGatewayAttachment & WithCreationTime(const Aws::Utils::DateTime &value)
TransitGatewayAttachment & WithState(TransitGatewayAttachmentState &&value)
void SetTransitGatewayAttachmentId(Aws::String &&value)
TransitGatewayAttachment & WithResourceId(Aws::String &&value)
TransitGatewayAttachment & WithResourceOwnerId(Aws::String &&value)
TransitGatewayAttachment & WithTransitGatewayId(Aws::String &&value)
const Aws::String & GetTransitGatewayOwnerId() const
void SetTransitGatewayAttachmentId(const Aws::String &value)
const TransitGatewayAttachmentState & GetState() const
void SetResourceType(TransitGatewayAttachmentResourceType &&value)
TransitGatewayAttachment & WithTransitGatewayOwnerId(const char *value)
void SetResourceId(const char *value)
TransitGatewayAttachment & AddTags(const Tag &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetResourceId() const
TransitGatewayAttachment & WithTags(const Aws::Vector< Tag > &value)
TransitGatewayAttachment & WithTags(Aws::Vector< Tag > &&value)
void SetAssociation(const TransitGatewayAttachmentAssociation &value)
bool ResourceTypeHasBeenSet() const
TransitGatewayAttachment & WithState(const TransitGatewayAttachmentState &value)
TransitGatewayAttachment & WithResourceType(TransitGatewayAttachmentResourceType &&value)
TransitGatewayAttachment & WithAssociation(const TransitGatewayAttachmentAssociation &value)
const Aws::String & GetTransitGatewayId() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API TransitGatewayAttachment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayAttachment & WithTransitGatewayAttachmentId(const char *value)
TransitGatewayAttachment & WithResourceOwnerId(const Aws::String &value)
void SetTransitGatewayId(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
TransitGatewayAttachment & WithTransitGatewayAttachmentId(Aws::String &&value)
TransitGatewayAttachment & WithCreationTime(Aws::Utils::DateTime &&value)
void SetTransitGatewayId(const Aws::String &value)
bool TransitGatewayOwnerIdHasBeenSet() const
TransitGatewayAttachment & WithAssociation(TransitGatewayAttachmentAssociation &&value)
TransitGatewayAttachment & AddTags(Tag &&value)
bool TransitGatewayAttachmentIdHasBeenSet() const
TransitGatewayAttachmentState
TransitGatewayAttachmentResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream