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/TransitGatewayAttachmentState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/ec2/model/TransitGatewayVpcAttachmentOptions.h>
14#include <aws/ec2/model/Tag.h>
55 inline void SetTransitGatewayAttachmentId(
const char* value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId.assign(value); }
69 inline void SetTransitGatewayId(
const char* value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId.assign(value); }
83 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
97 inline void SetVpcOwnerId(
const char* value) { m_vpcOwnerIdHasBeenSet =
true; m_vpcOwnerId.assign(value); }
171 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
174 bool m_transitGatewayIdHasBeenSet =
false;
177 bool m_vpcIdHasBeenSet =
false;
180 bool m_vpcOwnerIdHasBeenSet =
false;
183 bool m_stateHasBeenSet =
false;
186 bool m_subnetIdsHasBeenSet =
false;
189 bool m_creationTimeHasBeenSet =
false;
192 bool m_optionsHasBeenSet =
false;
195 bool m_tagsHasBeenSet =
false;
void SetCreationTime(const Aws::Utils::DateTime &value)
TransitGatewayVpcAttachment & WithTransitGatewayId(Aws::String &&value)
const Aws::String & GetTransitGatewayAttachmentId() const
TransitGatewayVpcAttachment & AddTags(Tag &&value)
TransitGatewayVpcAttachment & WithCreationTime(const Aws::Utils::DateTime &value)
TransitGatewayVpcAttachment & WithVpcId(Aws::String &&value)
void SetVpcOwnerId(const Aws::String &value)
void SetVpcId(Aws::String &&value)
TransitGatewayVpcAttachment & AddSubnetIds(Aws::String &&value)
TransitGatewayVpcAttachment & AddSubnetIds(const char *value)
TransitGatewayVpcAttachment & WithTransitGatewayAttachmentId(const Aws::String &value)
bool StateHasBeenSet() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::String & GetVpcId() const
TransitGatewayVpcAttachment & AddTags(const Tag &value)
TransitGatewayVpcAttachment & AddSubnetIds(const Aws::String &value)
bool SubnetIdsHasBeenSet() const
TransitGatewayVpcAttachment & WithOptions(const TransitGatewayVpcAttachmentOptions &value)
bool TransitGatewayIdHasBeenSet() const
bool OptionsHasBeenSet() const
TransitGatewayVpcAttachment & WithTags(Aws::Vector< Tag > &&value)
void SetTransitGatewayId(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
TransitGatewayVpcAttachment & WithTransitGatewayId(const char *value)
TransitGatewayVpcAttachment & WithCreationTime(Aws::Utils::DateTime &&value)
void SetState(TransitGatewayAttachmentState &&value)
TransitGatewayVpcAttachment & WithVpcOwnerId(Aws::String &&value)
TransitGatewayVpcAttachment & WithVpcId(const char *value)
bool TagsHasBeenSet() const
TransitGatewayVpcAttachment & WithVpcId(const Aws::String &value)
TransitGatewayVpcAttachment & WithState(TransitGatewayAttachmentState &&value)
void SetState(const TransitGatewayAttachmentState &value)
AWS_EC2_API TransitGatewayVpcAttachment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayVpcAttachment & WithTransitGatewayAttachmentId(const char *value)
void SetOptions(TransitGatewayVpcAttachmentOptions &&value)
TransitGatewayVpcAttachment & WithVpcOwnerId(const char *value)
TransitGatewayVpcAttachment & WithTransitGatewayAttachmentId(Aws::String &&value)
bool VpcIdHasBeenSet() const
void SetTransitGatewayId(const Aws::String &value)
TransitGatewayVpcAttachment & WithOptions(TransitGatewayVpcAttachmentOptions &&value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
void SetVpcId(const char *value)
AWS_EC2_API TransitGatewayVpcAttachment()
const TransitGatewayAttachmentState & GetState() const
const Aws::String & GetTransitGatewayId() const
TransitGatewayVpcAttachment & WithSubnetIds(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetCreationTime() const
const TransitGatewayVpcAttachmentOptions & GetOptions() const
void SetVpcOwnerId(Aws::String &&value)
bool VpcOwnerIdHasBeenSet() const
AWS_EC2_API TransitGatewayVpcAttachment(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetVpcId(const Aws::String &value)
void SetTransitGatewayId(Aws::String &&value)
void SetTransitGatewayAttachmentId(const Aws::String &value)
bool TransitGatewayAttachmentIdHasBeenSet() const
void SetTransitGatewayAttachmentId(Aws::String &&value)
TransitGatewayVpcAttachment & WithTags(const Aws::Vector< Tag > &value)
TransitGatewayVpcAttachment & WithState(const TransitGatewayAttachmentState &value)
bool CreationTimeHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
void SetTransitGatewayAttachmentId(const char *value)
const Aws::String & GetVpcOwnerId() const
TransitGatewayVpcAttachment & WithVpcOwnerId(const Aws::String &value)
TransitGatewayVpcAttachment & WithTransitGatewayId(const Aws::String &value)
void SetOptions(const TransitGatewayVpcAttachmentOptions &value)
TransitGatewayVpcAttachment & WithSubnetIds(Aws::Vector< Aws::String > &&value)
void SetVpcOwnerId(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
TransitGatewayAttachmentState
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