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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/IpamState.h>
12#include <aws/ec2/model/IpamTier.h>
13#include <aws/ec2/model/IpamOperatingRegion.h>
14#include <aws/ec2/model/Tag.h>
60 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
74 inline void SetIpamId(
const char* value) { m_ipamIdHasBeenSet =
true; m_ipamId.assign(value); }
88 inline void SetIpamArn(
const char* value) { m_ipamArnHasBeenSet =
true; m_ipamArn.assign(value); }
102 inline void SetIpamRegion(
const char* value) { m_ipamRegionHasBeenSet =
true; m_ipamRegion.assign(value); }
116 inline void SetPublicDefaultScopeId(
const char* value) { m_publicDefaultScopeIdHasBeenSet =
true; m_publicDefaultScopeId.assign(value); }
130 inline void SetPrivateDefaultScopeId(
const char* value) { m_privateDefaultScopeIdHasBeenSet =
true; m_privateDefaultScopeId.assign(value); }
145 inline void SetScopeCount(
int value) { m_scopeCountHasBeenSet =
true; m_scopeCount = value; }
157 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
189 inline void SetState(
IpamState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
208 inline Ipam&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
209 inline Ipam&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
258 inline void SetStateMessage(
const char* value) { m_stateMessageHasBeenSet =
true; m_stateMessage.assign(value); }
273 inline void SetTier(
const IpamTier& value) { m_tierHasBeenSet =
true; m_tier = value; }
274 inline void SetTier(
IpamTier&& value) { m_tierHasBeenSet =
true; m_tier = std::move(value); }
286 inline void SetEnablePrivateGua(
bool value) { m_enablePrivateGuaHasBeenSet =
true; m_enablePrivateGua = value; }
292 bool m_ownerIdHasBeenSet =
false;
295 bool m_ipamIdHasBeenSet =
false;
298 bool m_ipamArnHasBeenSet =
false;
301 bool m_ipamRegionHasBeenSet =
false;
304 bool m_publicDefaultScopeIdHasBeenSet =
false;
307 bool m_privateDefaultScopeIdHasBeenSet =
false;
310 bool m_scopeCountHasBeenSet =
false;
313 bool m_descriptionHasBeenSet =
false;
316 bool m_operatingRegionsHasBeenSet =
false;
319 bool m_stateHasBeenSet =
false;
322 bool m_tagsHasBeenSet =
false;
325 bool m_defaultResourceDiscoveryIdHasBeenSet =
false;
327 Aws::String m_defaultResourceDiscoveryAssociationId;
328 bool m_defaultResourceDiscoveryAssociationIdHasBeenSet =
false;
330 int m_resourceDiscoveryAssociationCount;
331 bool m_resourceDiscoveryAssociationCountHasBeenSet =
false;
334 bool m_stateMessageHasBeenSet =
false;
337 bool m_tierHasBeenSet =
false;
339 bool m_enablePrivateGua;
340 bool m_enablePrivateGuaHasBeenSet =
false;
bool TierHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetDefaultResourceDiscoveryId(Aws::String &&value)
void SetOwnerId(const Aws::String &value)
const Aws::String & GetOwnerId() const
Ipam & WithStateMessage(const Aws::String &value)
Ipam & WithIpamArn(Aws::String &&value)
void SetIpamId(Aws::String &&value)
void SetOwnerId(Aws::String &&value)
void SetTier(const IpamTier &value)
void SetDefaultResourceDiscoveryAssociationId(const char *value)
void SetDescription(const char *value)
bool GetEnablePrivateGua() const
Ipam & WithPrivateDefaultScopeId(Aws::String &&value)
const Aws::String & GetDefaultResourceDiscoveryId() const
Ipam & WithOperatingRegions(const Aws::Vector< IpamOperatingRegion > &value)
bool DefaultResourceDiscoveryIdHasBeenSet() const
void SetPrivateDefaultScopeId(const char *value)
Ipam & AddOperatingRegions(IpamOperatingRegion &&value)
void SetPrivateDefaultScopeId(Aws::String &&value)
Ipam & WithStateMessage(Aws::String &&value)
void SetIpamRegion(const Aws::String &value)
void SetResourceDiscoveryAssociationCount(int value)
bool OwnerIdHasBeenSet() const
void SetDefaultResourceDiscoveryAssociationId(Aws::String &&value)
Ipam & WithIpamId(const Aws::String &value)
void SetEnablePrivateGua(bool value)
bool EnablePrivateGuaHasBeenSet() const
Ipam & WithOwnerId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetIpamRegion(const char *value)
Ipam & WithIpamArn(const Aws::String &value)
AWS_EC2_API Ipam(const Aws::Utils::Xml::XmlNode &xmlNode)
Ipam & WithResourceDiscoveryAssociationCount(int value)
Ipam & WithPrivateDefaultScopeId(const Aws::String &value)
Ipam & WithDefaultResourceDiscoveryAssociationId(const char *value)
const Aws::String & GetIpamId() const
Ipam & WithTier(const IpamTier &value)
bool PrivateDefaultScopeIdHasBeenSet() const
void SetStateMessage(Aws::String &&value)
int GetScopeCount() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetState(const IpamState &value)
Ipam & WithIpamRegion(Aws::String &&value)
bool DefaultResourceDiscoveryAssociationIdHasBeenSet() const
Ipam & WithState(IpamState &&value)
AWS_EC2_API Ipam & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDescription(Aws::String &&value)
Ipam & AddTags(const Tag &value)
Ipam & WithDefaultResourceDiscoveryAssociationId(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
bool OperatingRegionsHasBeenSet() const
Ipam & WithDescription(Aws::String &&value)
Ipam & WithTags(const Aws::Vector< Tag > &value)
void SetOperatingRegions(Aws::Vector< IpamOperatingRegion > &&value)
void SetTier(IpamTier &&value)
bool IpamArnHasBeenSet() const
void SetIpamArn(const char *value)
Ipam & WithOwnerId(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetDefaultResourceDiscoveryAssociationId(const Aws::String &value)
Ipam & WithIpamRegion(const Aws::String &value)
Ipam & WithDefaultResourceDiscoveryAssociationId(const Aws::String &value)
Ipam & WithDefaultResourceDiscoveryId(const char *value)
Ipam & WithIpamArn(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
void SetScopeCount(int value)
Ipam & WithPublicDefaultScopeId(const Aws::String &value)
const IpamTier & GetTier() const
Ipam & WithStateMessage(const char *value)
const Aws::String & GetIpamArn() const
bool TagsHasBeenSet() const
const Aws::String & GetPublicDefaultScopeId() const
Ipam & WithPublicDefaultScopeId(Aws::String &&value)
void SetOwnerId(const char *value)
Ipam & AddOperatingRegions(const IpamOperatingRegion &value)
Ipam & WithDescription(const Aws::String &value)
void SetStateMessage(const Aws::String &value)
Ipam & WithIpamId(Aws::String &&value)
void SetIpamId(const Aws::String &value)
Ipam & WithDescription(const char *value)
Ipam & WithScopeCount(int value)
Ipam & WithTier(IpamTier &&value)
Ipam & WithOwnerId(const char *value)
const Aws::String & GetStateMessage() const
bool IpamIdHasBeenSet() const
Ipam & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetIpamRegion() const
void SetIpamArn(const Aws::String &value)
bool StateHasBeenSet() const
void SetDefaultResourceDiscoveryId(const Aws::String &value)
bool ResourceDiscoveryAssociationCountHasBeenSet() const
const IpamState & GetState() const
void SetDescription(const Aws::String &value)
void SetPublicDefaultScopeId(const char *value)
const Aws::String & GetPrivateDefaultScopeId() const
bool StateMessageHasBeenSet() const
Ipam & WithEnablePrivateGua(bool value)
bool ScopeCountHasBeenSet() const
Ipam & WithState(const IpamState &value)
void SetPublicDefaultScopeId(Aws::String &&value)
Ipam & WithDefaultResourceDiscoveryId(const Aws::String &value)
Ipam & WithOperatingRegions(Aws::Vector< IpamOperatingRegion > &&value)
void SetIpamRegion(Aws::String &&value)
const Aws::String & GetDefaultResourceDiscoveryAssociationId() const
bool PublicDefaultScopeIdHasBeenSet() const
Ipam & WithPrivateDefaultScopeId(const char *value)
void SetPublicDefaultScopeId(const Aws::String &value)
Ipam & WithDefaultResourceDiscoveryId(Aws::String &&value)
void SetStateMessage(const char *value)
void SetPrivateDefaultScopeId(const Aws::String &value)
void SetIpamArn(Aws::String &&value)
void SetState(IpamState &&value)
const Aws::Vector< IpamOperatingRegion > & GetOperatingRegions() const
Ipam & WithIpamRegion(const char *value)
void SetIpamId(const char *value)
bool IpamRegionHasBeenSet() const
int GetResourceDiscoveryAssociationCount() const
Ipam & AddTags(Tag &&value)
void SetOperatingRegions(const Aws::Vector< IpamOperatingRegion > &value)
void SetDefaultResourceDiscoveryId(const char *value)
Ipam & WithPublicDefaultScopeId(const char *value)
Ipam & WithIpamId(const char *value)
const Aws::String & GetDescription() const
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