7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/Tag.h>
13#include <aws/ec2/model/TransitGatewayAttachmentState.h>
14#include <aws/ec2/model/TransitGatewayConnectOptions.h>
47 template <
typename TransitGatewayAttachmentIdT = Aws::String>
49 m_transitGatewayAttachmentIdHasBeenSet =
true;
50 m_transitGatewayAttachmentId = std::forward<TransitGatewayAttachmentIdT>(value);
52 template <
typename TransitGatewayAttachmentIdT = Aws::String>
65 template <
typename TransportTransitGatewayAttachmentIdT = Aws::String>
67 m_transportTransitGatewayAttachmentIdHasBeenSet =
true;
68 m_transportTransitGatewayAttachmentId = std::forward<TransportTransitGatewayAttachmentIdT>(value);
70 template <
typename TransportTransitGatewayAttachmentIdT = Aws::String>
83 template <
typename TransitGatewayIdT = Aws::String>
85 m_transitGatewayIdHasBeenSet =
true;
86 m_transitGatewayId = std::forward<TransitGatewayIdT>(value);
88 template <
typename TransitGatewayIdT = Aws::String>
102 m_stateHasBeenSet =
true;
117 template <
typename CreationTimeT = Aws::Utils::DateTime>
119 m_creationTimeHasBeenSet =
true;
120 m_creationTime = std::forward<CreationTimeT>(value);
122 template <
typename CreationTimeT = Aws::Utils::DateTime>
135 template <
typename OptionsT = TransitGatewayConnectOptions>
137 m_optionsHasBeenSet =
true;
138 m_options = std::forward<OptionsT>(value);
140 template <
typename OptionsT = TransitGatewayConnectOptions>
153 template <
typename TagsT = Aws::Vector<Tag>>
155 m_tagsHasBeenSet =
true;
156 m_tags = std::forward<TagsT>(value);
158 template <
typename TagsT = Aws::Vector<Tag>>
160 SetTags(std::forward<TagsT>(value));
163 template <
typename TagsT = Tag>
165 m_tagsHasBeenSet =
true;
166 m_tags.emplace_back(std::forward<TagsT>(value));
181 TransitGatewayConnectOptions m_options;
184 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
185 bool m_transportTransitGatewayAttachmentIdHasBeenSet =
false;
186 bool m_transitGatewayIdHasBeenSet =
false;
187 bool m_stateHasBeenSet =
false;
188 bool m_creationTimeHasBeenSet =
false;
189 bool m_optionsHasBeenSet =
false;
190 bool m_tagsHasBeenSet =
false;
const Aws::Vector< Tag > & GetTags() const
bool OptionsHasBeenSet() const
TransitGatewayConnect & WithTags(TagsT &&value)
TransitGatewayConnect & WithTransportTransitGatewayAttachmentId(TransportTransitGatewayAttachmentIdT &&value)
void SetState(TransitGatewayAttachmentState value)
const Aws::String & GetTransportTransitGatewayAttachmentId() const
bool TransitGatewayIdHasBeenSet() const
AWS_EC2_API TransitGatewayConnect(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetTransitGatewayId() const
void SetTags(TagsT &&value)
const Aws::String & GetTransitGatewayAttachmentId() const
TransitGatewayConnect & AddTags(TagsT &&value)
void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTransportTransitGatewayAttachmentId(TransportTransitGatewayAttachmentIdT &&value)
void SetCreationTime(CreationTimeT &&value)
bool TransitGatewayAttachmentIdHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
bool TagsHasBeenSet() const
bool StateHasBeenSet() const
TransitGatewayConnect & WithCreationTime(CreationTimeT &&value)
AWS_EC2_API TransitGatewayConnect()=default
AWS_EC2_API TransitGatewayConnect & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayConnect & WithOptions(OptionsT &&value)
TransitGatewayAttachmentState GetState() const
TransitGatewayConnect & WithTransitGatewayId(TransitGatewayIdT &&value)
bool TransportTransitGatewayAttachmentIdHasBeenSet() const
bool CreationTimeHasBeenSet() const
TransitGatewayConnect & WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
const TransitGatewayConnectOptions & GetOptions() const
TransitGatewayConnect & WithState(TransitGatewayAttachmentState value)
void SetTransitGatewayId(TransitGatewayIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetOptions(OptionsT &&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