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/IpamMeteredAccount.h>
12#include <aws/ec2/model/IpamOperatingRegion.h>
13#include <aws/ec2/model/IpamState.h>
14#include <aws/ec2/model/IpamTier.h>
15#include <aws/ec2/model/Tag.h>
40 AWS_EC2_API
Ipam() =
default;
53 template <
typename OwnerIdT = Aws::String>
55 m_ownerIdHasBeenSet =
true;
56 m_ownerId = std::forward<OwnerIdT>(value);
58 template <
typename OwnerIdT = Aws::String>
71 template <
typename IpamIdT = Aws::String>
73 m_ipamIdHasBeenSet =
true;
74 m_ipamId = std::forward<IpamIdT>(value);
76 template <
typename IpamIdT = Aws::String>
89 template <
typename IpamArnT = Aws::String>
91 m_ipamArnHasBeenSet =
true;
92 m_ipamArn = std::forward<IpamArnT>(value);
94 template <
typename IpamArnT = Aws::String>
107 template <
typename IpamRegionT = Aws::String>
109 m_ipamRegionHasBeenSet =
true;
110 m_ipamRegion = std::forward<IpamRegionT>(value);
112 template <
typename IpamRegionT = Aws::String>
125 template <
typename PublicDefaultScopeIdT = Aws::String>
127 m_publicDefaultScopeIdHasBeenSet =
true;
128 m_publicDefaultScopeId = std::forward<PublicDefaultScopeIdT>(value);
130 template <
typename PublicDefaultScopeIdT = Aws::String>
143 template <
typename PrivateDefaultScopeIdT = Aws::String>
145 m_privateDefaultScopeIdHasBeenSet =
true;
146 m_privateDefaultScopeId = std::forward<PrivateDefaultScopeIdT>(value);
148 template <
typename PrivateDefaultScopeIdT = Aws::String>
165 m_scopeCountHasBeenSet =
true;
166 m_scopeCount = value;
180 template <
typename DescriptionT = Aws::String>
182 m_descriptionHasBeenSet =
true;
183 m_description = std::forward<DescriptionT>(value);
185 template <
typename DescriptionT = Aws::String>
203 template <
typename OperatingRegionsT = Aws::Vector<IpamOperatingRegion>>
205 m_operatingRegionsHasBeenSet =
true;
206 m_operatingRegions = std::forward<OperatingRegionsT>(value);
208 template <
typename OperatingRegionsT = Aws::Vector<IpamOperatingRegion>>
213 template <
typename OperatingRegionsT = IpamOperatingRegion>
215 m_operatingRegionsHasBeenSet =
true;
216 m_operatingRegions.emplace_back(std::forward<OperatingRegionsT>(value));
228 m_stateHasBeenSet =
true;
247 template <
typename TagsT = Aws::Vector<Tag>>
249 m_tagsHasBeenSet =
true;
250 m_tags = std::forward<TagsT>(value);
252 template <
typename TagsT = Aws::Vector<Tag>>
254 SetTags(std::forward<TagsT>(value));
257 template <
typename TagsT = Tag>
259 m_tagsHasBeenSet =
true;
260 m_tags.emplace_back(std::forward<TagsT>(value));
271 template <
typename DefaultResourceDiscoveryIdT = Aws::String>
273 m_defaultResourceDiscoveryIdHasBeenSet =
true;
274 m_defaultResourceDiscoveryId = std::forward<DefaultResourceDiscoveryIdT>(value);
276 template <
typename DefaultResourceDiscoveryIdT = Aws::String>
289 template <
typename DefaultResourceDiscoveryAssociationIdT = Aws::String>
291 m_defaultResourceDiscoveryAssociationIdHasBeenSet =
true;
292 m_defaultResourceDiscoveryAssociationId = std::forward<DefaultResourceDiscoveryAssociationIdT>(value);
294 template <
typename DefaultResourceDiscoveryAssociationIdT = Aws::String>
308 m_resourceDiscoveryAssociationCountHasBeenSet =
true;
309 m_resourceDiscoveryAssociationCount = value;
323 template <
typename StateMessageT = Aws::String>
325 m_stateMessageHasBeenSet =
true;
326 m_stateMessage = std::forward<StateMessageT>(value);
328 template <
typename StateMessageT = Aws::String>
345 m_tierHasBeenSet =
true;
362 m_enablePrivateGuaHasBeenSet =
true;
363 m_enablePrivateGua = value;
386 m_meteredAccountHasBeenSet =
true;
387 m_meteredAccount = value;
419 Aws::String m_defaultResourceDiscoveryAssociationId;
421 int m_resourceDiscoveryAssociationCount{0};
427 bool m_enablePrivateGua{
false};
430 bool m_ownerIdHasBeenSet =
false;
431 bool m_ipamIdHasBeenSet =
false;
432 bool m_ipamArnHasBeenSet =
false;
433 bool m_ipamRegionHasBeenSet =
false;
434 bool m_publicDefaultScopeIdHasBeenSet =
false;
435 bool m_privateDefaultScopeIdHasBeenSet =
false;
436 bool m_scopeCountHasBeenSet =
false;
437 bool m_descriptionHasBeenSet =
false;
438 bool m_operatingRegionsHasBeenSet =
false;
439 bool m_stateHasBeenSet =
false;
440 bool m_tagsHasBeenSet =
false;
441 bool m_defaultResourceDiscoveryIdHasBeenSet =
false;
442 bool m_defaultResourceDiscoveryAssociationIdHasBeenSet =
false;
443 bool m_resourceDiscoveryAssociationCountHasBeenSet =
false;
444 bool m_stateMessageHasBeenSet =
false;
445 bool m_tierHasBeenSet =
false;
446 bool m_enablePrivateGuaHasBeenSet =
false;
447 bool m_meteredAccountHasBeenSet =
false;
Ipam & WithMeteredAccount(IpamMeteredAccount value)
void SetStateMessage(StateMessageT &&value)
bool TierHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetOwnerId() const
IpamState GetState() const
void SetIpamId(IpamIdT &&value)
void SetDefaultResourceDiscoveryId(DefaultResourceDiscoveryIdT &&value)
void SetIpamArn(IpamArnT &&value)
Ipam & WithDefaultResourceDiscoveryAssociationId(DefaultResourceDiscoveryAssociationIdT &&value)
bool GetEnablePrivateGua() const
const Aws::String & GetDefaultResourceDiscoveryId() const
bool DefaultResourceDiscoveryIdHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetResourceDiscoveryAssociationCount(int value)
bool OwnerIdHasBeenSet() const
void SetEnablePrivateGua(bool value)
bool EnablePrivateGuaHasBeenSet() const
Ipam & WithDefaultResourceDiscoveryId(DefaultResourceDiscoveryIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API Ipam(const Aws::Utils::Xml::XmlNode &xmlNode)
Ipam & WithResourceDiscoveryAssociationCount(int value)
const Aws::String & GetIpamId() const
bool PrivateDefaultScopeIdHasBeenSet() const
void SetOperatingRegions(OperatingRegionsT &&value)
int GetScopeCount() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool DefaultResourceDiscoveryAssociationIdHasBeenSet() const
AWS_EC2_API Ipam & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Tag > & GetTags() const
bool OperatingRegionsHasBeenSet() const
Ipam & WithIpamRegion(IpamRegionT &&value)
IpamMeteredAccount GetMeteredAccount() const
bool IpamArnHasBeenSet() const
Ipam & WithTags(TagsT &&value)
Ipam & WithStateMessage(StateMessageT &&value)
void SetPrivateDefaultScopeId(PrivateDefaultScopeIdT &&value)
Ipam & WithOperatingRegions(OperatingRegionsT &&value)
void SetScopeCount(int value)
void SetPublicDefaultScopeId(PublicDefaultScopeIdT &&value)
Ipam & WithIpamArn(IpamArnT &&value)
const Aws::String & GetIpamArn() const
bool TagsHasBeenSet() const
const Aws::String & GetPublicDefaultScopeId() const
Ipam & AddTags(TagsT &&value)
void SetIpamRegion(IpamRegionT &&value)
Ipam & WithState(IpamState value)
Ipam & WithPrivateDefaultScopeId(PrivateDefaultScopeIdT &&value)
Ipam & WithScopeCount(int value)
const Aws::String & GetStateMessage() const
bool IpamIdHasBeenSet() const
const Aws::String & GetIpamRegion() const
bool StateHasBeenSet() const
Ipam & WithDescription(DescriptionT &&value)
bool ResourceDiscoveryAssociationCountHasBeenSet() const
Ipam & WithIpamId(IpamIdT &&value)
AWS_EC2_API Ipam()=default
Ipam & WithOwnerId(OwnerIdT &&value)
const Aws::String & GetPrivateDefaultScopeId() const
bool StateMessageHasBeenSet() const
Ipam & WithTier(IpamTier value)
Ipam & WithEnablePrivateGua(bool value)
bool ScopeCountHasBeenSet() const
void SetDefaultResourceDiscoveryAssociationId(DefaultResourceDiscoveryAssociationIdT &&value)
void SetMeteredAccount(IpamMeteredAccount value)
void SetOwnerId(OwnerIdT &&value)
void SetTier(IpamTier value)
const Aws::String & GetDefaultResourceDiscoveryAssociationId() const
bool PublicDefaultScopeIdHasBeenSet() const
Ipam & WithPublicDefaultScopeId(PublicDefaultScopeIdT &&value)
Ipam & AddOperatingRegions(OperatingRegionsT &&value)
const Aws::Vector< IpamOperatingRegion > & GetOperatingRegions() const
void SetState(IpamState value)
bool IpamRegionHasBeenSet() const
int GetResourceDiscoveryAssociationCount() const
void SetTags(TagsT &&value)
bool MeteredAccountHasBeenSet() const
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