7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ram/model/ResourceShareStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/ram/model/ResourceShareFeatureSet.h>
13#include <aws/ram/model/Tag.h>
55 inline void SetResourceShareArn(
const char* value) { m_resourceShareArnHasBeenSet =
true; m_resourceShareArn.assign(value); }
69 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
83 inline void SetOwningAccountId(
const char* value) { m_owningAccountIdHasBeenSet =
true; m_owningAccountId.assign(value); }
124 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
199 bool m_resourceShareArnHasBeenSet =
false;
202 bool m_nameHasBeenSet =
false;
205 bool m_owningAccountIdHasBeenSet =
false;
207 bool m_allowExternalPrincipals;
208 bool m_allowExternalPrincipalsHasBeenSet =
false;
211 bool m_statusHasBeenSet =
false;
214 bool m_statusMessageHasBeenSet =
false;
217 bool m_tagsHasBeenSet =
false;
220 bool m_creationTimeHasBeenSet =
false;
223 bool m_lastUpdatedTimeHasBeenSet =
false;
226 bool m_featureSetHasBeenSet =
false;
void SetName(const Aws::String &value)
ResourceShare & WithStatusMessage(const Aws::String &value)
ResourceShare & WithOwningAccountId(Aws::String &&value)
bool CreationTimeHasBeenSet() const
const Aws::String & GetOwningAccountId() const
AWS_RAM_API ResourceShare()
void SetResourceShareArn(const char *value)
ResourceShare & WithAllowExternalPrincipals(bool value)
bool LastUpdatedTimeHasBeenSet() const
void SetCreationTime(const Aws::Utils::DateTime &value)
ResourceShare & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
ResourceShare & WithResourceShareArn(const char *value)
const Aws::String & GetResourceShareArn() const
ResourceShare & AddTags(Tag &&value)
ResourceShare & WithName(Aws::String &&value)
AWS_RAM_API ResourceShare(Aws::Utils::Json::JsonView jsonValue)
void SetOwningAccountId(Aws::String &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetResourceShareArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
bool AllowExternalPrincipalsHasBeenSet() const
ResourceShare & AddTags(const Tag &value)
ResourceShare & WithFeatureSet(ResourceShareFeatureSet &&value)
ResourceShare & WithStatus(ResourceShareStatus &&value)
void SetOwningAccountId(const char *value)
ResourceShare & WithCreationTime(Aws::Utils::DateTime &&value)
void SetFeatureSet(ResourceShareFeatureSet &&value)
AWS_RAM_API ResourceShare & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceShareArnHasBeenSet() const
ResourceShare & WithCreationTime(const Aws::Utils::DateTime &value)
ResourceShare & WithName(const char *value)
bool StatusHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
void SetName(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetName(Aws::String &&value)
ResourceShare & WithName(const Aws::String &value)
const ResourceShareStatus & GetStatus() const
const Aws::String & GetStatusMessage() const
void SetStatusMessage(const Aws::String &value)
ResourceShare & WithStatusMessage(Aws::String &&value)
void SetResourceShareArn(Aws::String &&value)
void SetStatus(ResourceShareStatus &&value)
void SetStatusMessage(const char *value)
ResourceShare & WithFeatureSet(const ResourceShareFeatureSet &value)
ResourceShare & WithResourceShareArn(const Aws::String &value)
ResourceShare & WithOwningAccountId(const Aws::String &value)
bool FeatureSetHasBeenSet() const
bool StatusMessageHasBeenSet() const
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceShare & WithOwningAccountId(const char *value)
ResourceShare & WithStatusMessage(const char *value)
const Aws::String & GetName() const
void SetAllowExternalPrincipals(bool value)
void SetFeatureSet(const ResourceShareFeatureSet &value)
const ResourceShareFeatureSet & GetFeatureSet() const
bool GetAllowExternalPrincipals() const
const Aws::Vector< Tag > & GetTags() const
void SetStatus(const ResourceShareStatus &value)
ResourceShare & WithTags(const Aws::Vector< Tag > &value)
ResourceShare & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
ResourceShare & WithStatus(const ResourceShareStatus &value)
bool OwningAccountIdHasBeenSet() const
ResourceShare & WithTags(Aws::Vector< Tag > &&value)
bool TagsHasBeenSet() const
ResourceShare & WithResourceShareArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetOwningAccountId(const Aws::String &value)
void SetStatusMessage(Aws::String &&value)
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue