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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/ConnectivityType.h>
12#include <aws/ec2/model/TagSpecification.h>
14#include <aws/core/utils/UUID.h>
54 inline void SetAllocationId(
const char* value) { m_allocationIdHasBeenSet =
true; m_allocationId.assign(value); }
71 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
86 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
98 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
140 inline void SetPrivateIpAddress(
const char* value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress.assign(value); }
197 bool m_allocationIdHasBeenSet =
false;
200 bool m_clientTokenHasBeenSet =
false;
203 bool m_dryRunHasBeenSet =
false;
206 bool m_subnetIdHasBeenSet =
false;
209 bool m_tagSpecificationsHasBeenSet =
false;
212 bool m_connectivityTypeHasBeenSet =
false;
215 bool m_privateIpAddressHasBeenSet =
false;
218 bool m_secondaryAllocationIdsHasBeenSet =
false;
221 bool m_secondaryPrivateIpAddressesHasBeenSet =
false;
223 int m_secondaryPrivateIpAddressCount;
224 bool m_secondaryPrivateIpAddressCountHasBeenSet =
false;
bool SecondaryPrivateIpAddressesHasBeenSet() const
CreateNatGatewayRequest & WithSecondaryPrivateIpAddresses(Aws::Vector< Aws::String > &&value)
const Aws::String & GetPrivateIpAddress() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateNatGatewayRequest & WithSubnetId(const char *value)
const Aws::Vector< Aws::String > & GetSecondaryPrivateIpAddresses() const
CreateNatGatewayRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
const ConnectivityType & GetConnectivityType() const
CreateNatGatewayRequest & AddSecondaryAllocationIds(const char *value)
bool TagSpecificationsHasBeenSet() const
void SetPrivateIpAddress(Aws::String &&value)
void SetSecondaryPrivateIpAddresses(const Aws::Vector< Aws::String > &value)
const Aws::String & GetClientToken() const
const Aws::String & GetAllocationId() const
AWS_EC2_API Aws::String SerializePayload() const override
CreateNatGatewayRequest & WithSubnetId(const Aws::String &value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateNatGatewayRequest & AddSecondaryPrivateIpAddresses(const char *value)
void SetSecondaryAllocationIds(const Aws::Vector< Aws::String > &value)
void SetAllocationId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateNatGatewayRequest & WithAllocationId(const Aws::String &value)
void SetPrivateIpAddress(const Aws::String &value)
CreateNatGatewayRequest & WithConnectivityType(const ConnectivityType &value)
void SetAllocationId(const char *value)
CreateNatGatewayRequest & WithPrivateIpAddress(Aws::String &&value)
void SetSecondaryPrivateIpAddresses(Aws::Vector< Aws::String > &&value)
void SetSecondaryAllocationIds(Aws::Vector< Aws::String > &&value)
bool ConnectivityTypeHasBeenSet() const
CreateNatGatewayRequest & WithPrivateIpAddress(const char *value)
bool SecondaryAllocationIdsHasBeenSet() const
CreateNatGatewayRequest & WithSecondaryPrivateIpAddresses(const Aws::Vector< Aws::String > &value)
CreateNatGatewayRequest & WithDryRun(bool value)
void SetConnectivityType(ConnectivityType &&value)
bool AllocationIdHasBeenSet() const
void SetAllocationId(Aws::String &&value)
void SetSubnetId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSecondaryAllocationIds() const
CreateNatGatewayRequest & AddTagSpecifications(const TagSpecification &value)
bool ClientTokenHasBeenSet() const
void SetClientToken(const char *value)
CreateNatGatewayRequest & WithClientToken(const char *value)
CreateNatGatewayRequest & WithAllocationId(Aws::String &&value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
bool SubnetIdHasBeenSet() const
void SetClientToken(Aws::String &&value)
CreateNatGatewayRequest & AddSecondaryPrivateIpAddresses(Aws::String &&value)
AWS_EC2_API CreateNatGatewayRequest()
CreateNatGatewayRequest & WithSecondaryAllocationIds(Aws::Vector< Aws::String > &&value)
bool PrivateIpAddressHasBeenSet() const
CreateNatGatewayRequest & WithClientToken(const Aws::String &value)
void SetDryRun(bool value)
int GetSecondaryPrivateIpAddressCount() const
CreateNatGatewayRequest & WithSecondaryPrivateIpAddressCount(int value)
CreateNatGatewayRequest & WithConnectivityType(ConnectivityType &&value)
CreateNatGatewayRequest & WithSecondaryAllocationIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetSubnetId() const
CreateNatGatewayRequest & WithClientToken(Aws::String &&value)
void SetConnectivityType(const ConnectivityType &value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateNatGatewayRequest & AddSecondaryAllocationIds(Aws::String &&value)
void SetPrivateIpAddress(const char *value)
CreateNatGatewayRequest & AddSecondaryAllocationIds(const Aws::String &value)
void SetSubnetId(const char *value)
void SetClientToken(const Aws::String &value)
bool DryRunHasBeenSet() const
void SetSecondaryPrivateIpAddressCount(int value)
CreateNatGatewayRequest & AddTagSpecifications(TagSpecification &&value)
CreateNatGatewayRequest & WithAllocationId(const char *value)
CreateNatGatewayRequest & WithSubnetId(Aws::String &&value)
CreateNatGatewayRequest & AddSecondaryPrivateIpAddresses(const Aws::String &value)
bool SecondaryPrivateIpAddressCountHasBeenSet() const
CreateNatGatewayRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetSubnetId(Aws::String &&value)
CreateNatGatewayRequest & WithPrivateIpAddress(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector