7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2Request.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/TagSpecification.h>
48 m_dryRunHasBeenSet =
true;
63 template <
typename IpamPoolIdT = Aws::String>
65 m_ipamPoolIdHasBeenSet =
true;
66 m_ipamPoolId = std::forward<IpamPoolIdT>(value);
68 template <
typename IpamPoolIdT = Aws::String>
87 template <
typename C
idrT = Aws::String>
89 m_cidrHasBeenSet =
true;
90 m_cidr = std::forward<CidrT>(value);
92 template <
typename C
idrT = Aws::String>
94 SetCidr(std::forward<CidrT>(value));
113 m_netmaskLengthHasBeenSet =
true;
114 m_netmaskLength = value;
131 template <
typename ClientTokenT = Aws::String>
133 m_clientTokenHasBeenSet =
true;
134 m_clientToken = std::forward<ClientTokenT>(value);
136 template <
typename ClientTokenT = Aws::String>
149 template <
typename DescriptionT = Aws::String>
151 m_descriptionHasBeenSet =
true;
152 m_description = std::forward<DescriptionT>(value);
154 template <
typename DescriptionT = Aws::String>
168 m_previewNextCidrHasBeenSet =
true;
169 m_previewNextCidr = value;
184 template <
typename AllowedC
idrsT = Aws::Vector<Aws::String>>
186 m_allowedCidrsHasBeenSet =
true;
187 m_allowedCidrs = std::forward<AllowedCidrsT>(value);
189 template <
typename AllowedC
idrsT = Aws::Vector<Aws::String>>
194 template <
typename AllowedC
idrsT = Aws::String>
196 m_allowedCidrsHasBeenSet =
true;
197 m_allowedCidrs.emplace_back(std::forward<AllowedCidrsT>(value));
209 template <
typename DisallowedC
idrsT = Aws::Vector<Aws::String>>
211 m_disallowedCidrsHasBeenSet =
true;
212 m_disallowedCidrs = std::forward<DisallowedCidrsT>(value);
214 template <
typename DisallowedC
idrsT = Aws::Vector<Aws::String>>
219 template <
typename DisallowedC
idrsT = Aws::String>
221 m_disallowedCidrsHasBeenSet =
true;
222 m_disallowedCidrs.emplace_back(std::forward<DisallowedCidrsT>(value));
239 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
241 m_tagSpecificationsHasBeenSet =
true;
242 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
244 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
249 template <
typename TagSpecificationsT = TagSpecification>
251 m_tagSpecificationsHasBeenSet =
true;
252 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
257 bool m_dryRun{
false};
263 int m_netmaskLength{0};
269 bool m_previewNextCidr{
false};
276 bool m_dryRunHasBeenSet =
false;
277 bool m_ipamPoolIdHasBeenSet =
false;
278 bool m_cidrHasBeenSet =
false;
279 bool m_netmaskLengthHasBeenSet =
false;
280 bool m_clientTokenHasBeenSet =
true;
281 bool m_descriptionHasBeenSet =
false;
282 bool m_previewNextCidrHasBeenSet =
false;
283 bool m_allowedCidrsHasBeenSet =
false;
284 bool m_disallowedCidrsHasBeenSet =
false;
285 bool m_tagSpecificationsHasBeenSet =
false;
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDescription(DescriptionT &&value)
void SetIpamPoolId(IpamPoolIdT &&value)
AWS_EC2_API AllocateIpamPoolCidrRequest()=default
AllocateIpamPoolCidrRequest & WithDisallowedCidrs(DisallowedCidrsT &&value)
bool DryRunHasBeenSet() const
AllocateIpamPoolCidrRequest & WithAllowedCidrs(AllowedCidrsT &&value)
AllocateIpamPoolCidrRequest & WithNetmaskLength(int value)
bool ClientTokenHasBeenSet() const
const Aws::String & GetCidr() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
AWS_EC2_API Aws::String SerializePayload() const override
bool PreviewNextCidrHasBeenSet() const
void SetAllowedCidrs(AllowedCidrsT &&value)
int GetNetmaskLength() const
AllocateIpamPoolCidrRequest & WithTagSpecifications(TagSpecificationsT &&value)
void SetPreviewNextCidr(bool value)
const Aws::String & GetClientToken() const
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetIpamPoolId() const
AllocateIpamPoolCidrRequest & WithPreviewNextCidr(bool value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
AllocateIpamPoolCidrRequest & AddDisallowedCidrs(DisallowedCidrsT &&value)
bool CidrHasBeenSet() const
AllocateIpamPoolCidrRequest & WithIpamPoolId(IpamPoolIdT &&value)
bool NetmaskLengthHasBeenSet() const
void SetDryRun(bool value)
AllocateIpamPoolCidrRequest & AddAllowedCidrs(AllowedCidrsT &&value)
const Aws::Vector< Aws::String > & GetDisallowedCidrs() const
AllocateIpamPoolCidrRequest & AddTagSpecifications(TagSpecificationsT &&value)
bool IpamPoolIdHasBeenSet() const
AllocateIpamPoolCidrRequest & WithCidr(CidrT &&value)
void SetDisallowedCidrs(DisallowedCidrsT &&value)
bool DisallowedCidrsHasBeenSet() const
void SetTagSpecifications(TagSpecificationsT &&value)
AllocateIpamPoolCidrRequest & WithClientToken(ClientTokenT &&value)
bool TagSpecificationsHasBeenSet() const
bool GetPreviewNextCidr() const
void SetNetmaskLength(int value)
AllocateIpamPoolCidrRequest & WithDescription(DescriptionT &&value)
bool AllowedCidrsHasBeenSet() const
AllocateIpamPoolCidrRequest & WithDryRun(bool value)
const Aws::Vector< Aws::String > & GetAllowedCidrs() const
void SetCidr(CidrT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector