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>
53 template<
typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
55 template<
typename ArnT = Aws::String>
65 template<
typename VersionT = Aws::String>
66 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
67 template<
typename VersionT = Aws::String>
78 inline void SetDefaultVersion(
bool value) { m_defaultVersionHasBeenSet =
true; m_defaultVersion = value; }
88 template<
typename NameT = Aws::String>
89 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
90 template<
typename NameT = Aws::String>
103 template<
typename ResourceTypeT = Aws::String>
104 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
105 template<
typename ResourceTypeT = Aws::String>
115 template<
typename StatusT = Aws::String>
116 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
117 template<
typename StatusT = Aws::String>
127 template<
typename CreationTimeT = Aws::Utils::DateTime>
128 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
129 template<
typename CreationTimeT = Aws::Utils::DateTime>
139 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
140 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
141 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
205 template<
typename TagsT = Aws::Vector<Tag>>
206 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
207 template<
typename TagsT = Aws::Vector<Tag>>
209 template<
typename TagsT = Tag>
215 bool m_arnHasBeenSet =
false;
218 bool m_versionHasBeenSet =
false;
220 bool m_defaultVersion{
false};
221 bool m_defaultVersionHasBeenSet =
false;
224 bool m_nameHasBeenSet =
false;
227 bool m_resourceTypeHasBeenSet =
false;
230 bool m_statusHasBeenSet =
false;
233 bool m_creationTimeHasBeenSet =
false;
236 bool m_lastUpdatedTimeHasBeenSet =
false;
238 bool m_isResourceTypeDefault{
false};
239 bool m_isResourceTypeDefaultHasBeenSet =
false;
242 bool m_permissionTypeHasBeenSet =
false;
245 bool m_featureSetHasBeenSet =
false;
248 bool m_tagsHasBeenSet =
false;
void SetIsResourceTypeDefault(bool value)
bool VersionHasBeenSet() const
ResourceSharePermissionSummary & WithPermissionType(PermissionType value)
ResourceSharePermissionSummary & WithArn(ArnT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetStatus() const
ResourceSharePermissionSummary & WithVersion(VersionT &&value)
const Aws::String & GetName() const
void SetTags(TagsT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
bool DefaultVersionHasBeenSet() const
void SetStatus(StatusT &&value)
const Aws::String & GetVersion() const
const Aws::Utils::DateTime & GetCreationTime() const
ResourceSharePermissionSummary & WithName(NameT &&value)
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceType(ResourceTypeT &&value)
const Aws::Vector< Tag > & GetTags() const
ResourceSharePermissionSummary & WithResourceType(ResourceTypeT &&value)
AWS_RAM_API ResourceSharePermissionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
ResourceSharePermissionSummary & WithFeatureSet(PermissionFeatureSet value)
ResourceSharePermissionSummary & WithIsResourceTypeDefault(bool value)
bool IsResourceTypeDefaultHasBeenSet() const
AWS_RAM_API ResourceSharePermissionSummary()=default
void SetPermissionType(PermissionType value)
void SetDefaultVersion(bool value)
AWS_RAM_API ResourceSharePermissionSummary(Aws::Utils::Json::JsonView jsonValue)
ResourceSharePermissionSummary & WithDefaultVersion(bool value)
ResourceSharePermissionSummary & WithTags(TagsT &&value)
bool PermissionTypeHasBeenSet() const
bool GetDefaultVersion() const
bool GetIsResourceTypeDefault() const
bool StatusHasBeenSet() const
ResourceSharePermissionSummary & WithStatus(StatusT &&value)
bool ResourceTypeHasBeenSet() const
bool NameHasBeenSet() const
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetArn() const
PermissionType GetPermissionType() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
ResourceSharePermissionSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
PermissionFeatureSet GetFeatureSet() const
bool ArnHasBeenSet() const
bool CreationTimeHasBeenSet() const
bool FeatureSetHasBeenSet() const
ResourceSharePermissionSummary & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetResourceType() const
ResourceSharePermissionSummary & AddTags(TagsT &&value)
bool LastUpdatedTimeHasBeenSet() const
bool TagsHasBeenSet() const
void SetFeatureSet(PermissionFeatureSet value)
void SetVersion(VersionT &&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