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/Tag.h>
44 template <
typename CertificateArnT = Aws::String>
46 m_certificateArnHasBeenSet =
true;
47 m_certificateArn = std::forward<CertificateArnT>(value);
49 template <
typename CertificateArnT = Aws::String>
62 template <
typename DeviceNameT = Aws::String>
64 m_deviceNameHasBeenSet =
true;
65 m_deviceName = std::forward<DeviceNameT>(value);
67 template <
typename DeviceNameT = Aws::String>
80 template <
typename TagsT = Aws::Vector<Tag>>
82 m_tagsHasBeenSet =
true;
83 m_tags = std::forward<TagsT>(value);
85 template <
typename TagsT = Aws::Vector<Tag>>
87 SetTags(std::forward<TagsT>(value));
90 template <
typename TagsT = Tag>
92 m_tagsHasBeenSet =
true;
93 m_tags.emplace_back(std::forward<TagsT>(value));
106 template <
typename BgpAsnExtendedT = Aws::String>
108 m_bgpAsnExtendedHasBeenSet =
true;
109 m_bgpAsnExtended = std::forward<BgpAsnExtendedT>(value);
111 template <
typename BgpAsnExtendedT = Aws::String>
124 template <
typename CustomerGatewayIdT = Aws::String>
126 m_customerGatewayIdHasBeenSet =
true;
127 m_customerGatewayId = std::forward<CustomerGatewayIdT>(value);
129 template <
typename CustomerGatewayIdT = Aws::String>
143 template <
typename StateT = Aws::String>
145 m_stateHasBeenSet =
true;
146 m_state = std::forward<StateT>(value);
148 template <
typename StateT = Aws::String>
150 SetState(std::forward<StateT>(value));
162 template <
typename TypeT = Aws::String>
164 m_typeHasBeenSet =
true;
165 m_type = std::forward<TypeT>(value);
167 template <
typename TypeT = Aws::String>
169 SetType(std::forward<TypeT>(value));
186 template <
typename IpAddressT = Aws::String>
188 m_ipAddressHasBeenSet =
true;
189 m_ipAddress = std::forward<IpAddressT>(value);
191 template <
typename IpAddressT = Aws::String>
206 template <
typename BgpAsnT = Aws::String>
208 m_bgpAsnHasBeenSet =
true;
209 m_bgpAsn = std::forward<BgpAsnT>(value);
211 template <
typename BgpAsnT = Aws::String>
235 bool m_certificateArnHasBeenSet =
false;
236 bool m_deviceNameHasBeenSet =
false;
237 bool m_tagsHasBeenSet =
false;
238 bool m_bgpAsnExtendedHasBeenSet =
false;
239 bool m_customerGatewayIdHasBeenSet =
false;
240 bool m_stateHasBeenSet =
false;
241 bool m_typeHasBeenSet =
false;
242 bool m_ipAddressHasBeenSet =
false;
243 bool m_bgpAsnHasBeenSet =
false;
void SetType(TypeT &&value)
CustomerGateway & WithBgpAsn(BgpAsnT &&value)
const Aws::String & GetIpAddress() const
void SetDeviceName(DeviceNameT &&value)
const Aws::String & GetState() const
AWS_EC2_API CustomerGateway(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TagsHasBeenSet() const
void SetCertificateArn(CertificateArnT &&value)
bool CustomerGatewayIdHasBeenSet() const
const Aws::String & GetDeviceName() const
CustomerGateway & WithState(StateT &&value)
void SetBgpAsnExtended(BgpAsnExtendedT &&value)
bool IpAddressHasBeenSet() const
const Aws::String & GetCustomerGatewayId() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CustomerGateway & WithCustomerGatewayId(CustomerGatewayIdT &&value)
AWS_EC2_API CustomerGateway()=default
bool StateHasBeenSet() const
bool CertificateArnHasBeenSet() const
CustomerGateway & WithCertificateArn(CertificateArnT &&value)
void SetTags(TagsT &&value)
void SetState(StateT &&value)
CustomerGateway & AddTags(TagsT &&value)
bool TypeHasBeenSet() const
const Aws::String & GetBgpAsn() const
void SetBgpAsn(BgpAsnT &&value)
CustomerGateway & WithType(TypeT &&value)
bool BgpAsnExtendedHasBeenSet() const
void SetIpAddress(IpAddressT &&value)
CustomerGateway & WithTags(TagsT &&value)
AWS_EC2_API CustomerGateway & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool BgpAsnHasBeenSet() const
bool DeviceNameHasBeenSet() const
CustomerGateway & WithBgpAsnExtended(BgpAsnExtendedT &&value)
const Aws::String & GetCertificateArn() const
void SetCustomerGatewayId(CustomerGatewayIdT &&value)
const Aws::String & GetType() const
const Aws::String & GetBgpAsnExtended() const
CustomerGateway & WithDeviceName(DeviceNameT &&value)
CustomerGateway & WithIpAddress(IpAddressT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) 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