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/TransitGatewayState.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/ec2/model/TransitGatewayOptions.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ec2/model/Tag.h>
55 inline void SetTransitGatewayId(
const char* value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId.assign(value); }
69 inline void SetTransitGatewayArn(
const char* value) { m_transitGatewayArnHasBeenSet =
true; m_transitGatewayArn.assign(value); }
95 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
109 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
155 bool m_transitGatewayIdHasBeenSet =
false;
158 bool m_transitGatewayArnHasBeenSet =
false;
161 bool m_stateHasBeenSet =
false;
164 bool m_ownerIdHasBeenSet =
false;
167 bool m_descriptionHasBeenSet =
false;
170 bool m_creationTimeHasBeenSet =
false;
173 bool m_optionsHasBeenSet =
false;
176 bool m_tagsHasBeenSet =
false;
void SetOptions(TransitGatewayOptions &&value)
TransitGateway & WithOwnerId(const Aws::String &value)
TransitGateway & WithOwnerId(Aws::String &&value)
TransitGateway & WithDescription(const Aws::String &value)
TransitGateway & WithOptions(const TransitGatewayOptions &value)
const Aws::String & GetTransitGatewayArn() const
const TransitGatewayState & GetState() const
TransitGateway & WithState(const TransitGatewayState &value)
TransitGateway & WithTransitGatewayArn(Aws::String &&value)
TransitGateway & WithTransitGatewayArn(const Aws::String &value)
TransitGateway & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetTransitGatewayArn(const Aws::String &value)
void SetTransitGatewayId(const Aws::String &value)
void SetState(const TransitGatewayState &value)
void SetOwnerId(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
bool TransitGatewayArnHasBeenSet() const
bool OptionsHasBeenSet() const
void SetDescription(const Aws::String &value)
const Aws::String & GetTransitGatewayId() const
void SetOwnerId(Aws::String &&value)
bool OwnerIdHasBeenSet() const
void SetOptions(const TransitGatewayOptions &value)
void SetState(TransitGatewayState &&value)
void SetTransitGatewayArn(const char *value)
TransitGateway & WithOptions(TransitGatewayOptions &&value)
TransitGateway & WithDescription(const char *value)
TransitGateway & WithState(TransitGatewayState &&value)
void SetDescription(const char *value)
TransitGateway & AddTags(const Tag &value)
TransitGateway & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_EC2_API TransitGateway(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetOwnerId(const Aws::String &value)
TransitGateway & WithTags(Aws::Vector< Tag > &&value)
void SetTransitGatewayId(Aws::String &&value)
TransitGateway & WithDescription(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
TransitGateway & WithTransitGatewayArn(const char *value)
TransitGateway & WithOwnerId(const char *value)
bool TagsHasBeenSet() const
TransitGateway & WithTags(const Aws::Vector< Tag > &value)
TransitGateway & WithTransitGatewayId(Aws::String &&value)
AWS_EC2_API TransitGateway & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetOwnerId() const
AWS_EC2_API TransitGateway()
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TransitGateway & WithTransitGatewayId(const Aws::String &value)
TransitGateway & WithTransitGatewayId(const char *value)
bool CreationTimeHasBeenSet() const
void SetTransitGatewayId(const char *value)
const Aws::Vector< Tag > & GetTags() const
void SetTags(const Aws::Vector< Tag > &value)
TransitGateway & AddTags(Tag &&value)
const TransitGatewayOptions & GetOptions() const
const Aws::String & GetDescription() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTransitGatewayArn(Aws::String &&value)
bool TransitGatewayIdHasBeenSet() const
void SetDescription(Aws::String &&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