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>
60 template<
typename OwnerIdT = Aws::String>
61 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
62 template<
typename OwnerIdT = Aws::String>
72 template<
typename IpamScopeIdT = Aws::String>
73 void SetIpamScopeId(IpamScopeIdT&& value) { m_ipamScopeIdHasBeenSet =
true; m_ipamScopeId = std::forward<IpamScopeIdT>(value); }
74 template<
typename IpamScopeIdT = Aws::String>
84 template<
typename IpamScopeArnT = Aws::String>
85 void SetIpamScopeArn(IpamScopeArnT&& value) { m_ipamScopeArnHasBeenSet =
true; m_ipamScopeArn = std::forward<IpamScopeArnT>(value); }
86 template<
typename IpamScopeArnT = Aws::String>
96 template<
typename IpamArnT = Aws::String>
97 void SetIpamArn(IpamArnT&& value) { m_ipamArnHasBeenSet =
true; m_ipamArn = std::forward<IpamArnT>(value); }
98 template<
typename IpamArnT = Aws::String>
108 template<
typename IpamRegionT = Aws::String>
109 void SetIpamRegion(IpamRegionT&& value) { m_ipamRegionHasBeenSet =
true; m_ipamRegion = std::forward<IpamRegionT>(value); }
110 template<
typename IpamRegionT = Aws::String>
130 inline void SetIsDefault(
bool value) { m_isDefaultHasBeenSet =
true; m_isDefault = value; }
140 template<
typename DescriptionT = Aws::String>
141 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
142 template<
typename DescriptionT = Aws::String>
152 inline void SetPoolCount(
int value) { m_poolCountHasBeenSet =
true; m_poolCount = value; }
176 template<
typename TagsT = Aws::Vector<Tag>>
177 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
178 template<
typename TagsT = Aws::Vector<Tag>>
180 template<
typename TagsT = Tag>
181 IpamScope&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
186 bool m_ownerIdHasBeenSet =
false;
189 bool m_ipamScopeIdHasBeenSet =
false;
192 bool m_ipamScopeArnHasBeenSet =
false;
195 bool m_ipamArnHasBeenSet =
false;
198 bool m_ipamRegionHasBeenSet =
false;
201 bool m_ipamScopeTypeHasBeenSet =
false;
203 bool m_isDefault{
false};
204 bool m_isDefaultHasBeenSet =
false;
207 bool m_descriptionHasBeenSet =
false;
210 bool m_poolCountHasBeenSet =
false;
213 bool m_stateHasBeenSet =
false;
216 bool m_tagsHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetIpamScopeId(IpamScopeIdT &&value)
bool IpamRegionHasBeenSet() const
bool IpamScopeArnHasBeenSet() const
IpamScope & WithIsDefault(bool value)
IpamScope & WithOwnerId(OwnerIdT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_EC2_API IpamScope(const Aws::Utils::Xml::XmlNode &xmlNode)
bool DescriptionHasBeenSet() const
IpamScope & WithIpamScopeType(IpamScopeType value)
void SetPoolCount(int value)
bool PoolCountHasBeenSet() const
void SetIpamRegion(IpamRegionT &&value)
void SetOwnerId(OwnerIdT &&value)
IpamScope & WithIpamArn(IpamArnT &&value)
IpamScope & WithIpamScopeArn(IpamScopeArnT &&value)
bool GetIsDefault() const
void SetIpamArn(IpamArnT &&value)
bool IsDefaultHasBeenSet() const
IpamScope & WithIpamRegion(IpamRegionT &&value)
void SetIsDefault(bool value)
IpamScope & WithIpamScopeId(IpamScopeIdT &&value)
IpamScope & WithPoolCount(int value)
const Aws::String & GetIpamArn() const
bool TagsHasBeenSet() const
void SetIpamScopeType(IpamScopeType value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
IpamScope & AddTags(TagsT &&value)
IpamScopeState GetState() const
bool IpamArnHasBeenSet() const
const Aws::String & GetIpamScopeArn() const
void SetTags(TagsT &&value)
bool StateHasBeenSet() const
bool OwnerIdHasBeenSet() const
bool IpamScopeIdHasBeenSet() const
IpamScope & WithDescription(DescriptionT &&value)
const Aws::String & GetIpamRegion() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetIpamScopeId() const
IpamScope & WithState(IpamScopeState value)
IpamScope & WithTags(TagsT &&value)
void SetIpamScopeArn(IpamScopeArnT &&value)
IpamScopeType GetIpamScopeType() const
bool IpamScopeTypeHasBeenSet() const
AWS_EC2_API IpamScope & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetOwnerId() const
AWS_EC2_API IpamScope()=default
void SetState(IpamScopeState 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