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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/Tag.h>
50 template<
typename CertificateArnT = Aws::String>
51 void SetCertificateArn(CertificateArnT&& value) { m_certificateArnHasBeenSet =
true; m_certificateArn = std::forward<CertificateArnT>(value); }
52 template<
typename CertificateArnT = Aws::String>
62 template<
typename DeviceNameT = Aws::String>
63 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet =
true; m_deviceName = std::forward<DeviceNameT>(value); }
64 template<
typename DeviceNameT = Aws::String>
74 template<
typename TagsT = Aws::Vector<Tag>>
75 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
76 template<
typename TagsT = Aws::Vector<Tag>>
78 template<
typename TagsT = Tag>
79 CustomerGateway&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
90 template<
typename BgpAsnExtendedT = Aws::String>
91 void SetBgpAsnExtended(BgpAsnExtendedT&& value) { m_bgpAsnExtendedHasBeenSet =
true; m_bgpAsnExtended = std::forward<BgpAsnExtendedT>(value); }
92 template<
typename BgpAsnExtendedT = Aws::String>
102 template<
typename CustomerGatewayIdT = Aws::String>
103 void SetCustomerGatewayId(CustomerGatewayIdT&& value) { m_customerGatewayIdHasBeenSet =
true; m_customerGatewayId = std::forward<CustomerGatewayIdT>(value); }
104 template<
typename CustomerGatewayIdT = Aws::String>
115 template<
typename StateT = Aws::String>
116 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
117 template<
typename StateT = Aws::String>
128 template<
typename TypeT = Aws::String>
129 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
130 template<
typename TypeT = Aws::String>
146 template<
typename IpAddressT = Aws::String>
147 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet =
true; m_ipAddress = std::forward<IpAddressT>(value); }
148 template<
typename IpAddressT = Aws::String>
160 template<
typename BgpAsnT = Aws::String>
161 void SetBgpAsn(BgpAsnT&& value) { m_bgpAsnHasBeenSet =
true; m_bgpAsn = std::forward<BgpAsnT>(value); }
162 template<
typename BgpAsnT = Aws::String>
168 bool m_certificateArnHasBeenSet =
false;
171 bool m_deviceNameHasBeenSet =
false;
174 bool m_tagsHasBeenSet =
false;
177 bool m_bgpAsnExtendedHasBeenSet =
false;
180 bool m_customerGatewayIdHasBeenSet =
false;
183 bool m_stateHasBeenSet =
false;
186 bool m_typeHasBeenSet =
false;
189 bool m_ipAddressHasBeenSet =
false;
192 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