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/ram/model/PermissionStatus.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ram/model/Tag.h>
55 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
56 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
70 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
83 inline void SetDefaultVersion(
bool value) { m_defaultVersionHasBeenSet =
true; m_defaultVersion = value; }
95 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
109 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
126 inline void SetPermission(
const char* value) { m_permissionHasBeenSet =
true; m_permission.assign(value); }
249 bool m_arnHasBeenSet =
false;
252 bool m_versionHasBeenSet =
false;
254 bool m_defaultVersion;
255 bool m_defaultVersionHasBeenSet =
false;
258 bool m_nameHasBeenSet =
false;
261 bool m_resourceTypeHasBeenSet =
false;
264 bool m_permissionHasBeenSet =
false;
267 bool m_creationTimeHasBeenSet =
false;
270 bool m_lastUpdatedTimeHasBeenSet =
false;
272 bool m_isResourceTypeDefault;
273 bool m_isResourceTypeDefaultHasBeenSet =
false;
276 bool m_permissionTypeHasBeenSet =
false;
279 bool m_featureSetHasBeenSet =
false;
282 bool m_statusHasBeenSet =
false;
285 bool m_tagsHasBeenSet =
false;
bool ArnHasBeenSet() const
void SetName(Aws::String &&value)
bool DefaultVersionHasBeenSet() const
void SetName(const Aws::String &value)
bool StatusHasBeenSet() const
void SetCreationTime(const Aws::Utils::DateTime &value)
ResourceSharePermissionDetail & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetResourceType(const char *value)
void SetDefaultVersion(bool value)
const Aws::Vector< Tag > & GetTags() const
ResourceSharePermissionDetail & WithFeatureSet(const PermissionFeatureSet &value)
const Aws::String & GetResourceType() const
ResourceSharePermissionDetail & WithCreationTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
ResourceSharePermissionDetail & WithPermission(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
void SetArn(const char *value)
void SetPermissionType(const PermissionType &value)
AWS_RAM_API ResourceSharePermissionDetail()
void SetVersion(Aws::String &&value)
ResourceSharePermissionDetail & WithName(const char *value)
ResourceSharePermissionDetail & WithArn(const char *value)
void SetResourceType(Aws::String &&value)
const PermissionStatus & GetStatus() const
void SetVersion(const char *value)
void SetResourceType(const Aws::String &value)
void SetFeatureSet(PermissionFeatureSet &&value)
ResourceSharePermissionDetail & WithResourceType(const Aws::String &value)
ResourceSharePermissionDetail & WithArn(const Aws::String &value)
void SetStatus(PermissionStatus &&value)
bool PermissionHasBeenSet() const
ResourceSharePermissionDetail & WithTags(const Aws::Vector< Tag > &value)
void SetVersion(const Aws::String &value)
bool GetDefaultVersion() const
bool VersionHasBeenSet() const
AWS_RAM_API ResourceSharePermissionDetail(Aws::Utils::Json::JsonView jsonValue)
ResourceSharePermissionDetail & WithStatus(PermissionStatus &&value)
ResourceSharePermissionDetail & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
ResourceSharePermissionDetail & WithTags(Aws::Vector< Tag > &&value)
void SetFeatureSet(const PermissionFeatureSet &value)
bool GetIsResourceTypeDefault() const
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetTags(Aws::Vector< Tag > &&value)
ResourceSharePermissionDetail & WithVersion(Aws::String &&value)
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RAM_API ResourceSharePermissionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const PermissionStatus &value)
void SetPermission(Aws::String &&value)
ResourceSharePermissionDetail & WithResourceType(Aws::String &&value)
const Aws::String & GetName() const
const PermissionFeatureSet & GetFeatureSet() const
ResourceSharePermissionDetail & WithName(Aws::String &&value)
ResourceSharePermissionDetail & WithName(const Aws::String &value)
ResourceSharePermissionDetail & WithStatus(const PermissionStatus &value)
bool TagsHasBeenSet() const
ResourceSharePermissionDetail & WithResourceType(const char *value)
const PermissionType & GetPermissionType() const
bool CreationTimeHasBeenSet() const
ResourceSharePermissionDetail & WithPermission(const char *value)
ResourceSharePermissionDetail & WithPermissionType(PermissionType &&value)
bool LastUpdatedTimeHasBeenSet() const
void SetPermission(const char *value)
bool FeatureSetHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
ResourceSharePermissionDetail & WithVersion(const char *value)
ResourceSharePermissionDetail & WithIsResourceTypeDefault(bool value)
ResourceSharePermissionDetail & AddTags(const Tag &value)
ResourceSharePermissionDetail & WithDefaultVersion(bool value)
const Aws::String & GetArn() const
ResourceSharePermissionDetail & WithPermissionType(const PermissionType &value)
void SetArn(const Aws::String &value)
ResourceSharePermissionDetail & WithArn(Aws::String &&value)
void SetPermissionType(PermissionType &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ResourceSharePermissionDetail & WithPermission(const Aws::String &value)
ResourceSharePermissionDetail & AddTags(Tag &&value)
ResourceSharePermissionDetail & WithFeatureSet(PermissionFeatureSet &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetIsResourceTypeDefault(bool value)
const Aws::String & GetVersion() const
bool IsResourceTypeDefaultHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
ResourceSharePermissionDetail & WithVersion(const Aws::String &value)
const Aws::String & GetPermission() const
void SetName(const char *value)
bool PermissionTypeHasBeenSet() const
bool NameHasBeenSet() const
void SetPermission(const Aws::String &value)
ResourceSharePermissionDetail & WithCreationTime(const Aws::Utils::DateTime &value)
void SetArn(Aws::String &&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