7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/GatewayType.h>
12#include <aws/ec2/model/TagSpecification.h>
54 m_bgpAsnHasBeenSet =
true;
70 template <
typename PublicIpT = Aws::String>
72 m_publicIpHasBeenSet =
true;
73 m_publicIp = std::forward<PublicIpT>(value);
75 template <
typename PublicIpT = Aws::String>
88 template <
typename CertificateArnT = Aws::String>
90 m_certificateArnHasBeenSet =
true;
91 m_certificateArn = std::forward<CertificateArnT>(value);
93 template <
typename CertificateArnT = Aws::String>
108 m_typeHasBeenSet =
true;
123 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
125 m_tagSpecificationsHasBeenSet =
true;
126 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
128 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
133 template <
typename TagSpecificationsT = TagSpecification>
135 m_tagSpecificationsHasBeenSet =
true;
136 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
148 template <
typename DeviceNameT = Aws::String>
150 m_deviceNameHasBeenSet =
true;
151 m_deviceName = std::forward<DeviceNameT>(value);
153 template <
typename DeviceNameT = Aws::String>
170 template <
typename IpAddressT = Aws::String>
172 m_ipAddressHasBeenSet =
true;
173 m_ipAddress = std::forward<IpAddressT>(value);
175 template <
typename IpAddressT = Aws::String>
193 m_bgpAsnExtendedHasBeenSet =
true;
194 m_bgpAsnExtended = value;
212 m_dryRunHasBeenSet =
true;
235 long long m_bgpAsnExtended{0};
237 bool m_dryRun{
false};
238 bool m_bgpAsnHasBeenSet =
false;
239 bool m_publicIpHasBeenSet =
false;
240 bool m_certificateArnHasBeenSet =
false;
241 bool m_typeHasBeenSet =
false;
242 bool m_tagSpecificationsHasBeenSet =
false;
243 bool m_deviceNameHasBeenSet =
false;
244 bool m_ipAddressHasBeenSet =
false;
245 bool m_bgpAsnExtendedHasBeenSet =
false;
246 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