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/TransitGatewayOptions.h>
14#include <aws/ec2/model/TransitGatewayState.h>
47 template <
typename TransitGatewayIdT = Aws::String>
49 m_transitGatewayIdHasBeenSet =
true;
50 m_transitGatewayId = std::forward<TransitGatewayIdT>(value);
52 template <
typename TransitGatewayIdT = Aws::String>
65 template <
typename TransitGatewayArnT = Aws::String>
67 m_transitGatewayArnHasBeenSet =
true;
68 m_transitGatewayArn = std::forward<TransitGatewayArnT>(value);
70 template <
typename TransitGatewayArnT = Aws::String>
84 m_stateHasBeenSet =
true;
99 template <
typename OwnerIdT = Aws::String>
101 m_ownerIdHasBeenSet =
true;
102 m_ownerId = std::forward<OwnerIdT>(value);
104 template <
typename OwnerIdT = Aws::String>
117 template <
typename DescriptionT = Aws::String>
119 m_descriptionHasBeenSet =
true;
120 m_description = std::forward<DescriptionT>(value);
122 template <
typename DescriptionT = Aws::String>
135 template <
typename CreationTimeT = Aws::Utils::DateTime>
137 m_creationTimeHasBeenSet =
true;
138 m_creationTime = std::forward<CreationTimeT>(value);
140 template <
typename CreationTimeT = Aws::Utils::DateTime>
153 template <
typename OptionsT = TransitGatewayOptions>
155 m_optionsHasBeenSet =
true;
156 m_options = std::forward<OptionsT>(value);
158 template <
typename OptionsT = TransitGatewayOptions>
171 template <
typename TagsT = Aws::Vector<Tag>>
173 m_tagsHasBeenSet =
true;
174 m_tags = std::forward<TagsT>(value);
176 template <
typename TagsT = Aws::Vector<Tag>>
178 SetTags(std::forward<TagsT>(value));
181 template <
typename TagsT = Tag>
183 m_tagsHasBeenSet =
true;
184 m_tags.emplace_back(std::forward<TagsT>(value));
201 TransitGatewayOptions m_options;
204 bool m_transitGatewayIdHasBeenSet =
false;
205 bool m_transitGatewayArnHasBeenSet =
false;
206 bool m_stateHasBeenSet =
false;
207 bool m_ownerIdHasBeenSet =
false;
208 bool m_descriptionHasBeenSet =
false;
209 bool m_creationTimeHasBeenSet =
false;
210 bool m_optionsHasBeenSet =
false;
211 bool m_tagsHasBeenSet =
false;
TransitGateway & AddTags(TagsT &&value)
const Aws::String & GetTransitGatewayArn() const
TransitGateway & WithCreationTime(CreationTimeT &&value)
void SetTransitGatewayId(TransitGatewayIdT &&value)
void SetState(TransitGatewayState value)
const Aws::Utils::DateTime & GetCreationTime() const
TransitGateway & WithOptions(OptionsT &&value)
void SetTransitGatewayArn(TransitGatewayArnT &&value)
AWS_EC2_API TransitGateway()=default
TransitGateway & WithTransitGatewayArn(TransitGatewayArnT &&value)
bool TransitGatewayArnHasBeenSet() const
bool OptionsHasBeenSet() const
TransitGateway & WithDescription(DescriptionT &&value)
const Aws::String & GetTransitGatewayId() const
TransitGatewayState GetState() const
bool OwnerIdHasBeenSet() const
void SetOwnerId(OwnerIdT &&value)
void SetOptions(OptionsT &&value)
AWS_EC2_API TransitGateway(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TagsHasBeenSet() const
AWS_EC2_API TransitGateway & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetOwnerId() const
TransitGateway & WithTags(TagsT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetTags(TagsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TransitGateway & WithState(TransitGatewayState value)
bool CreationTimeHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const TransitGatewayOptions & GetOptions() const
TransitGateway & WithTransitGatewayId(TransitGatewayIdT &&value)
const Aws::String & GetDescription() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool TransitGatewayIdHasBeenSet() const
TransitGateway & WithOwnerId(OwnerIdT &&value)
void SetDescription(DescriptionT &&value)
bool StateHasBeenSet() const
bool DescriptionHasBeenSet() const
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