7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ram/RAM_EXPORTS.h>
10#include <aws/ram/model/PermissionFeatureSet.h>
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
64 template <
typename PermissionVersionT = Aws::String>
66 m_permissionVersionHasBeenSet =
true;
67 m_permissionVersion = std::forward<PermissionVersionT>(value);
69 template <
typename PermissionVersionT = Aws::String>
84 m_defaultVersionHasBeenSet =
true;
85 m_defaultVersion = value;
99 template <
typename ResourceTypeT = Aws::String>
101 m_resourceTypeHasBeenSet =
true;
102 m_resourceType = std::forward<ResourceTypeT>(value);
104 template <
typename ResourceTypeT = Aws::String>
124 template <
typename StatusT = Aws::String>
126 m_statusHasBeenSet =
true;
127 m_status = std::forward<StatusT>(value);
129 template <
typename StatusT = Aws::String>
160 m_featureSetHasBeenSet =
true;
161 m_featureSet = value;
176 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
178 m_lastUpdatedTimeHasBeenSet =
true;
179 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
181 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
196 template <
typename ResourceShareArnT = Aws::String>
198 m_resourceShareArnHasBeenSet =
true;
199 m_resourceShareArn = std::forward<ResourceShareArnT>(value);
201 template <
typename ResourceShareArnT = Aws::String>
212 bool m_defaultVersion{
false};
223 bool m_arnHasBeenSet =
false;
224 bool m_permissionVersionHasBeenSet =
false;
225 bool m_defaultVersionHasBeenSet =
false;
226 bool m_resourceTypeHasBeenSet =
false;
227 bool m_statusHasBeenSet =
false;
228 bool m_featureSetHasBeenSet =
false;
229 bool m_lastUpdatedTimeHasBeenSet =
false;
230 bool m_resourceShareArnHasBeenSet =
false;
AssociatedPermission & WithResourceType(ResourceTypeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
PermissionFeatureSet GetFeatureSet() const
AssociatedPermission & WithDefaultVersion(bool value)
AWS_RAM_API AssociatedPermission()=default
const Aws::String & GetResourceShareArn() const
AssociatedPermission & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AssociatedPermission & WithFeatureSet(PermissionFeatureSet value)
void SetArn(ArnT &&value)
void SetFeatureSet(PermissionFeatureSet value)
AssociatedPermission & WithResourceShareArn(ResourceShareArnT &&value)
bool PermissionVersionHasBeenSet() const
bool ArnHasBeenSet() const
AWS_RAM_API AssociatedPermission & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(StatusT &&value)
bool GetDefaultVersion() const
void SetResourceShareArn(ResourceShareArnT &&value)
const Aws::String & GetArn() const
bool ResourceShareArnHasBeenSet() const
AWS_RAM_API AssociatedPermission(Aws::Utils::Json::JsonView jsonValue)
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDefaultVersion(bool value)
const Aws::String & GetResourceType() const
bool ResourceTypeHasBeenSet() const
const Aws::String & GetPermissionVersion() const
bool StatusHasBeenSet() const
void SetPermissionVersion(PermissionVersionT &&value)
AssociatedPermission & WithStatus(StatusT &&value)
AssociatedPermission & WithPermissionVersion(PermissionVersionT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
void SetResourceType(ResourceTypeT &&value)
bool LastUpdatedTimeHasBeenSet() const
bool DefaultVersionHasBeenSet() const
bool FeatureSetHasBeenSet() const
const Aws::String & GetStatus() const
AssociatedPermission & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue