7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/IpamScopeExternalAuthorityConfiguration.h>
12#include <aws/ec2/model/IpamScopeState.h>
13#include <aws/ec2/model/IpamScopeType.h>
14#include <aws/ec2/model/Tag.h>
55 template <
typename OwnerIdT = Aws::String>
57 m_ownerIdHasBeenSet =
true;
58 m_ownerId = std::forward<OwnerIdT>(value);
60 template <
typename OwnerIdT = Aws::String>
73 template <
typename IpamScopeIdT = Aws::String>
75 m_ipamScopeIdHasBeenSet =
true;
76 m_ipamScopeId = std::forward<IpamScopeIdT>(value);
78 template <
typename IpamScopeIdT = Aws::String>
91 template <
typename IpamScopeArnT = Aws::String>
93 m_ipamScopeArnHasBeenSet =
true;
94 m_ipamScopeArn = std::forward<IpamScopeArnT>(value);
96 template <
typename IpamScopeArnT = Aws::String>
109 template <
typename IpamArnT = Aws::String>
111 m_ipamArnHasBeenSet =
true;
112 m_ipamArn = std::forward<IpamArnT>(value);
114 template <
typename IpamArnT = Aws::String>
127 template <
typename IpamRegionT = Aws::String>
129 m_ipamRegionHasBeenSet =
true;
130 m_ipamRegion = std::forward<IpamRegionT>(value);
132 template <
typename IpamRegionT = Aws::String>
146 m_ipamScopeTypeHasBeenSet =
true;
147 m_ipamScopeType = value;
162 m_isDefaultHasBeenSet =
true;
177 template <
typename DescriptionT = Aws::String>
179 m_descriptionHasBeenSet =
true;
180 m_description = std::forward<DescriptionT>(value);
182 template <
typename DescriptionT = Aws::String>
196 m_poolCountHasBeenSet =
true;
212 m_stateHasBeenSet =
true;
231 template <
typename TagsT = Aws::Vector<Tag>>
233 m_tagsHasBeenSet =
true;
234 m_tags = std::forward<TagsT>(value);
236 template <
typename TagsT = Aws::Vector<Tag>>
238 SetTags(std::forward<TagsT>(value));
241 template <
typename TagsT = Tag>
243 m_tagsHasBeenSet =
true;
244 m_tags.emplace_back(std::forward<TagsT>(value));
262 return m_externalAuthorityConfiguration;
265 template <
typename ExternalAuthorityConfigurationT = IpamScopeExternalAuthorityConfiguration>
267 m_externalAuthorityConfigurationHasBeenSet =
true;
268 m_externalAuthorityConfiguration = std::forward<ExternalAuthorityConfigurationT>(value);
270 template <
typename ExternalAuthorityConfigurationT = IpamScopeExternalAuthorityConfiguration>
289 bool m_isDefault{
false};
299 IpamScopeExternalAuthorityConfiguration m_externalAuthorityConfiguration;
300 bool m_ownerIdHasBeenSet =
false;
301 bool m_ipamScopeIdHasBeenSet =
false;
302 bool m_ipamScopeArnHasBeenSet =
false;
303 bool m_ipamArnHasBeenSet =
false;
304 bool m_ipamRegionHasBeenSet =
false;
305 bool m_ipamScopeTypeHasBeenSet =
false;
306 bool m_isDefaultHasBeenSet =
false;
307 bool m_descriptionHasBeenSet =
false;
308 bool m_poolCountHasBeenSet =
false;
309 bool m_stateHasBeenSet =
false;
310 bool m_tagsHasBeenSet =
false;
311 bool m_externalAuthorityConfigurationHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetIpamScopeId(IpamScopeIdT &&value)
bool IpamRegionHasBeenSet() const
bool IpamScopeArnHasBeenSet() const
void SetExternalAuthorityConfiguration(ExternalAuthorityConfigurationT &&value)
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)
bool ExternalAuthorityConfigurationHasBeenSet() const
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
const IpamScopeExternalAuthorityConfiguration & GetExternalAuthorityConfiguration() 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
IpamScope & WithExternalAuthorityConfiguration(ExternalAuthorityConfigurationT &&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