7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/VpnState.h>
12#include <aws/ec2/model/GatewayType.h>
13#include <aws/ec2/model/Tag.h>
14#include <aws/ec2/model/VpcAttachment.h>
54 inline void SetAmazonSideAsn(
long long value) { m_amazonSideAsnHasBeenSet =
true; m_amazonSideAsn = value; }
68 inline VpnGateway&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
69 inline VpnGateway&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
80 inline void SetVpnGatewayId(
const char* value) { m_vpnGatewayIdHasBeenSet =
true; m_vpnGatewayId.assign(value); }
92 inline void SetState(
const VpnState& value) { m_stateHasBeenSet =
true; m_state = value; }
93 inline void SetState(
VpnState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
119 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
140 long long m_amazonSideAsn;
141 bool m_amazonSideAsnHasBeenSet =
false;
144 bool m_tagsHasBeenSet =
false;
147 bool m_vpnGatewayIdHasBeenSet =
false;
150 bool m_stateHasBeenSet =
false;
153 bool m_typeHasBeenSet =
false;
156 bool m_availabilityZoneHasBeenSet =
false;
159 bool m_vpcAttachmentsHasBeenSet =
false;
VpnGateway & WithVpnGatewayId(Aws::String &&value)
const GatewayType & GetType() const
VpnGateway & WithAmazonSideAsn(long long value)
void SetVpcAttachments(const Aws::Vector< VpcAttachment > &value)
AWS_EC2_API VpnGateway & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetVpnGatewayId() const
void SetTags(Aws::Vector< Tag > &&value)
VpnGateway & WithVpnGatewayId(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
VpnGateway & WithVpcAttachments(const Aws::Vector< VpcAttachment > &value)
VpnGateway & AddVpcAttachments(const VpcAttachment &value)
const Aws::String & GetAvailabilityZone() const
VpnGateway & WithAvailabilityZone(Aws::String &&value)
void SetVpnGatewayId(const char *value)
long long GetAmazonSideAsn() const
const VpnState & GetState() const
VpnGateway & WithState(const VpnState &value)
bool TypeHasBeenSet() const
void SetAvailabilityZone(const char *value)
VpnGateway & WithTags(Aws::Vector< Tag > &&value)
void SetState(const VpnState &value)
bool VpnGatewayIdHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetAvailabilityZone(const Aws::String &value)
void SetState(VpnState &&value)
bool AvailabilityZoneHasBeenSet() const
VpnGateway & AddTags(const Tag &value)
void SetAvailabilityZone(Aws::String &&value)
VpnGateway & AddTags(Tag &&value)
VpnGateway & WithVpnGatewayId(const Aws::String &value)
void SetVpcAttachments(Aws::Vector< VpcAttachment > &&value)
const Aws::Vector< VpcAttachment > & GetVpcAttachments() const
VpnGateway & WithType(const GatewayType &value)
bool StateHasBeenSet() const
AWS_EC2_API VpnGateway(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetType(const GatewayType &value)
void SetAmazonSideAsn(long long value)
VpnGateway & AddVpcAttachments(VpcAttachment &&value)
bool TagsHasBeenSet() const
void SetType(GatewayType &&value)
VpnGateway & WithAvailabilityZone(const char *value)
bool AmazonSideAsnHasBeenSet() const
void SetVpnGatewayId(Aws::String &&value)
bool VpcAttachmentsHasBeenSet() const
void SetVpnGatewayId(const Aws::String &value)
VpnGateway & WithTags(const Aws::Vector< Tag > &value)
VpnGateway & WithType(GatewayType &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
VpnGateway & WithAvailabilityZone(const Aws::String &value)
VpnGateway & WithVpcAttachments(Aws::Vector< VpcAttachment > &&value)
VpnGateway & WithState(VpnState &&value)
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