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 AllocationIdsT = Aws::Vector<Aws::String>>
63 m_allocationIdsHasBeenSet =
true;
64 m_allocationIds = std::forward<AllocationIdsT>(value);
66 template <
typename AllocationIdsT = Aws::Vector<Aws::String>>
71 template <
typename AllocationIdsT = Aws::String>
73 m_allocationIdsHasBeenSet =
true;
74 m_allocationIds.emplace_back(std::forward<AllocationIdsT>(value));
85 template <
typename PrivateIpAddressesT = Aws::Vector<Aws::String>>
87 m_privateIpAddressesHasBeenSet =
true;
88 m_privateIpAddresses = std::forward<PrivateIpAddressesT>(value);
90 template <
typename PrivateIpAddressesT = Aws::Vector<Aws::String>>
95 template <
typename PrivateIpAddressesT = Aws::String>
97 m_privateIpAddressesHasBeenSet =
true;
98 m_privateIpAddresses.emplace_back(std::forward<PrivateIpAddressesT>(value));
113 m_dryRunHasBeenSet =
true;
133 template <
typename AvailabilityZoneT = Aws::String>
135 m_availabilityZoneHasBeenSet =
true;
136 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
138 template <
typename AvailabilityZoneT = Aws::String>
157 template <
typename AvailabilityZoneIdT = Aws::String>
159 m_availabilityZoneIdHasBeenSet =
true;
160 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
162 template <
typename AvailabilityZoneIdT = Aws::String>
175 bool m_dryRun{
false};
180 bool m_natGatewayIdHasBeenSet =
false;
181 bool m_allocationIdsHasBeenSet =
false;
182 bool m_privateIpAddressesHasBeenSet =
false;
183 bool m_dryRunHasBeenSet =
false;
184 bool m_availabilityZoneHasBeenSet =
false;
185 bool m_availabilityZoneIdHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAvailabilityZone() const
bool DryRunHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetAvailabilityZone(AvailabilityZoneT &&value)
void SetPrivateIpAddresses(PrivateIpAddressesT &&value)
const Aws::Vector< Aws::String > & GetAllocationIds() const
bool AvailabilityZoneHasBeenSet() const
void SetDryRun(bool value)
AssociateNatGatewayAddressRequest & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
bool NatGatewayIdHasBeenSet() const
AssociateNatGatewayAddressRequest & AddPrivateIpAddresses(PrivateIpAddressesT &&value)
void SetAllocationIds(AllocationIdsT &&value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
AssociateNatGatewayAddressRequest & WithAllocationIds(AllocationIdsT &&value)
AssociateNatGatewayAddressRequest & AddAllocationIds(AllocationIdsT &&value)
const Aws::Vector< Aws::String > & GetPrivateIpAddresses() const
bool AvailabilityZoneIdHasBeenSet() const
AssociateNatGatewayAddressRequest & WithPrivateIpAddresses(PrivateIpAddressesT &&value)
const Aws::String & GetAvailabilityZoneId() const
AssociateNatGatewayAddressRequest & WithNatGatewayId(NatGatewayIdT &&value)
bool PrivateIpAddressesHasBeenSet() const
void SetNatGatewayId(NatGatewayIdT &&value)
AWS_EC2_API AssociateNatGatewayAddressRequest()=default
AWS_EC2_API Aws::String SerializePayload() const override
bool AllocationIdsHasBeenSet() const
AssociateNatGatewayAddressRequest & WithDryRun(bool value)
AssociateNatGatewayAddressRequest & WithAvailabilityZone(AvailabilityZoneT &&value)
const Aws::String & GetNatGatewayId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector