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>
11#include <aws/ec2/model/DomainType.h>
12#include <aws/ec2/model/TagSpecification.h>
45 m_domainHasBeenSet =
true;
61 template <
typename AddressT = Aws::String>
63 m_addressHasBeenSet =
true;
64 m_address = std::forward<AddressT>(value);
66 template <
typename AddressT = Aws::String>
81 template <
typename PublicIpv4PoolT = Aws::String>
83 m_publicIpv4PoolHasBeenSet =
true;
84 m_publicIpv4Pool = std::forward<PublicIpv4PoolT>(value);
86 template <
typename PublicIpv4PoolT = Aws::String>
102 template <
typename NetworkBorderGroupT = Aws::String>
104 m_networkBorderGroupHasBeenSet =
true;
105 m_networkBorderGroup = std::forward<NetworkBorderGroupT>(value);
107 template <
typename NetworkBorderGroupT = Aws::String>
122 template <
typename CustomerOwnedIpv4PoolT = Aws::String>
124 m_customerOwnedIpv4PoolHasBeenSet =
true;
125 m_customerOwnedIpv4Pool = std::forward<CustomerOwnedIpv4PoolT>(value);
127 template <
typename CustomerOwnedIpv4PoolT = Aws::String>
140 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
142 m_tagSpecificationsHasBeenSet =
true;
143 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
145 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
150 template <
typename TagSpecificationsT = TagSpecification>
152 m_tagSpecificationsHasBeenSet =
true;
153 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
168 template <
typename IpamPoolIdT = Aws::String>
170 m_ipamPoolIdHasBeenSet =
true;
171 m_ipamPoolId = std::forward<IpamPoolIdT>(value);
173 template <
typename IpamPoolIdT = Aws::String>
190 m_dryRunHasBeenSet =
true;
213 bool m_dryRun{
false};
214 bool m_domainHasBeenSet =
false;
215 bool m_addressHasBeenSet =
false;
216 bool m_publicIpv4PoolHasBeenSet =
false;
217 bool m_networkBorderGroupHasBeenSet =
false;
218 bool m_customerOwnedIpv4PoolHasBeenSet =
false;
219 bool m_tagSpecificationsHasBeenSet =
false;
220 bool m_ipamPoolIdHasBeenSet =
false;
221 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