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/IpamScopeState.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/Tag.h>
62 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
76 inline void SetIpamScopeId(
const char* value) { m_ipamScopeIdHasBeenSet =
true; m_ipamScopeId.assign(value); }
90 inline void SetIpamScopeArn(
const char* value) { m_ipamScopeArnHasBeenSet =
true; m_ipamScopeArn.assign(value); }
104 inline void SetIpamArn(
const char* value) { m_ipamArnHasBeenSet =
true; m_ipamArn.assign(value); }
118 inline void SetIpamRegion(
const char* value) { m_ipamRegionHasBeenSet =
true; m_ipamRegion.assign(value); }
142 inline void SetIsDefault(
bool value) { m_isDefaultHasBeenSet =
true; m_isDefault = value; }
154 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
166 inline void SetPoolCount(
int value) { m_poolCountHasBeenSet =
true; m_poolCount = value; }
196 inline IpamScope&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
197 inline IpamScope&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
202 bool m_ownerIdHasBeenSet =
false;
205 bool m_ipamScopeIdHasBeenSet =
false;
208 bool m_ipamScopeArnHasBeenSet =
false;
211 bool m_ipamArnHasBeenSet =
false;
214 bool m_ipamRegionHasBeenSet =
false;
217 bool m_ipamScopeTypeHasBeenSet =
false;
220 bool m_isDefaultHasBeenSet =
false;
223 bool m_descriptionHasBeenSet =
false;
226 bool m_poolCountHasBeenSet =
false;
229 bool m_stateHasBeenSet =
false;
232 bool m_tagsHasBeenSet =
false;
IpamScope & WithOwnerId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetIpamArn(Aws::String &&value)
bool IpamRegionHasBeenSet() const
void SetOwnerId(const Aws::String &value)
bool IpamScopeArnHasBeenSet() const
IpamScope & WithDescription(const Aws::String &value)
void SetIpamScopeType(const IpamScopeType &value)
IpamScope & WithIpamArn(const char *value)
IpamScope & WithIsDefault(bool value)
const Aws::Vector< Tag > & GetTags() const
const IpamScopeState & GetState() const
void SetOwnerId(const char *value)
void SetDescription(const Aws::String &value)
AWS_EC2_API IpamScope(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetState(const IpamScopeState &value)
IpamScope & WithIpamScopeType(const IpamScopeType &value)
bool DescriptionHasBeenSet() const
IpamScope & WithState(IpamScopeState &&value)
IpamScope & WithIpamScopeArn(const Aws::String &value)
void SetPoolCount(int value)
void SetIpamArn(const Aws::String &value)
void SetState(IpamScopeState &&value)
void SetDescription(const char *value)
void SetOwnerId(Aws::String &&value)
bool PoolCountHasBeenSet() const
void SetIpamScopeId(const char *value)
void SetDescription(Aws::String &&value)
IpamScope & WithTags(Aws::Vector< Tag > &&value)
IpamScope & WithOwnerId(const char *value)
IpamScope & WithIpamScopeArn(const char *value)
void SetIpamRegion(Aws::String &&value)
bool GetIsDefault() const
IpamScope & WithIpamScopeId(const char *value)
void SetIpamScopeId(const Aws::String &value)
bool IsDefaultHasBeenSet() const
void SetIpamScopeType(IpamScopeType &&value)
void SetIsDefault(bool value)
IpamScope & AddTags(Tag &&value)
IpamScope & WithPoolCount(int value)
void SetIpamRegion(const Aws::String &value)
const Aws::String & GetIpamArn() const
bool TagsHasBeenSet() const
void SetIpamScopeArn(const char *value)
void SetIpamScopeArn(Aws::String &&value)
void SetIpamScopeArn(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool IpamArnHasBeenSet() const
IpamScope & WithState(const IpamScopeState &value)
const Aws::String & GetIpamScopeArn() const
IpamScope & WithIpamArn(const Aws::String &value)
bool StateHasBeenSet() const
IpamScope & WithIpamScopeId(Aws::String &&value)
bool OwnerIdHasBeenSet() const
bool IpamScopeIdHasBeenSet() const
IpamScope & AddTags(const Tag &value)
IpamScope & WithIpamScopeType(IpamScopeType &&value)
void SetIpamScopeId(Aws::String &&value)
void SetIpamArn(const char *value)
IpamScope & WithDescription(Aws::String &&value)
const Aws::String & GetIpamRegion() const
void SetIpamRegion(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
const Aws::String & GetIpamScopeId() const
void SetTags(const Aws::Vector< Tag > &value)
IpamScope & WithDescription(const char *value)
IpamScope & WithIpamScopeArn(Aws::String &&value)
IpamScope & WithTags(const Aws::Vector< Tag > &value)
IpamScope & WithOwnerId(const Aws::String &value)
bool IpamScopeTypeHasBeenSet() const
IpamScope & WithIpamScopeId(const Aws::String &value)
AWS_EC2_API IpamScope & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
IpamScope & WithIpamRegion(const char *value)
const Aws::String & GetOwnerId() const
IpamScope & WithIpamRegion(Aws::String &&value)
IpamScope & WithIpamArn(Aws::String &&value)
const Aws::String & GetDescription() const
IpamScope & WithIpamRegion(const Aws::String &value)
const IpamScopeType & GetIpamScopeType() 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