7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 template<
typename AllocationIdT = Aws::String>
46 void SetAllocationId(AllocationIdT&& value) { m_allocationIdHasBeenSet =
true; m_allocationId = std::forward<AllocationIdT>(value); }
47 template<
typename AllocationIdT = Aws::String>
57 template<
typename PublicIpT = Aws::String>
58 void SetPublicIp(PublicIpT&& value) { m_publicIpHasBeenSet =
true; m_publicIp = std::forward<PublicIpT>(value); }
59 template<
typename PublicIpT = Aws::String>
72 template<
typename NetworkBorderGroupT = Aws::String>
73 void SetNetworkBorderGroup(NetworkBorderGroupT&& value) { m_networkBorderGroupHasBeenSet =
true; m_networkBorderGroup = std::forward<NetworkBorderGroupT>(value); }
74 template<
typename NetworkBorderGroupT = Aws::String>
87 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
93 bool m_allocationIdHasBeenSet =
false;
96 bool m_publicIpHasBeenSet =
false;
99 bool m_networkBorderGroupHasBeenSet =
false;
101 bool m_dryRun{
false};
102 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