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>
52 inline void SetCertificateArn(
const char* value) { m_certificateArnHasBeenSet =
true; m_certificateArn.assign(value); }
66 inline void SetDeviceName(
const char* value) { m_deviceNameHasBeenSet =
true; m_deviceName.assign(value); }
96 inline void SetBgpAsnExtended(
const char* value) { m_bgpAsnExtendedHasBeenSet =
true; m_bgpAsnExtended.assign(value); }
110 inline void SetCustomerGatewayId(
const char* value) { m_customerGatewayIdHasBeenSet =
true; m_customerGatewayId.assign(value); }
125 inline void SetState(
const char* value) { m_stateHasBeenSet =
true; m_state.assign(value); }
140 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
158 inline void SetIpAddress(
const char* value) { m_ipAddressHasBeenSet =
true; m_ipAddress.assign(value); }
174 inline void SetBgpAsn(
const char* value) { m_bgpAsnHasBeenSet =
true; m_bgpAsn.assign(value); }
182 bool m_certificateArnHasBeenSet =
false;
185 bool m_deviceNameHasBeenSet =
false;
188 bool m_tagsHasBeenSet =
false;
191 bool m_bgpAsnExtendedHasBeenSet =
false;
194 bool m_customerGatewayIdHasBeenSet =
false;
197 bool m_stateHasBeenSet =
false;
200 bool m_typeHasBeenSet =
false;
203 bool m_ipAddressHasBeenSet =
false;
206 bool m_bgpAsnHasBeenSet =
false;
CustomerGateway & WithIpAddress(const char *value)
void SetIpAddress(const char *value)
const Aws::String & GetIpAddress() const
CustomerGateway & WithDeviceName(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetIpAddress(Aws::String &&value)
CustomerGateway & WithType(Aws::String &&value)
void SetCertificateArn(const Aws::String &value)
const Aws::String & GetState() const
CustomerGateway & WithCertificateArn(const Aws::String &value)
void SetType(const char *value)
void SetCustomerGatewayId(Aws::String &&value)
AWS_EC2_API CustomerGateway(const Aws::Utils::Xml::XmlNode &xmlNode)
CustomerGateway & WithBgpAsn(const char *value)
bool TagsHasBeenSet() const
bool CustomerGatewayIdHasBeenSet() const
const Aws::String & GetDeviceName() const
bool IpAddressHasBeenSet() const
CustomerGateway & WithBgpAsnExtended(const char *value)
CustomerGateway & WithBgpAsnExtended(const Aws::String &value)
CustomerGateway & WithState(Aws::String &&value)
CustomerGateway & WithCustomerGatewayId(Aws::String &&value)
const Aws::String & GetCustomerGatewayId() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CustomerGateway & WithDeviceName(Aws::String &&value)
void SetDeviceName(const Aws::String &value)
bool StateHasBeenSet() const
AWS_EC2_API CustomerGateway()
bool CertificateArnHasBeenSet() const
CustomerGateway & WithIpAddress(Aws::String &&value)
void SetDeviceName(const char *value)
void SetState(Aws::String &&value)
CustomerGateway & WithCertificateArn(Aws::String &&value)
void SetBgpAsn(Aws::String &&value)
void SetType(Aws::String &&value)
void SetBgpAsnExtended(const char *value)
CustomerGateway & WithCertificateArn(const char *value)
CustomerGateway & WithState(const char *value)
void SetBgpAsn(const char *value)
CustomerGateway & WithIpAddress(const Aws::String &value)
void SetState(const Aws::String &value)
bool TypeHasBeenSet() const
CustomerGateway & WithCustomerGatewayId(const Aws::String &value)
const Aws::String & GetBgpAsn() const
CustomerGateway & WithType(const Aws::String &value)
CustomerGateway & WithTags(Aws::Vector< Tag > &&value)
CustomerGateway & WithCustomerGatewayId(const char *value)
CustomerGateway & WithType(const char *value)
bool BgpAsnExtendedHasBeenSet() const
CustomerGateway & WithBgpAsn(Aws::String &&value)
CustomerGateway & WithDeviceName(const char *value)
void SetCustomerGatewayId(const Aws::String &value)
void SetBgpAsn(const Aws::String &value)
AWS_EC2_API CustomerGateway & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool BgpAsnHasBeenSet() const
bool DeviceNameHasBeenSet() const
CustomerGateway & WithState(const Aws::String &value)
void SetCertificateArn(Aws::String &&value)
void SetType(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetState(const char *value)
const Aws::String & GetCertificateArn() const
void SetDeviceName(Aws::String &&value)
void SetIpAddress(const Aws::String &value)
void SetBgpAsnExtended(Aws::String &&value)
CustomerGateway & WithTags(const Aws::Vector< Tag > &value)
CustomerGateway & AddTags(const Tag &value)
const Aws::String & GetType() const
CustomerGateway & WithBgpAsnExtended(Aws::String &&value)
const Aws::String & GetBgpAsnExtended() const
void SetCertificateArn(const char *value)
CustomerGateway & WithBgpAsn(const Aws::String &value)
void SetBgpAsnExtended(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
void SetCustomerGatewayId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CustomerGateway & AddTags(Tag &&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