7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/EC2_EXPORTS.h>
41 template <
typename AllocationIdT = Aws::String>
43 m_allocationIdHasBeenSet =
true;
44 m_allocationId = std::forward<AllocationIdT>(value);
46 template <
typename AllocationIdT = Aws::String>
59 template <
typename PublicIpT = Aws::String>
61 m_publicIpHasBeenSet =
true;
62 m_publicIp = std::forward<PublicIpT>(value);
64 template <
typename PublicIpT = Aws::String>
80 template <
typename NetworkBorderGroupT = Aws::String>
82 m_networkBorderGroupHasBeenSet =
true;
83 m_networkBorderGroup = std::forward<NetworkBorderGroupT>(value);
85 template <
typename NetworkBorderGroupT = Aws::String>
102 m_dryRunHasBeenSet =
true;
117 bool m_dryRun{
false};
118 bool m_allocationIdHasBeenSet =
false;
119 bool m_publicIpHasBeenSet =
false;
120 bool m_networkBorderGroupHasBeenSet =
false;
121 bool m_dryRunHasBeenSet =
false;
const Aws::String & GetAllocationId() const
ReleaseAddressRequest & WithNetworkBorderGroup(NetworkBorderGroupT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API Aws::String SerializePayload() const override
ReleaseAddressRequest & WithPublicIp(PublicIpT &&value)
void SetNetworkBorderGroup(NetworkBorderGroupT &&value)
const Aws::String & GetNetworkBorderGroup() const
const Aws::String & GetPublicIp() const
bool DryRunHasBeenSet() const
void SetAllocationId(AllocationIdT &&value)
bool PublicIpHasBeenSet() const
AWS_EC2_API ReleaseAddressRequest()=default
void SetPublicIp(PublicIpT &&value)
virtual const char * GetServiceRequestName() const override
ReleaseAddressRequest & WithAllocationId(AllocationIdT &&value)
bool AllocationIdHasBeenSet() const
ReleaseAddressRequest & WithDryRun(bool value)
void SetDryRun(bool value)
bool NetworkBorderGroupHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String