7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/workdocs/model/RoleType.h>
9#include <aws/workdocs/model/RolePermissionType.h>
47 inline void SetRole(
const RoleType& value) { m_roleHasBeenSet =
true; m_role = value; }
48 inline void SetRole(
RoleType&& value) { m_roleHasBeenSet =
true; m_role = std::move(value); }
67 bool m_roleHasBeenSet =
false;
70 bool m_typeHasBeenSet =
false;
void SetType(RolePermissionType &&value)
AWS_WORKDOCS_API PermissionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
PermissionInfo & WithRole(RoleType &&value)
PermissionInfo & WithRole(const RoleType &value)
bool TypeHasBeenSet() const
const RolePermissionType & GetType() const
PermissionInfo & WithType(RolePermissionType &&value)
bool RoleHasBeenSet() const
void SetRole(RoleType &&value)
AWS_WORKDOCS_API PermissionInfo(Aws::Utils::Json::JsonView jsonValue)
void SetType(const RolePermissionType &value)
const RoleType & GetRole() const
AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRole(const RoleType &value)
PermissionInfo & WithType(const RolePermissionType &value)
AWS_WORKDOCS_API PermissionInfo()
Aws::Utils::Json::JsonValue JsonValue