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/IpamResourceDiscoveryState.h>
12#include <aws/ec2/model/IpamOperatingRegion.h>
13#include <aws/ec2/model/Tag.h>
56 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
70 inline void SetIpamResourceDiscoveryId(
const char* value) { m_ipamResourceDiscoveryIdHasBeenSet =
true; m_ipamResourceDiscoveryId.assign(value); }
84 inline void SetIpamResourceDiscoveryArn(
const char* value) { m_ipamResourceDiscoveryArnHasBeenSet =
true; m_ipamResourceDiscoveryArn.assign(value); }
98 inline void SetIpamResourceDiscoveryRegion(
const char* value) { m_ipamResourceDiscoveryRegionHasBeenSet =
true; m_ipamResourceDiscoveryRegion.assign(value); }
112 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
143 inline void SetIsDefault(
bool value) { m_isDefaultHasBeenSet =
true; m_isDefault = value; }
194 bool m_ownerIdHasBeenSet =
false;
197 bool m_ipamResourceDiscoveryIdHasBeenSet =
false;
200 bool m_ipamResourceDiscoveryArnHasBeenSet =
false;
203 bool m_ipamResourceDiscoveryRegionHasBeenSet =
false;
206 bool m_descriptionHasBeenSet =
false;
209 bool m_operatingRegionsHasBeenSet =
false;
212 bool m_isDefaultHasBeenSet =
false;
215 bool m_stateHasBeenSet =
false;
218 bool m_tagsHasBeenSet =
false;
IpamResourceDiscovery & WithIpamResourceDiscoveryId(const char *value)
const Aws::String & GetOwnerId() const
void SetOwnerId(Aws::String &&value)
void SetIpamResourceDiscoveryArn(Aws::String &&value)
void SetDescription(const Aws::String &value)
IpamResourceDiscovery & WithIpamResourceDiscoveryArn(const Aws::String &value)
void SetDescription(Aws::String &&value)
IpamResourceDiscovery & WithState(const IpamResourceDiscoveryState &value)
AWS_EC2_API IpamResourceDiscovery()
const Aws::String & GetIpamResourceDiscoveryId() const
const Aws::Vector< Tag > & GetTags() const
void SetState(IpamResourceDiscoveryState &&value)
IpamResourceDiscovery & WithDescription(Aws::String &&value)
void SetOwnerId(const Aws::String &value)
const Aws::String & GetIpamResourceDiscoveryRegion() const
const Aws::String & GetIpamResourceDiscoveryArn() const
const Aws::Vector< IpamOperatingRegion > & GetOperatingRegions() const
AWS_EC2_API IpamResourceDiscovery(const Aws::Utils::Xml::XmlNode &xmlNode)
IpamResourceDiscovery & WithOperatingRegions(Aws::Vector< IpamOperatingRegion > &&value)
bool TagsHasBeenSet() const
IpamResourceDiscovery & AddTags(Tag &&value)
IpamResourceDiscovery & AddOperatingRegions(const IpamOperatingRegion &value)
void SetIpamResourceDiscoveryId(const char *value)
IpamResourceDiscovery & WithTags(Aws::Vector< Tag > &&value)
void SetDescription(const char *value)
IpamResourceDiscovery & WithIpamResourceDiscoveryRegion(Aws::String &&value)
bool IpamResourceDiscoveryRegionHasBeenSet() const
void SetIpamResourceDiscoveryId(const Aws::String &value)
bool IpamResourceDiscoveryIdHasBeenSet() const
void SetIsDefault(bool value)
IpamResourceDiscovery & WithIpamResourceDiscoveryRegion(const Aws::String &value)
void SetIpamResourceDiscoveryRegion(const char *value)
void SetIpamResourceDiscoveryArn(const Aws::String &value)
void SetOperatingRegions(Aws::Vector< IpamOperatingRegion > &&value)
void SetIpamResourceDiscoveryId(Aws::String &&value)
bool OperatingRegionsHasBeenSet() const
bool IsDefaultHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
AWS_EC2_API IpamResourceDiscovery & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
IpamResourceDiscovery & WithOwnerId(const Aws::String &value)
IpamResourceDiscovery & AddOperatingRegions(IpamOperatingRegion &&value)
bool IpamResourceDiscoveryArnHasBeenSet() const
IpamResourceDiscovery & WithOperatingRegions(const Aws::Vector< IpamOperatingRegion > &value)
IpamResourceDiscovery & WithOwnerId(Aws::String &&value)
IpamResourceDiscovery & WithTags(const Aws::Vector< Tag > &value)
IpamResourceDiscovery & WithState(IpamResourceDiscoveryState &&value)
void SetState(const IpamResourceDiscoveryState &value)
IpamResourceDiscovery & WithDescription(const Aws::String &value)
bool StateHasBeenSet() const
void SetOwnerId(const char *value)
IpamResourceDiscovery & AddTags(const Tag &value)
IpamResourceDiscovery & WithDescription(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
IpamResourceDiscovery & WithIpamResourceDiscoveryRegion(const char *value)
void SetIpamResourceDiscoveryArn(const char *value)
IpamResourceDiscovery & WithIpamResourceDiscoveryId(const Aws::String &value)
IpamResourceDiscovery & WithIpamResourceDiscoveryArn(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
void SetOperatingRegions(const Aws::Vector< IpamOperatingRegion > &value)
IpamResourceDiscovery & WithIsDefault(bool value)
IpamResourceDiscovery & WithIpamResourceDiscoveryArn(Aws::String &&value)
const Aws::String & GetDescription() const
bool GetIsDefault() const
IpamResourceDiscovery & WithIpamResourceDiscoveryId(Aws::String &&value)
const IpamResourceDiscoveryState & GetState() const
void SetIpamResourceDiscoveryRegion(Aws::String &&value)
bool DescriptionHasBeenSet() const
bool OwnerIdHasBeenSet() const
IpamResourceDiscovery & WithOwnerId(const char *value)
void SetIpamResourceDiscoveryRegion(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
IpamResourceDiscoveryState
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