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/PeeringTgwInfo.h>
11#include <aws/ec2/model/TransitGatewayPeeringAttachmentOptions.h>
12#include <aws/ec2/model/PeeringAttachmentStatus.h>
13#include <aws/ec2/model/TransitGatewayAttachmentState.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/ec2/model/Tag.h>
58 inline void SetTransitGatewayAttachmentId(
const char* value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId.assign(value); }
167 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
170 bool m_accepterTransitGatewayAttachmentIdHasBeenSet =
false;
173 bool m_requesterTgwInfoHasBeenSet =
false;
176 bool m_accepterTgwInfoHasBeenSet =
false;
179 bool m_optionsHasBeenSet =
false;
182 bool m_statusHasBeenSet =
false;
185 bool m_stateHasBeenSet =
false;
188 bool m_creationTimeHasBeenSet =
false;
191 bool m_tagsHasBeenSet =
false;
void SetRequesterTgwInfo(const PeeringTgwInfo &value)
void SetAccepterTransitGatewayAttachmentId(Aws::String &&value)
void SetState(const TransitGatewayAttachmentState &value)
void SetTransitGatewayAttachmentId(const Aws::String &value)
void SetRequesterTgwInfo(PeeringTgwInfo &&value)
void SetStatus(PeeringAttachmentStatus &&value)
const PeeringTgwInfo & GetRequesterTgwInfo() const
const Aws::Vector< Tag > & GetTags() const
void SetTags(const Aws::Vector< Tag > &value)
const PeeringAttachmentStatus & GetStatus() const
TransitGatewayPeeringAttachment & WithAccepterTgwInfo(PeeringTgwInfo &&value)
void SetAccepterTransitGatewayAttachmentId(const Aws::String &value)
bool TagsHasBeenSet() const
TransitGatewayPeeringAttachment & WithState(const TransitGatewayAttachmentState &value)
TransitGatewayPeeringAttachment & WithState(TransitGatewayAttachmentState &&value)
void SetState(TransitGatewayAttachmentState &&value)
void SetOptions(TransitGatewayPeeringAttachmentOptions &&value)
TransitGatewayPeeringAttachment & WithAccepterTransitGatewayAttachmentId(const char *value)
const Aws::String & GetAccepterTransitGatewayAttachmentId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TransitGatewayPeeringAttachment & WithRequesterTgwInfo(const PeeringTgwInfo &value)
bool TransitGatewayAttachmentIdHasBeenSet() const
bool OptionsHasBeenSet() const
TransitGatewayPeeringAttachment & WithTags(const Aws::Vector< Tag > &value)
const TransitGatewayPeeringAttachmentOptions & GetOptions() const
void SetAccepterTgwInfo(const PeeringTgwInfo &value)
void SetAccepterTgwInfo(PeeringTgwInfo &&value)
TransitGatewayPeeringAttachment & WithTransitGatewayAttachmentId(Aws::String &&value)
bool StateHasBeenSet() const
bool StatusHasBeenSet() const
bool AccepterTgwInfoHasBeenSet() const
TransitGatewayPeeringAttachment & AddTags(const Tag &value)
TransitGatewayPeeringAttachment & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_EC2_API TransitGatewayPeeringAttachment()
TransitGatewayPeeringAttachment & WithStatus(const PeeringAttachmentStatus &value)
bool AccepterTransitGatewayAttachmentIdHasBeenSet() const
bool RequesterTgwInfoHasBeenSet() const
void SetAccepterTransitGatewayAttachmentId(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetTags(Aws::Vector< Tag > &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetTransitGatewayAttachmentId(const char *value)
void SetOptions(const TransitGatewayPeeringAttachmentOptions &value)
AWS_EC2_API TransitGatewayPeeringAttachment(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayPeeringAttachment & WithAccepterTransitGatewayAttachmentId(Aws::String &&value)
TransitGatewayPeeringAttachment & WithAccepterTgwInfo(const PeeringTgwInfo &value)
TransitGatewayPeeringAttachment & WithStatus(PeeringAttachmentStatus &&value)
bool CreationTimeHasBeenSet() const
TransitGatewayPeeringAttachment & WithTags(Aws::Vector< Tag > &&value)
TransitGatewayPeeringAttachment & WithOptions(const TransitGatewayPeeringAttachmentOptions &value)
TransitGatewayPeeringAttachment & WithAccepterTransitGatewayAttachmentId(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStatus(const PeeringAttachmentStatus &value)
TransitGatewayPeeringAttachment & AddTags(Tag &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
TransitGatewayPeeringAttachment & WithOptions(TransitGatewayPeeringAttachmentOptions &&value)
const TransitGatewayAttachmentState & GetState() const
TransitGatewayPeeringAttachment & WithRequesterTgwInfo(PeeringTgwInfo &&value)
TransitGatewayPeeringAttachment & WithTransitGatewayAttachmentId(const Aws::String &value)
AWS_EC2_API TransitGatewayPeeringAttachment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayPeeringAttachment & WithCreationTime(const Aws::Utils::DateTime &value)
TransitGatewayPeeringAttachment & WithTransitGatewayAttachmentId(const char *value)
void SetTransitGatewayAttachmentId(Aws::String &&value)
const Aws::String & GetTransitGatewayAttachmentId() const
const PeeringTgwInfo & GetAccepterTgwInfo() const
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