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>
58 template<
typename TransferAccountIdT = Aws::String>
59 void SetTransferAccountId(TransferAccountIdT&& value) { m_transferAccountIdHasBeenSet =
true; m_transferAccountId = std::forward<TransferAccountIdT>(value); }
60 template<
typename TransferAccountIdT = Aws::String>
73 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
79 bool m_allocationIdHasBeenSet =
false;
82 bool m_transferAccountIdHasBeenSet =
false;
85 bool m_dryRunHasBeenSet =
false;
void SetAllocationId(AllocationIdT &&value)
const Aws::String & GetAllocationId() const
void SetTransferAccountId(TransferAccountIdT &&value)
void SetDryRun(bool value)
bool AllocationIdHasBeenSet() const
EnableAddressTransferRequest & WithAllocationId(AllocationIdT &&value)
bool TransferAccountIdHasBeenSet() const
EnableAddressTransferRequest & WithDryRun(bool value)
EnableAddressTransferRequest & WithTransferAccountId(TransferAccountIdT &&value)
virtual const char * GetServiceRequestName() const override
bool DryRunHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API EnableAddressTransferRequest()=default
const Aws::String & GetTransferAccountId() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String