7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/workmail/WorkMail_EXPORTS.h>
10#include <aws/workmail/model/MemberType.h>
11#include <aws/workmail/model/PermissionType.h>
45 template <
typename GranteeIdT = Aws::String>
47 m_granteeIdHasBeenSet =
true;
48 m_granteeId = std::forward<GranteeIdT>(value);
50 template <
typename GranteeIdT = Aws::String>
64 m_granteeTypeHasBeenSet =
true;
65 m_granteeType = value;
84 template <
typename PermissionValuesT = Aws::Vector<PermissionType>>
86 m_permissionValuesHasBeenSet =
true;
87 m_permissionValues = std::forward<PermissionValuesT>(value);
89 template <
typename PermissionValuesT = Aws::Vector<PermissionType>>
95 m_permissionValuesHasBeenSet =
true;
96 m_permissionValues.push_back(value);
106 bool m_granteeIdHasBeenSet =
false;
107 bool m_granteeTypeHasBeenSet =
false;
108 bool m_permissionValuesHasBeenSet =
false;
const Aws::Vector< PermissionType > & GetPermissionValues() const
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetGranteeId() const
AWS_WORKMAIL_API Permission(Aws::Utils::Json::JsonView jsonValue)
Permission & AddPermissionValues(PermissionType value)
void SetPermissionValues(PermissionValuesT &&value)
bool GranteeTypeHasBeenSet() const
bool GranteeIdHasBeenSet() const
MemberType GetGranteeType() const
void SetGranteeType(MemberType value)
Permission & WithPermissionValues(PermissionValuesT &&value)
void SetGranteeId(GranteeIdT &&value)
Permission & WithGranteeType(MemberType value)
AWS_WORKMAIL_API Permission()=default
AWS_WORKMAIL_API Permission & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PermissionValuesHasBeenSet() const
Permission & WithGranteeId(GranteeIdT &&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