7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ram/model/PermissionFeatureSet.h>
10#include <aws/core/utils/DateTime.h>
52 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
53 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
68 inline void SetPermissionVersion(
const char* value) { m_permissionVersionHasBeenSet =
true; m_permissionVersion.assign(value); }
81 inline void SetDefaultVersion(
bool value) { m_defaultVersionHasBeenSet =
true; m_defaultVersion = value; }
93 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
114 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
172 inline void SetResourceShareArn(
const char* value) { m_resourceShareArnHasBeenSet =
true; m_resourceShareArn.assign(value); }
180 bool m_arnHasBeenSet =
false;
183 bool m_permissionVersionHasBeenSet =
false;
185 bool m_defaultVersion;
186 bool m_defaultVersionHasBeenSet =
false;
189 bool m_resourceTypeHasBeenSet =
false;
192 bool m_statusHasBeenSet =
false;
195 bool m_featureSetHasBeenSet =
false;
198 bool m_lastUpdatedTimeHasBeenSet =
false;
201 bool m_resourceShareArnHasBeenSet =
false;
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetArn(Aws::String &&value)
void SetResourceShareArn(Aws::String &&value)
AssociatedPermission & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
AssociatedPermission & WithDefaultVersion(bool value)
AssociatedPermission & WithStatus(const char *value)
void SetFeatureSet(PermissionFeatureSet &&value)
const Aws::String & GetResourceShareArn() const
bool PermissionVersionHasBeenSet() const
void SetStatus(const char *value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
AssociatedPermission & WithStatus(Aws::String &&value)
void SetStatus(Aws::String &&value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
bool ArnHasBeenSet() const
void SetStatus(const Aws::String &value)
void SetPermissionVersion(const Aws::String &value)
AWS_RAM_API AssociatedPermission & operator=(Aws::Utils::Json::JsonView jsonValue)
AssociatedPermission & WithResourceShareArn(const char *value)
void SetArn(const Aws::String &value)
AssociatedPermission & WithStatus(const Aws::String &value)
const PermissionFeatureSet & GetFeatureSet() const
bool GetDefaultVersion() const
void SetResourceType(const char *value)
AssociatedPermission & WithFeatureSet(const PermissionFeatureSet &value)
const Aws::String & GetArn() const
AssociatedPermission & WithArn(Aws::String &&value)
AWS_RAM_API AssociatedPermission()
bool ResourceShareArnHasBeenSet() const
void SetPermissionVersion(const char *value)
AssociatedPermission & WithResourceType(Aws::String &&value)
AssociatedPermission & WithArn(const char *value)
void SetResourceShareArn(const char *value)
AWS_RAM_API AssociatedPermission(Aws::Utils::Json::JsonView jsonValue)
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
AssociatedPermission & WithResourceShareArn(Aws::String &&value)
void SetDefaultVersion(bool value)
AssociatedPermission & WithPermissionVersion(Aws::String &&value)
AssociatedPermission & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetResourceType() const
AssociatedPermission & WithResourceType(const Aws::String &value)
bool ResourceTypeHasBeenSet() const
const Aws::String & GetPermissionVersion() const
AssociatedPermission & WithPermissionVersion(const char *value)
bool StatusHasBeenSet() const
AssociatedPermission & WithPermissionVersion(const Aws::String &value)
AssociatedPermission & WithFeatureSet(PermissionFeatureSet &&value)
void SetArn(const char *value)
AssociatedPermission & WithResourceType(const char *value)
void SetResourceType(const Aws::String &value)
bool LastUpdatedTimeHasBeenSet() const
bool DefaultVersionHasBeenSet() const
void SetResourceShareArn(const Aws::String &value)
void SetFeatureSet(const PermissionFeatureSet &value)
AssociatedPermission & WithResourceShareArn(const Aws::String &value)
bool FeatureSetHasBeenSet() const
const Aws::String & GetStatus() const
AssociatedPermission & WithArn(const Aws::String &value)
void SetPermissionVersion(Aws::String &&value)
void SetResourceType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue