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/DateTime.h>
12#include <aws/ec2/model/TransitGatewayConnectOptions.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ec2/model/Tag.h>
55 inline void SetTransitGatewayAttachmentId(
const char* value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId.assign(value); }
83 inline void SetTransitGatewayId(
const char* value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId.assign(value); }
141 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
144 bool m_transportTransitGatewayAttachmentIdHasBeenSet =
false;
147 bool m_transitGatewayIdHasBeenSet =
false;
150 bool m_stateHasBeenSet =
false;
153 bool m_creationTimeHasBeenSet =
false;
156 bool m_optionsHasBeenSet =
false;
159 bool m_tagsHasBeenSet =
false;
const Aws::Vector< Tag > & GetTags() const
TransitGatewayConnect & WithState(const TransitGatewayAttachmentState &value)
bool OptionsHasBeenSet() const
void SetTransportTransitGatewayAttachmentId(const Aws::String &value)
const Aws::String & GetTransportTransitGatewayAttachmentId() const
bool TransitGatewayIdHasBeenSet() const
void SetTransportTransitGatewayAttachmentId(const char *value)
AWS_EC2_API TransitGatewayConnect(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetTransitGatewayId() const
void SetTransitGatewayAttachmentId(const Aws::String &value)
TransitGatewayConnect & WithCreationTime(Aws::Utils::DateTime &&value)
TransitGatewayConnect & WithTransitGatewayAttachmentId(Aws::String &&value)
const Aws::String & GetTransitGatewayAttachmentId() const
void SetOptions(const TransitGatewayConnectOptions &value)
void SetOptions(TransitGatewayConnectOptions &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TransitGatewayConnect & WithTransportTransitGatewayAttachmentId(Aws::String &&value)
TransitGatewayConnect & WithOptions(TransitGatewayConnectOptions &&value)
TransitGatewayConnect & WithCreationTime(const Aws::Utils::DateTime &value)
void SetTransitGatewayId(Aws::String &&value)
TransitGatewayConnect & WithTransitGatewayAttachmentId(const Aws::String &value)
void SetTransitGatewayId(const char *value)
bool TransitGatewayAttachmentIdHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
TransitGatewayConnect & WithTags(Aws::Vector< Tag > &&value)
TransitGatewayConnect & WithTags(const Aws::Vector< Tag > &value)
void SetState(const TransitGatewayAttachmentState &value)
TransitGatewayConnect & WithOptions(const TransitGatewayConnectOptions &value)
bool TagsHasBeenSet() const
bool StateHasBeenSet() const
void SetTransitGatewayAttachmentId(const char *value)
TransitGatewayConnect & AddTags(const Tag &value)
TransitGatewayConnect & WithTransitGatewayId(Aws::String &&value)
const TransitGatewayAttachmentState & GetState() const
TransitGatewayConnect & WithTransitGatewayId(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
TransitGatewayConnect & WithTransportTransitGatewayAttachmentId(const Aws::String &value)
TransitGatewayConnect & AddTags(Tag &&value)
TransitGatewayConnect & WithTransitGatewayId(const Aws::String &value)
AWS_EC2_API TransitGatewayConnect & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTransportTransitGatewayAttachmentId(Aws::String &&value)
void SetTransitGatewayId(const Aws::String &value)
bool TransportTransitGatewayAttachmentIdHasBeenSet() const
bool CreationTimeHasBeenSet() const
void SetState(TransitGatewayAttachmentState &&value)
void SetTags(Aws::Vector< Tag > &&value)
const TransitGatewayConnectOptions & GetOptions() const
TransitGatewayConnect & WithState(TransitGatewayAttachmentState &&value)
AWS_EC2_API TransitGatewayConnect()
void SetCreationTime(const Aws::Utils::DateTime &value)
TransitGatewayConnect & WithTransportTransitGatewayAttachmentId(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetTransitGatewayAttachmentId(Aws::String &&value)
TransitGatewayConnect & WithTransitGatewayAttachmentId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) 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