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>
51 template<
typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
53 template<
typename ArnT = Aws::String>
64 template<
typename PermissionVersionT = Aws::String>
65 void SetPermissionVersion(PermissionVersionT&& value) { m_permissionVersionHasBeenSet =
true; m_permissionVersion = std::forward<PermissionVersionT>(value); }
66 template<
typename PermissionVersionT = Aws::String>
77 inline void SetDefaultVersion(
bool value) { m_defaultVersionHasBeenSet =
true; m_defaultVersion = value; }
87 template<
typename ResourceTypeT = Aws::String>
88 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
89 template<
typename ResourceTypeT = Aws::String>
106 template<
typename StatusT = Aws::String>
107 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
108 template<
typename StatusT = Aws::String>
146 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
147 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
148 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
160 template<
typename ResourceShareArnT = Aws::String>
161 void SetResourceShareArn(ResourceShareArnT&& value) { m_resourceShareArnHasBeenSet =
true; m_resourceShareArn = std::forward<ResourceShareArnT>(value); }
162 template<
typename ResourceShareArnT = Aws::String>
168 bool m_arnHasBeenSet =
false;
171 bool m_permissionVersionHasBeenSet =
false;
173 bool m_defaultVersion{
false};
174 bool m_defaultVersionHasBeenSet =
false;
177 bool m_resourceTypeHasBeenSet =
false;
180 bool m_statusHasBeenSet =
false;
183 bool m_featureSetHasBeenSet =
false;
186 bool m_lastUpdatedTimeHasBeenSet =
false;
189 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