7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/model/DomainType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/TagSpecification.h>
59 template<
typename AddressT = Aws::String>
60 void SetAddress(AddressT&& value) { m_addressHasBeenSet =
true; m_address = std::forward<AddressT>(value); }
61 template<
typename AddressT = Aws::String>
73 template<
typename PublicIpv4PoolT = Aws::String>
74 void SetPublicIpv4Pool(PublicIpv4PoolT&& value) { m_publicIpv4PoolHasBeenSet =
true; m_publicIpv4Pool = std::forward<PublicIpv4PoolT>(value); }
75 template<
typename PublicIpv4PoolT = Aws::String>
88 template<
typename NetworkBorderGroupT = Aws::String>
89 void SetNetworkBorderGroup(NetworkBorderGroupT&& value) { m_networkBorderGroupHasBeenSet =
true; m_networkBorderGroup = std::forward<NetworkBorderGroupT>(value); }
90 template<
typename NetworkBorderGroupT = Aws::String>
102 template<
typename CustomerOwnedIpv4PoolT = Aws::String>
103 void SetCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT&& value) { m_customerOwnedIpv4PoolHasBeenSet =
true; m_customerOwnedIpv4Pool = std::forward<CustomerOwnedIpv4PoolT>(value); }
104 template<
typename CustomerOwnedIpv4PoolT = Aws::String>
114 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
115 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
116 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
118 template<
typename TagSpecificationsT = TagSpecification>
132 template<
typename IpamPoolIdT = Aws::String>
133 void SetIpamPoolId(IpamPoolIdT&& value) { m_ipamPoolIdHasBeenSet =
true; m_ipamPoolId = std::forward<IpamPoolIdT>(value); }
134 template<
typename IpamPoolIdT = Aws::String>
147 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
153 bool m_domainHasBeenSet =
false;
156 bool m_addressHasBeenSet =
false;
159 bool m_publicIpv4PoolHasBeenSet =
false;
162 bool m_networkBorderGroupHasBeenSet =
false;
165 bool m_customerOwnedIpv4PoolHasBeenSet =
false;
168 bool m_tagSpecificationsHasBeenSet =
false;
171 bool m_ipamPoolIdHasBeenSet =
false;
173 bool m_dryRun{
false};
174 bool m_dryRunHasBeenSet =
false;
void SetAddress(AddressT &&value)
const Aws::String & GetIpamPoolId() const
const Aws::String & GetAddress() const
void SetCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT &&value)
bool TagSpecificationsHasBeenSet() const
void SetDomain(DomainType value)
AllocateAddressRequest & AddTagSpecifications(TagSpecificationsT &&value)
AWS_EC2_API AllocateAddressRequest()=default
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
AWS_EC2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetPublicIpv4Pool(PublicIpv4PoolT &&value)
bool AddressHasBeenSet() const
AllocateAddressRequest & WithTagSpecifications(TagSpecificationsT &&value)
AllocateAddressRequest & WithPublicIpv4Pool(PublicIpv4PoolT &&value)
const Aws::String & GetNetworkBorderGroup() const
void SetNetworkBorderGroup(NetworkBorderGroupT &&value)
const Aws::String & GetPublicIpv4Pool() const
void SetDryRun(bool value)
bool PublicIpv4PoolHasBeenSet() const
AllocateAddressRequest & WithAddress(AddressT &&value)
bool CustomerOwnedIpv4PoolHasBeenSet() const
AllocateAddressRequest & WithDryRun(bool value)
void SetTagSpecifications(TagSpecificationsT &&value)
DomainType GetDomain() const
AllocateAddressRequest & WithIpamPoolId(IpamPoolIdT &&value)
AllocateAddressRequest & WithNetworkBorderGroup(NetworkBorderGroupT &&value)
void SetIpamPoolId(IpamPoolIdT &&value)
bool NetworkBorderGroupHasBeenSet() const
bool IpamPoolIdHasBeenSet() const
bool DryRunHasBeenSet() const
AllocateAddressRequest & WithDomain(DomainType value)
AllocateAddressRequest & WithCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT &&value)
bool DomainHasBeenSet() const
const Aws::String & GetCustomerOwnedIpv4Pool() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector