7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/GatewayType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/TagSpecification.h>
57 inline void SetBgpAsn(
int value) { m_bgpAsnHasBeenSet =
true; m_bgpAsn = value; }
68 template<
typename PublicIpT = Aws::String>
69 void SetPublicIp(PublicIpT&& value) { m_publicIpHasBeenSet =
true; m_publicIp = std::forward<PublicIpT>(value); }
70 template<
typename PublicIpT = Aws::String>
80 template<
typename CertificateArnT = Aws::String>
81 void SetCertificateArn(CertificateArnT&& value) { m_certificateArnHasBeenSet =
true; m_certificateArn = std::forward<CertificateArnT>(value); }
82 template<
typename CertificateArnT = Aws::String>
103 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
104 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
105 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
107 template<
typename TagSpecificationsT = TagSpecification>
118 template<
typename DeviceNameT = Aws::String>
119 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet =
true; m_deviceName = std::forward<DeviceNameT>(value); }
120 template<
typename DeviceNameT = Aws::String>
134 template<
typename IpAddressT = Aws::String>
135 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet =
true; m_ipAddress = std::forward<IpAddressT>(value); }
136 template<
typename IpAddressT = Aws::String>
150 inline void SetBgpAsnExtended(
long long value) { m_bgpAsnExtendedHasBeenSet =
true; m_bgpAsnExtended = value; }
163 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
169 bool m_bgpAsnHasBeenSet =
false;
172 bool m_publicIpHasBeenSet =
false;
175 bool m_certificateArnHasBeenSet =
false;
178 bool m_typeHasBeenSet =
false;
181 bool m_tagSpecificationsHasBeenSet =
false;
184 bool m_deviceNameHasBeenSet =
false;
187 bool m_ipAddressHasBeenSet =
false;
189 long long m_bgpAsnExtended{0};
190 bool m_bgpAsnExtendedHasBeenSet =
false;
192 bool m_dryRun{
false};
193 bool m_dryRunHasBeenSet =
false;
bool DryRunHasBeenSet() const
void SetIpAddress(IpAddressT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool TypeHasBeenSet() const
const Aws::String & GetCertificateArn() const
CreateCustomerGatewayRequest & WithIpAddress(IpAddressT &&value)
bool DeviceNameHasBeenSet() const
void SetPublicIp(PublicIpT &&value)
long long GetBgpAsnExtended() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateCustomerGatewayRequest & WithDeviceName(DeviceNameT &&value)
CreateCustomerGatewayRequest & WithBgpAsn(int value)
CreateCustomerGatewayRequest & WithTagSpecifications(TagSpecificationsT &&value)
virtual const char * GetServiceRequestName() const override
void SetBgpAsn(int value)
GatewayType GetType() const
AWS_EC2_API CreateCustomerGatewayRequest()=default
void SetType(GatewayType value)
void SetCertificateArn(CertificateArnT &&value)
bool BgpAsnExtendedHasBeenSet() const
CreateCustomerGatewayRequest & WithCertificateArn(CertificateArnT &&value)
bool IpAddressHasBeenSet() const
const Aws::String & GetIpAddress() const
void SetDeviceName(DeviceNameT &&value)
const Aws::String & GetDeviceName() const
AWS_EC2_API Aws::String SerializePayload() const override
bool TagSpecificationsHasBeenSet() const
void SetTagSpecifications(TagSpecificationsT &&value)
void SetDryRun(bool value)
CreateCustomerGatewayRequest & WithBgpAsnExtended(long long value)
CreateCustomerGatewayRequest & AddTagSpecifications(TagSpecificationsT &&value)
bool PublicIpHasBeenSet() const
bool CertificateArnHasBeenSet() const
CreateCustomerGatewayRequest & WithDryRun(bool value)
const Aws::String & GetPublicIp() const
void SetBgpAsnExtended(long long value)
CreateCustomerGatewayRequest & WithPublicIp(PublicIpT &&value)
CreateCustomerGatewayRequest & WithType(GatewayType value)
bool BgpAsnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector