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>
47 m_dryRunHasBeenSet =
true;
62 template <
typename IpamPoolIdT = Aws::String>
64 m_ipamPoolIdHasBeenSet =
true;
65 m_ipamPoolId = std::forward<IpamPoolIdT>(value);
67 template <
typename IpamPoolIdT = Aws::String>
86 template <
typename C
idrT = Aws::String>
88 m_cidrHasBeenSet =
true;
89 m_cidr = std::forward<CidrT>(value);
91 template <
typename C
idrT = Aws::String>
93 SetCidr(std::forward<CidrT>(value));
112 m_netmaskLengthHasBeenSet =
true;
113 m_netmaskLength = value;
130 template <
typename ClientTokenT = Aws::String>
132 m_clientTokenHasBeenSet =
true;
133 m_clientToken = std::forward<ClientTokenT>(value);
135 template <
typename ClientTokenT = Aws::String>
148 template <
typename DescriptionT = Aws::String>
150 m_descriptionHasBeenSet =
true;
151 m_description = std::forward<DescriptionT>(value);
153 template <
typename DescriptionT = Aws::String>
167 m_previewNextCidrHasBeenSet =
true;
168 m_previewNextCidr = value;
183 template <
typename AllowedC
idrsT = Aws::Vector<Aws::String>>
185 m_allowedCidrsHasBeenSet =
true;
186 m_allowedCidrs = std::forward<AllowedCidrsT>(value);
188 template <
typename AllowedC
idrsT = Aws::Vector<Aws::String>>
193 template <
typename AllowedC
idrsT = Aws::String>
195 m_allowedCidrsHasBeenSet =
true;
196 m_allowedCidrs.emplace_back(std::forward<AllowedCidrsT>(value));
208 template <
typename DisallowedC
idrsT = Aws::Vector<Aws::String>>
210 m_disallowedCidrsHasBeenSet =
true;
211 m_disallowedCidrs = std::forward<DisallowedCidrsT>(value);
213 template <
typename DisallowedC
idrsT = Aws::Vector<Aws::String>>
218 template <
typename DisallowedC
idrsT = Aws::String>
220 m_disallowedCidrsHasBeenSet =
true;
221 m_disallowedCidrs.emplace_back(std::forward<DisallowedCidrsT>(value));
226 bool m_dryRun{
false};
232 int m_netmaskLength{0};
238 bool m_previewNextCidr{
false};
243 bool m_dryRunHasBeenSet =
false;
244 bool m_ipamPoolIdHasBeenSet =
false;
245 bool m_cidrHasBeenSet =
false;
246 bool m_netmaskLengthHasBeenSet =
false;
247 bool m_clientTokenHasBeenSet =
true;
248 bool m_descriptionHasBeenSet =
false;
249 bool m_previewNextCidrHasBeenSet =
false;
250 bool m_allowedCidrsHasBeenSet =
false;
251 bool m_disallowedCidrsHasBeenSet =
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
AWS_EC2_API Aws::String SerializePayload() const override
bool PreviewNextCidrHasBeenSet() const
void SetAllowedCidrs(AllowedCidrsT &&value)
int GetNetmaskLength() const
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
bool IpamPoolIdHasBeenSet() const
AllocateIpamPoolCidrRequest & WithCidr(CidrT &&value)
void SetDisallowedCidrs(DisallowedCidrsT &&value)
bool DisallowedCidrsHasBeenSet() const
AllocateIpamPoolCidrRequest & WithClientToken(ClientTokenT &&value)
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