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>
31 inline virtual const char*
GetServiceRequestName()
const override {
return "UnassignPrivateNatGatewayAddress"; }
48 inline void SetNatGatewayId(
const char* value) { m_natGatewayIdHasBeenSet =
true; m_natGatewayId.assign(value); }
90 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
96 bool m_natGatewayIdHasBeenSet =
false;
99 bool m_privateIpAddressesHasBeenSet =
false;
101 int m_maxDrainDurationSeconds;
102 bool m_maxDrainDurationSecondsHasBeenSet =
false;
105 bool m_dryRunHasBeenSet =
false;
UnassignPrivateNatGatewayAddressRequest & WithMaxDrainDurationSeconds(int value)
UnassignPrivateNatGatewayAddressRequest & AddPrivateIpAddresses(const char *value)
void SetNatGatewayId(const char *value)
void SetNatGatewayId(Aws::String &&value)
bool NatGatewayIdHasBeenSet() const
UnassignPrivateNatGatewayAddressRequest & WithPrivateIpAddresses(const Aws::Vector< Aws::String > &value)
UnassignPrivateNatGatewayAddressRequest & WithNatGatewayId(const char *value)
UnassignPrivateNatGatewayAddressRequest & WithNatGatewayId(Aws::String &&value)
const Aws::String & GetNatGatewayId() const
void SetMaxDrainDurationSeconds(int value)
void SetPrivateIpAddresses(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetPrivateIpAddresses() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
UnassignPrivateNatGatewayAddressRequest & WithPrivateIpAddresses(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
AWS_EC2_API Aws::String SerializePayload() const override
bool DryRunHasBeenSet() const
AWS_EC2_API UnassignPrivateNatGatewayAddressRequest()
void SetPrivateIpAddresses(Aws::Vector< Aws::String > &&value)
UnassignPrivateNatGatewayAddressRequest & WithDryRun(bool value)
int GetMaxDrainDurationSeconds() const
bool PrivateIpAddressesHasBeenSet() const
UnassignPrivateNatGatewayAddressRequest & AddPrivateIpAddresses(const Aws::String &value)
void SetDryRun(bool value)
void SetNatGatewayId(const Aws::String &value)
UnassignPrivateNatGatewayAddressRequest & WithNatGatewayId(const Aws::String &value)
UnassignPrivateNatGatewayAddressRequest & AddPrivateIpAddresses(Aws::String &&value)
bool MaxDrainDurationSecondsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector