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>
46 template<
typename NatGatewayIdT = Aws::String>
47 void SetNatGatewayId(NatGatewayIdT&& value) { m_natGatewayIdHasBeenSet =
true; m_natGatewayId = std::forward<NatGatewayIdT>(value); }
48 template<
typename NatGatewayIdT = Aws::String>
59 template<
typename AssociationIdsT = Aws::Vector<Aws::String>>
60 void SetAssociationIds(AssociationIdsT&& value) { m_associationIdsHasBeenSet =
true; m_associationIds = std::forward<AssociationIdsT>(value); }
61 template<
typename AssociationIdsT = Aws::Vector<Aws::String>>
63 template<
typename AssociationIdsT = Aws::String>
88 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
94 bool m_natGatewayIdHasBeenSet =
false;
97 bool m_associationIdsHasBeenSet =
false;
99 int m_maxDrainDurationSeconds{0};
100 bool m_maxDrainDurationSecondsHasBeenSet =
false;
102 bool m_dryRun{
false};
103 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