7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/IpamScopeType.h>
11#include <aws/ec2/model/IpamPoolState.h>
12#include <aws/ec2/model/AddressFamily.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ec2/model/IpamPoolAwsService.h>
15#include <aws/ec2/model/IpamPoolPublicIpSource.h>
16#include <aws/ec2/model/IpamPoolSourceResource.h>
17#include <aws/ec2/model/IpamResourceTag.h>
18#include <aws/ec2/model/Tag.h>
63 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
77 inline void SetIpamPoolId(
const char* value) { m_ipamPoolIdHasBeenSet =
true; m_ipamPoolId.assign(value); }
92 inline void SetSourceIpamPoolId(
const char* value) { m_sourceIpamPoolIdHasBeenSet =
true; m_sourceIpamPoolId.assign(value); }
106 inline void SetIpamPoolArn(
const char* value) { m_ipamPoolArnHasBeenSet =
true; m_ipamPoolArn.assign(value); }
120 inline void SetIpamScopeArn(
const char* value) { m_ipamScopeArnHasBeenSet =
true; m_ipamScopeArn.assign(value); }
151 inline void SetIpamArn(
const char* value) { m_ipamArnHasBeenSet =
true; m_ipamArn.assign(value); }
165 inline void SetIpamRegion(
const char* value) { m_ipamRegionHasBeenSet =
true; m_ipamRegion.assign(value); }
188 inline void SetLocale(
const char* value) { m_localeHasBeenSet =
true; m_locale.assign(value); }
203 inline void SetPoolDepth(
int value) { m_poolDepthHasBeenSet =
true; m_poolDepth = value; }
227 inline void SetStateMessage(
const char* value) { m_stateMessageHasBeenSet =
true; m_stateMessage.assign(value); }
241 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
262 inline void SetAutoImport(
bool value) { m_autoImportHasBeenSet =
true; m_autoImport = value; }
359 inline IpamPool&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
360 inline IpamPool&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
411 bool m_ownerIdHasBeenSet =
false;
414 bool m_ipamPoolIdHasBeenSet =
false;
417 bool m_sourceIpamPoolIdHasBeenSet =
false;
420 bool m_ipamPoolArnHasBeenSet =
false;
423 bool m_ipamScopeArnHasBeenSet =
false;
426 bool m_ipamScopeTypeHasBeenSet =
false;
429 bool m_ipamArnHasBeenSet =
false;
432 bool m_ipamRegionHasBeenSet =
false;
435 bool m_localeHasBeenSet =
false;
438 bool m_poolDepthHasBeenSet =
false;
441 bool m_stateHasBeenSet =
false;
444 bool m_stateMessageHasBeenSet =
false;
447 bool m_descriptionHasBeenSet =
false;
450 bool m_autoImportHasBeenSet =
false;
452 bool m_publiclyAdvertisable;
453 bool m_publiclyAdvertisableHasBeenSet =
false;
456 bool m_addressFamilyHasBeenSet =
false;
458 int m_allocationMinNetmaskLength;
459 bool m_allocationMinNetmaskLengthHasBeenSet =
false;
461 int m_allocationMaxNetmaskLength;
462 bool m_allocationMaxNetmaskLengthHasBeenSet =
false;
464 int m_allocationDefaultNetmaskLength;
465 bool m_allocationDefaultNetmaskLengthHasBeenSet =
false;
468 bool m_allocationResourceTagsHasBeenSet =
false;
471 bool m_tagsHasBeenSet =
false;
474 bool m_awsServiceHasBeenSet =
false;
477 bool m_publicIpSourceHasBeenSet =
false;
480 bool m_sourceResourceHasBeenSet =
false;
IpamPool & WithOwnerId(Aws::String &&value)
IpamPool & WithAddressFamily(AddressFamily &&value)
IpamPool & WithIpamPoolArn(Aws::String &&value)
IpamPool & WithPublicIpSource(IpamPoolPublicIpSource &&value)
void SetAllocationMaxNetmaskLength(int value)
const Aws::String & GetOwnerId() const
void SetIpamRegion(Aws::String &&value)
bool IpamPoolArnHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool AddressFamilyHasBeenSet() const
const IpamScopeType & GetIpamScopeType() const
void SetAllocationResourceTags(Aws::Vector< IpamResourceTag > &&value)
bool IpamScopeTypeHasBeenSet() const
IpamPool & AddAllocationResourceTags(const IpamResourceTag &value)
IpamPool & WithStateMessage(const char *value)
void SetIpamScopeType(IpamScopeType &&value)
bool StateMessageHasBeenSet() const
IpamPool & WithDescription(const char *value)
const IpamPoolAwsService & GetAwsService() const
bool GetPubliclyAdvertisable() const
void SetIpamArn(Aws::String &&value)
void SetPublicIpSource(IpamPoolPublicIpSource &&value)
bool AllocationMaxNetmaskLengthHasBeenSet() const
IpamPool & WithIpamRegion(const char *value)
void SetAwsService(const IpamPoolAwsService &value)
void SetIpamArn(const Aws::String &value)
void SetAddressFamily(AddressFamily &&value)
IpamPool & WithDescription(const Aws::String &value)
bool PubliclyAdvertisableHasBeenSet() const
bool PublicIpSourceHasBeenSet() const
IpamPool & WithIpamPoolId(const Aws::String &value)
void SetIpamScopeType(const IpamScopeType &value)
IpamPool & WithPoolDepth(int value)
void SetSourceIpamPoolId(const char *value)
IpamPool & WithIpamPoolArn(const char *value)
AWS_EC2_API IpamPool(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API IpamPool & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
IpamPool & WithPubliclyAdvertisable(bool value)
IpamPool & WithAutoImport(bool value)
const Aws::String & GetSourceIpamPoolId() const
const Aws::String & GetStateMessage() const
void SetAllocationResourceTags(const Aws::Vector< IpamResourceTag > &value)
IpamPool & WithSourceIpamPoolId(const char *value)
IpamPool & WithLocale(const Aws::String &value)
bool AllocationMinNetmaskLengthHasBeenSet() const
IpamPool & WithAwsService(const IpamPoolAwsService &value)
void SetIpamPoolId(Aws::String &&value)
void SetStateMessage(const char *value)
bool OwnerIdHasBeenSet() const
bool SourceIpamPoolIdHasBeenSet() const
void SetAutoImport(bool value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDescription(const char *value)
void SetPoolDepth(int value)
bool PoolDepthHasBeenSet() const
int GetAllocationMaxNetmaskLength() const
void SetState(IpamPoolState &&value)
void SetIpamPoolArn(const char *value)
void SetSourceIpamPoolId(const Aws::String &value)
void SetIpamPoolArn(const Aws::String &value)
IpamPool & WithAllocationResourceTags(Aws::Vector< IpamResourceTag > &&value)
const IpamPoolSourceResource & GetSourceResource() const
bool DescriptionHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
IpamPool & WithIpamRegion(const Aws::String &value)
void SetSourceResource(IpamPoolSourceResource &&value)
void SetIpamPoolId(const Aws::String &value)
IpamPool & WithSourceResource(IpamPoolSourceResource &&value)
void SetOwnerId(const Aws::String &value)
void SetAllocationDefaultNetmaskLength(int value)
IpamPool & WithOwnerId(const Aws::String &value)
IpamPool & WithLocale(const char *value)
void SetOwnerId(const char *value)
const IpamPoolState & GetState() const
void SetLocale(Aws::String &&value)
IpamPool & WithSourceIpamPoolId(const Aws::String &value)
bool TagsHasBeenSet() const
void SetSourceResource(const IpamPoolSourceResource &value)
void SetIpamPoolId(const char *value)
void SetAllocationMinNetmaskLength(int value)
const Aws::String & GetIpamPoolArn() const
void SetDescription(Aws::String &&value)
IpamPool & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetLocale() const
const IpamPoolPublicIpSource & GetPublicIpSource() const
int GetAllocationDefaultNetmaskLength() const
IpamPool & WithIpamPoolArn(const Aws::String &value)
const Aws::String & GetDescription() const
void SetTags(const Aws::Vector< Tag > &value)
void SetSourceIpamPoolId(Aws::String &&value)
IpamPool & WithPublicIpSource(const IpamPoolPublicIpSource &value)
const Aws::String & GetIpamRegion() const
bool IpamRegionHasBeenSet() const
void SetStateMessage(const Aws::String &value)
bool LocaleHasBeenSet() const
IpamPool & WithIpamPoolId(Aws::String &&value)
bool IpamScopeArnHasBeenSet() const
IpamPool & WithAllocationDefaultNetmaskLength(int value)
void SetAddressFamily(const AddressFamily &value)
IpamPool & WithAddressFamily(const AddressFamily &value)
void SetIpamArn(const char *value)
void SetIpamRegion(const char *value)
bool AwsServiceHasBeenSet() const
IpamPool & WithAwsService(IpamPoolAwsService &&value)
void SetPublicIpSource(const IpamPoolPublicIpSource &value)
IpamPool & WithIpamArn(const char *value)
void SetIpamScopeArn(const Aws::String &value)
void SetState(const IpamPoolState &value)
bool SourceResourceHasBeenSet() const
const Aws::String & GetIpamPoolId() const
const Aws::Vector< IpamResourceTag > & GetAllocationResourceTags() const
IpamPool & AddTags(Tag &&value)
IpamPool & WithSourceResource(const IpamPoolSourceResource &value)
void SetOwnerId(Aws::String &&value)
IpamPool & WithStateMessage(Aws::String &&value)
IpamPool & WithIpamArn(Aws::String &&value)
void SetDescription(const Aws::String &value)
IpamPool & WithIpamPoolId(const char *value)
IpamPool & WithStateMessage(const Aws::String &value)
bool IpamPoolIdHasBeenSet() const
IpamPool & WithDescription(Aws::String &&value)
void SetIpamPoolArn(Aws::String &&value)
IpamPool & WithIpamScopeArn(const Aws::String &value)
bool AutoImportHasBeenSet() const
int GetAllocationMinNetmaskLength() const
const AddressFamily & GetAddressFamily() const
IpamPool & WithState(IpamPoolState &&value)
void SetAwsService(IpamPoolAwsService &&value)
void SetPubliclyAdvertisable(bool value)
IpamPool & WithState(const IpamPoolState &value)
IpamPool & WithIpamScopeType(IpamScopeType &&value)
IpamPool & WithIpamScopeType(const IpamScopeType &value)
IpamPool & WithLocale(Aws::String &&value)
IpamPool & WithIpamRegion(Aws::String &&value)
const Aws::String & GetIpamScopeArn() const
bool GetAutoImport() const
IpamPool & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetIpamArn() const
IpamPool & AddAllocationResourceTags(IpamResourceTag &&value)
IpamPool & WithAllocationMaxNetmaskLength(int value)
IpamPool & WithIpamArn(const Aws::String &value)
void SetIpamRegion(const Aws::String &value)
IpamPool & AddTags(const Tag &value)
void SetIpamScopeArn(Aws::String &&value)
bool IpamArnHasBeenSet() const
void SetIpamScopeArn(const char *value)
void SetStateMessage(Aws::String &&value)
IpamPool & WithAllocationResourceTags(const Aws::Vector< IpamResourceTag > &value)
IpamPool & WithIpamScopeArn(Aws::String &&value)
IpamPool & WithIpamScopeArn(const char *value)
IpamPool & WithSourceIpamPoolId(Aws::String &&value)
IpamPool & WithOwnerId(const char *value)
bool AllocationDefaultNetmaskLengthHasBeenSet() const
bool StateHasBeenSet() const
void SetLocale(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
IpamPool & WithAllocationMinNetmaskLength(int value)
bool AllocationResourceTagsHasBeenSet() const
void SetLocale(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream