7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/UUID.h>
50 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
62 inline void SetIpamPoolId(
const char* value) { m_ipamPoolIdHasBeenSet =
true; m_ipamPoolId.assign(value); }
82 inline void SetCidr(
const char* value) { m_cidrHasBeenSet =
true; m_cidr.assign(value); }
101 inline void SetNetmaskLength(
int value) { m_netmaskLengthHasBeenSet =
true; m_netmaskLength = value; }
116 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
130 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
142 inline void SetPreviewNextCidr(
bool value) { m_previewNextCidrHasBeenSet =
true; m_previewNextCidr = value; }
180 bool m_dryRunHasBeenSet =
false;
183 bool m_ipamPoolIdHasBeenSet =
false;
186 bool m_cidrHasBeenSet =
false;
189 bool m_netmaskLengthHasBeenSet =
false;
192 bool m_clientTokenHasBeenSet =
false;
195 bool m_descriptionHasBeenSet =
false;
197 bool m_previewNextCidr;
198 bool m_previewNextCidrHasBeenSet =
false;
201 bool m_allowedCidrsHasBeenSet =
false;
204 bool m_disallowedCidrsHasBeenSet =
false;
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDescription(Aws::String &&value)
void SetAllowedCidrs(Aws::Vector< Aws::String > &&value)
void SetDescription(const char *value)
void SetIpamPoolId(const Aws::String &value)
void SetCidr(const char *value)
bool DryRunHasBeenSet() const
AllocateIpamPoolCidrRequest & WithIpamPoolId(const Aws::String &value)
void SetClientToken(const Aws::String &value)
AllocateIpamPoolCidrRequest & WithDescription(const Aws::String &value)
AllocateIpamPoolCidrRequest & WithNetmaskLength(int value)
bool ClientTokenHasBeenSet() const
AllocateIpamPoolCidrRequest & AddAllowedCidrs(Aws::String &&value)
const Aws::String & GetCidr() const
AllocateIpamPoolCidrRequest & WithClientToken(const Aws::String &value)
void SetAllowedCidrs(const Aws::Vector< Aws::String > &value)
AllocateIpamPoolCidrRequest & WithCidr(Aws::String &&value)
void SetClientToken(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetIpamPoolId(const char *value)
AllocateIpamPoolCidrRequest & WithClientToken(const char *value)
void SetIpamPoolId(Aws::String &&value)
AllocateIpamPoolCidrRequest & AddAllowedCidrs(const Aws::String &value)
bool PreviewNextCidrHasBeenSet() const
int GetNetmaskLength() const
AllocateIpamPoolCidrRequest & WithDisallowedCidrs(const Aws::Vector< Aws::String > &value)
AllocateIpamPoolCidrRequest & AddDisallowedCidrs(Aws::String &&value)
void SetPreviewNextCidr(bool value)
void SetCidr(Aws::String &&value)
AllocateIpamPoolCidrRequest & WithIpamPoolId(Aws::String &&value)
const Aws::String & GetClientToken() const
const Aws::String & GetIpamPoolId() const
void SetDescription(const Aws::String &value)
AllocateIpamPoolCidrRequest & WithPreviewNextCidr(bool value)
AllocateIpamPoolCidrRequest & WithClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AllocateIpamPoolCidrRequest & AddAllowedCidrs(const char *value)
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
void SetDisallowedCidrs(const Aws::Vector< Aws::String > &value)
bool CidrHasBeenSet() const
bool NetmaskLengthHasBeenSet() const
AllocateIpamPoolCidrRequest & WithCidr(const char *value)
void SetDryRun(bool value)
const Aws::Vector< Aws::String > & GetDisallowedCidrs() const
bool IpamPoolIdHasBeenSet() const
AWS_EC2_API AllocateIpamPoolCidrRequest()
void SetClientToken(Aws::String &&value)
void SetDisallowedCidrs(Aws::Vector< Aws::String > &&value)
bool DisallowedCidrsHasBeenSet() const
AllocateIpamPoolCidrRequest & WithCidr(const Aws::String &value)
AllocateIpamPoolCidrRequest & AddDisallowedCidrs(const char *value)
AllocateIpamPoolCidrRequest & WithDescription(const char *value)
AllocateIpamPoolCidrRequest & WithDisallowedCidrs(Aws::Vector< Aws::String > &&value)
AllocateIpamPoolCidrRequest & WithDescription(Aws::String &&value)
AllocateIpamPoolCidrRequest & AddDisallowedCidrs(const Aws::String &value)
bool GetPreviewNextCidr() const
void SetNetmaskLength(int value)
AllocateIpamPoolCidrRequest & WithAllowedCidrs(Aws::Vector< Aws::String > &&value)
void SetCidr(const Aws::String &value)
bool AllowedCidrsHasBeenSet() const
AllocateIpamPoolCidrRequest & WithAllowedCidrs(const Aws::Vector< Aws::String > &value)
AllocateIpamPoolCidrRequest & WithIpamPoolId(const char *value)
AllocateIpamPoolCidrRequest & WithDryRun(bool value)
const Aws::Vector< Aws::String > & GetAllowedCidrs() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector