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>
42 template <
typename NatGatewayIdT = Aws::String>
44 m_natGatewayIdHasBeenSet =
true;
45 m_natGatewayId = std::forward<NatGatewayIdT>(value);
47 template <
typename NatGatewayIdT = Aws::String>
61 template <
typename AssociationIdsT = Aws::Vector<Aws::String>>
63 m_associationIdsHasBeenSet =
true;
64 m_associationIds = std::forward<AssociationIdsT>(value);
66 template <
typename AssociationIdsT = Aws::Vector<Aws::String>>
71 template <
typename AssociationIdsT = Aws::String>
73 m_associationIdsHasBeenSet =
true;
74 m_associationIds.emplace_back(std::forward<AssociationIdsT>(value));
88 m_maxDrainDurationSecondsHasBeenSet =
true;
89 m_maxDrainDurationSeconds = value;
107 m_dryRunHasBeenSet =
true;
120 int m_maxDrainDurationSeconds{0};
122 bool m_dryRun{
false};
123 bool m_natGatewayIdHasBeenSet =
false;
124 bool m_associationIdsHasBeenSet =
false;
125 bool m_maxDrainDurationSecondsHasBeenSet =
false;
126 bool m_dryRunHasBeenSet =
false;
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DisassociateNatGatewayAddressRequest & WithDryRun(bool value)
DisassociateNatGatewayAddressRequest & WithAssociationIds(AssociationIdsT &&value)
int GetMaxDrainDurationSeconds() const
bool DryRunHasBeenSet() const
void SetMaxDrainDurationSeconds(int value)
bool MaxDrainDurationSecondsHasBeenSet() const
bool NatGatewayIdHasBeenSet() const
const Aws::String & GetNatGatewayId() const
virtual const char * GetServiceRequestName() const override
DisassociateNatGatewayAddressRequest & WithMaxDrainDurationSeconds(int value)
const Aws::Vector< Aws::String > & GetAssociationIds() const
void SetAssociationIds(AssociationIdsT &&value)
DisassociateNatGatewayAddressRequest & WithNatGatewayId(NatGatewayIdT &&value)
void SetNatGatewayId(NatGatewayIdT &&value)
bool AssociationIdsHasBeenSet() const
AWS_EC2_API DisassociateNatGatewayAddressRequest()=default
void SetDryRun(bool value)
DisassociateNatGatewayAddressRequest & AddAssociationIds(AssociationIdsT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector