7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/GatewayType.h>
12#include <aws/ec2/model/Tag.h>
13#include <aws/ec2/model/VpcAttachment.h>
14#include <aws/ec2/model/VpnState.h>
49 m_amazonSideAsnHasBeenSet =
true;
50 m_amazonSideAsn = value;
64 template <
typename TagsT = Aws::Vector<Tag>>
66 m_tagsHasBeenSet =
true;
67 m_tags = std::forward<TagsT>(value);
69 template <
typename TagsT = Aws::Vector<Tag>>
71 SetTags(std::forward<TagsT>(value));
74 template <
typename TagsT = Tag>
76 m_tagsHasBeenSet =
true;
77 m_tags.emplace_back(std::forward<TagsT>(value));
88 template <
typename VpnGatewayIdT = Aws::String>
90 m_vpnGatewayIdHasBeenSet =
true;
91 m_vpnGatewayId = std::forward<VpnGatewayIdT>(value);
93 template <
typename VpnGatewayIdT = Aws::String>
107 m_stateHasBeenSet =
true;
123 m_typeHasBeenSet =
true;
139 template <
typename AvailabilityZoneT = Aws::String>
141 m_availabilityZoneHasBeenSet =
true;
142 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
144 template <
typename AvailabilityZoneT = Aws::String>
157 template <
typename VpcAttachmentsT = Aws::Vector<VpcAttachment>>
159 m_vpcAttachmentsHasBeenSet =
true;
160 m_vpcAttachments = std::forward<VpcAttachmentsT>(value);
162 template <
typename VpcAttachmentsT = Aws::Vector<VpcAttachment>>
167 template <
typename VpcAttachmentsT = VpcAttachment>
169 m_vpcAttachmentsHasBeenSet =
true;
170 m_vpcAttachments.emplace_back(std::forward<VpcAttachmentsT>(value));
175 long long m_amazonSideAsn{0};
188 bool m_amazonSideAsnHasBeenSet =
false;
189 bool m_tagsHasBeenSet =
false;
190 bool m_vpnGatewayIdHasBeenSet =
false;
191 bool m_stateHasBeenSet =
false;
192 bool m_typeHasBeenSet =
false;
193 bool m_availabilityZoneHasBeenSet =
false;
194 bool m_vpcAttachmentsHasBeenSet =
false;
void SetTags(TagsT &&value)
VpnGateway & WithAmazonSideAsn(long long 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 SetVpnGatewayId(VpnGatewayIdT &&value)
AWS_EC2_API VpnGateway()=default
const Aws::String & GetAvailabilityZone() const
long long GetAmazonSideAsn() const
VpnGateway & AddVpcAttachments(VpcAttachmentsT &&value)
bool TypeHasBeenSet() const
GatewayType GetType() const
VpnGateway & WithAvailabilityZone(AvailabilityZoneT &&value)
bool VpnGatewayIdHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetType(GatewayType value)
bool AvailabilityZoneHasBeenSet() const
VpnGateway & WithVpcAttachments(VpcAttachmentsT &&value)
const Aws::Vector< VpcAttachment > & GetVpcAttachments() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
bool StateHasBeenSet() const
VpnState GetState() const
AWS_EC2_API VpnGateway(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetVpcAttachments(VpcAttachmentsT &&value)
void SetAmazonSideAsn(long long value)
bool TagsHasBeenSet() const
VpnGateway & WithTags(TagsT &&value)
VpnGateway & AddTags(TagsT &&value)
VpnGateway & WithType(GatewayType value)
bool AmazonSideAsnHasBeenSet() const
VpnGateway & WithState(VpnState value)
void SetState(VpnState value)
bool VpcAttachmentsHasBeenSet() const
VpnGateway & WithVpnGatewayId(VpnGatewayIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) 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