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/ec2/model/AddressFamily.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/IpamPoolAwsService.h>
13#include <aws/ec2/model/IpamPoolPublicIpSource.h>
14#include <aws/ec2/model/IpamPoolSourceResourceRequest.h>
15#include <aws/ec2/model/RequestIpamResourceTag.h>
16#include <aws/ec2/model/TagSpecification.h>
18#include <aws/core/utils/UUID.h>
56 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
68 inline void SetIpamScopeId(
const char* value) { m_ipamScopeIdHasBeenSet =
true; m_ipamScopeId.assign(value); }
91 inline void SetLocale(
const char* value) { m_localeHasBeenSet =
true; m_locale.assign(value); }
107 inline void SetSourceIpamPoolId(
const char* value) { m_sourceIpamPoolIdHasBeenSet =
true; m_sourceIpamPoolId.assign(value); }
121 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
155 inline void SetAutoImport(
bool value) { m_autoImportHasBeenSet =
true; m_autoImport = value; }
256 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
311 bool m_dryRunHasBeenSet =
false;
314 bool m_ipamScopeIdHasBeenSet =
false;
317 bool m_localeHasBeenSet =
false;
320 bool m_sourceIpamPoolIdHasBeenSet =
false;
323 bool m_descriptionHasBeenSet =
false;
326 bool m_addressFamilyHasBeenSet =
false;
329 bool m_autoImportHasBeenSet =
false;
331 bool m_publiclyAdvertisable;
332 bool m_publiclyAdvertisableHasBeenSet =
false;
334 int m_allocationMinNetmaskLength;
335 bool m_allocationMinNetmaskLengthHasBeenSet =
false;
337 int m_allocationMaxNetmaskLength;
338 bool m_allocationMaxNetmaskLengthHasBeenSet =
false;
340 int m_allocationDefaultNetmaskLength;
341 bool m_allocationDefaultNetmaskLengthHasBeenSet =
false;
344 bool m_allocationResourceTagsHasBeenSet =
false;
347 bool m_tagSpecificationsHasBeenSet =
false;
350 bool m_clientTokenHasBeenSet =
false;
353 bool m_awsServiceHasBeenSet =
false;
356 bool m_publicIpSourceHasBeenSet =
false;
359 bool m_sourceResourceHasBeenSet =
false;
CreateIpamPoolRequest & WithPublicIpSource(IpamPoolPublicIpSource &&value)
void SetIpamScopeId(const char *value)
bool GetPubliclyAdvertisable() const
CreateIpamPoolRequest & WithAddressFamily(AddressFamily &&value)
void SetSourceIpamPoolId(Aws::String &&value)
AWS_EC2_API CreateIpamPoolRequest()
const Aws::String & GetLocale() const
CreateIpamPoolRequest & WithPubliclyAdvertisable(bool value)
void SetAllocationDefaultNetmaskLength(int value)
CreateIpamPoolRequest & WithLocale(const char *value)
void SetAllocationMaxNetmaskLength(int value)
void SetSourceIpamPoolId(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
int GetAllocationDefaultNetmaskLength() const
void SetAddressFamily(const AddressFamily &value)
const Aws::String & GetDescription() const
bool DryRunHasBeenSet() const
CreateIpamPoolRequest & WithAwsService(const IpamPoolAwsService &value)
void SetLocale(const char *value)
void SetAddressFamily(AddressFamily &&value)
const Aws::String & GetSourceIpamPoolId() const
void SetClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetAllocationMinNetmaskLength(int value)
const IpamPoolPublicIpSource & GetPublicIpSource() const
bool GetAutoImport() const
void SetIpamScopeId(const Aws::String &value)
bool LocaleHasBeenSet() const
bool SourceResourceHasBeenSet() const
const Aws::Vector< RequestIpamResourceTag > & GetAllocationResourceTags() const
CreateIpamPoolRequest & WithAddressFamily(const AddressFamily &value)
void SetAutoImport(bool value)
void SetPubliclyAdvertisable(bool value)
CreateIpamPoolRequest & WithIpamScopeId(const Aws::String &value)
int GetAllocationMinNetmaskLength() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateIpamPoolRequest & AddTagSpecifications(const TagSpecification &value)
void SetAllocationResourceTags(Aws::Vector< RequestIpamResourceTag > &&value)
CreateIpamPoolRequest & WithClientToken(Aws::String &&value)
CreateIpamPoolRequest & WithAllocationDefaultNetmaskLength(int value)
CreateIpamPoolRequest & WithAwsService(IpamPoolAwsService &&value)
bool TagSpecificationsHasBeenSet() const
bool SourceIpamPoolIdHasBeenSet() const
CreateIpamPoolRequest & AddAllocationResourceTags(const RequestIpamResourceTag &value)
bool AutoImportHasBeenSet() const
void SetPublicIpSource(const IpamPoolPublicIpSource &value)
CreateIpamPoolRequest & WithClientToken(const char *value)
CreateIpamPoolRequest & WithSourceResource(const IpamPoolSourceResourceRequest &value)
const Aws::String & GetClientToken() const
CreateIpamPoolRequest & WithLocale(Aws::String &&value)
CreateIpamPoolRequest & WithAllocationResourceTags(const Aws::Vector< RequestIpamResourceTag > &value)
void SetLocale(Aws::String &&value)
void SetClientToken(const Aws::String &value)
const IpamPoolAwsService & GetAwsService() const
bool IpamScopeIdHasBeenSet() const
CreateIpamPoolRequest & WithSourceResource(IpamPoolSourceResourceRequest &&value)
void SetDescription(const Aws::String &value)
CreateIpamPoolRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetDescription(Aws::String &&value)
CreateIpamPoolRequest & WithDescription(const char *value)
const IpamPoolSourceResourceRequest & GetSourceResource() const
CreateIpamPoolRequest & WithAllocationResourceTags(Aws::Vector< RequestIpamResourceTag > &&value)
CreateIpamPoolRequest & WithAutoImport(bool value)
CreateIpamPoolRequest & WithDescription(const Aws::String &value)
bool PublicIpSourceHasBeenSet() const
CreateIpamPoolRequest & WithSourceIpamPoolId(const Aws::String &value)
void SetAwsService(const IpamPoolAwsService &value)
CreateIpamPoolRequest & WithIpamScopeId(Aws::String &&value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
bool DescriptionHasBeenSet() const
void SetIpamScopeId(Aws::String &&value)
CreateIpamPoolRequest & WithDryRun(bool value)
CreateIpamPoolRequest & WithAllocationMinNetmaskLength(int value)
CreateIpamPoolRequest & WithClientToken(const Aws::String &value)
const Aws::String & GetIpamScopeId() const
CreateIpamPoolRequest & WithLocale(const Aws::String &value)
bool AllocationDefaultNetmaskLengthHasBeenSet() const
bool AllocationMaxNetmaskLengthHasBeenSet() const
CreateIpamPoolRequest & AddTagSpecifications(TagSpecification &&value)
const AddressFamily & GetAddressFamily() const
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetDescription(const char *value)
int GetAllocationMaxNetmaskLength() const
bool AddressFamilyHasBeenSet() const
bool AllocationMinNetmaskLengthHasBeenSet() const
bool PubliclyAdvertisableHasBeenSet() const
void SetAwsService(IpamPoolAwsService &&value)
CreateIpamPoolRequest & AddAllocationResourceTags(RequestIpamResourceTag &&value)
CreateIpamPoolRequest & WithIpamScopeId(const char *value)
bool AllocationResourceTagsHasBeenSet() const
void SetLocale(const Aws::String &value)
void SetPublicIpSource(IpamPoolPublicIpSource &&value)
void SetDryRun(bool value)
CreateIpamPoolRequest & WithSourceIpamPoolId(const char *value)
bool ClientTokenHasBeenSet() const
void SetSourceIpamPoolId(const Aws::String &value)
void SetSourceResource(const IpamPoolSourceResourceRequest &value)
CreateIpamPoolRequest & WithAllocationMaxNetmaskLength(int value)
void SetClientToken(const char *value)
CreateIpamPoolRequest & WithDescription(Aws::String &&value)
bool AwsServiceHasBeenSet() const
void SetAllocationResourceTags(const Aws::Vector< RequestIpamResourceTag > &value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateIpamPoolRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetSourceResource(IpamPoolSourceResourceRequest &&value)
CreateIpamPoolRequest & WithPublicIpSource(const IpamPoolPublicIpSource &value)
CreateIpamPoolRequest & WithSourceIpamPoolId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector