7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ram/model/PermissionType.h>
11#include <aws/ram/model/PermissionFeatureSet.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ram/model/Tag.h>
54 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
55 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
69 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
82 inline void SetDefaultVersion(
bool value) { m_defaultVersionHasBeenSet =
true; m_defaultVersion = value; }
94 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
111 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
125 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
229 bool m_arnHasBeenSet =
false;
232 bool m_versionHasBeenSet =
false;
234 bool m_defaultVersion;
235 bool m_defaultVersionHasBeenSet =
false;
238 bool m_nameHasBeenSet =
false;
241 bool m_resourceTypeHasBeenSet =
false;
244 bool m_statusHasBeenSet =
false;
247 bool m_creationTimeHasBeenSet =
false;
250 bool m_lastUpdatedTimeHasBeenSet =
false;
252 bool m_isResourceTypeDefault;
253 bool m_isResourceTypeDefaultHasBeenSet =
false;
256 bool m_permissionTypeHasBeenSet =
false;
259 bool m_featureSetHasBeenSet =
false;
262 bool m_tagsHasBeenSet =
false;
ResourceSharePermissionSummary & WithTags(Aws::Vector< Tag > &&value)
const PermissionFeatureSet & GetFeatureSet() const
void SetIsResourceTypeDefault(bool value)
void SetResourceType(const Aws::String &value)
bool VersionHasBeenSet() const
ResourceSharePermissionSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetPermissionType(const PermissionType &value)
AWS_RAM_API ResourceSharePermissionSummary()
void SetVersion(Aws::String &&value)
const Aws::String & GetStatus() const
ResourceSharePermissionSummary & WithStatus(const Aws::String &value)
ResourceSharePermissionSummary & WithVersion(const char *value)
const Aws::String & GetName() const
ResourceSharePermissionSummary & WithStatus(const char *value)
ResourceSharePermissionSummary & WithName(Aws::String &&value)
void SetStatus(const char *value)
void SetPermissionType(PermissionType &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetName(const Aws::String &value)
bool DefaultVersionHasBeenSet() const
ResourceSharePermissionSummary & WithVersion(Aws::String &&value)
ResourceSharePermissionSummary & WithPermissionType(const PermissionType &value)
void SetName(Aws::String &&value)
const Aws::String & GetVersion() const
const Aws::Utils::DateTime & GetCreationTime() const
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceType(Aws::String &&value)
void SetArn(Aws::String &&value)
ResourceSharePermissionSummary & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
ResourceSharePermissionSummary & WithName(const char *value)
const Aws::Vector< Tag > & GetTags() const
AWS_RAM_API ResourceSharePermissionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const Aws::String &value)
ResourceSharePermissionSummary & WithResourceType(Aws::String &&value)
ResourceSharePermissionSummary & WithIsResourceTypeDefault(bool value)
bool IsResourceTypeDefaultHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
void SetDefaultVersion(bool value)
AWS_RAM_API ResourceSharePermissionSummary(Aws::Utils::Json::JsonView jsonValue)
ResourceSharePermissionSummary & WithArn(Aws::String &&value)
ResourceSharePermissionSummary & WithArn(const Aws::String &value)
ResourceSharePermissionSummary & WithDefaultVersion(bool value)
ResourceSharePermissionSummary & WithArn(const char *value)
ResourceSharePermissionSummary & WithTags(const Aws::Vector< Tag > &value)
bool PermissionTypeHasBeenSet() const
bool GetDefaultVersion() const
bool GetIsResourceTypeDefault() const
ResourceSharePermissionSummary & WithStatus(Aws::String &&value)
ResourceSharePermissionSummary & WithFeatureSet(const PermissionFeatureSet &value)
bool StatusHasBeenSet() const
bool ResourceTypeHasBeenSet() const
bool NameHasBeenSet() const
void SetVersion(const char *value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const PermissionType & GetPermissionType() const
const Aws::String & GetArn() const
void SetName(const char *value)
ResourceSharePermissionSummary & WithFeatureSet(PermissionFeatureSet &&value)
void SetArn(const Aws::String &value)
ResourceSharePermissionSummary & WithResourceType(const Aws::String &value)
void SetResourceType(const char *value)
ResourceSharePermissionSummary & WithName(const Aws::String &value)
ResourceSharePermissionSummary & WithCreationTime(Aws::Utils::DateTime &&value)
bool ArnHasBeenSet() const
bool CreationTimeHasBeenSet() const
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
bool FeatureSetHasBeenSet() const
ResourceSharePermissionSummary & WithVersion(const Aws::String &value)
void SetStatus(Aws::String &&value)
ResourceSharePermissionSummary & WithResourceType(const char *value)
void SetFeatureSet(const PermissionFeatureSet &value)
void SetTags(const Aws::Vector< Tag > &value)
ResourceSharePermissionSummary & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetArn(const char *value)
ResourceSharePermissionSummary & AddTags(Tag &&value)
const Aws::String & GetResourceType() const
ResourceSharePermissionSummary & AddTags(const Tag &value)
bool LastUpdatedTimeHasBeenSet() const
bool TagsHasBeenSet() const
void SetVersion(const Aws::String &value)
ResourceSharePermissionSummary & WithPermissionType(PermissionType &&value)
void SetFeatureSet(PermissionFeatureSet &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue