7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workmail/model/MemberType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/workmail/model/PermissionType.h>
53 inline void SetGranteeId(
const char* value) { m_granteeIdHasBeenSet =
true; m_granteeId.assign(value); }
92 bool m_granteeIdHasBeenSet =
false;
95 bool m_granteeTypeHasBeenSet =
false;
98 bool m_permissionValuesHasBeenSet =
false;
const Aws::Vector< PermissionType > & GetPermissionValues() const
void SetGranteeId(const char *value)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetGranteeId() const
Permission & WithGranteeType(MemberType &&value)
AWS_WORKMAIL_API Permission(Aws::Utils::Json::JsonView jsonValue)
void SetPermissionValues(Aws::Vector< PermissionType > &&value)
AWS_WORKMAIL_API Permission()
Permission & WithGranteeId(const char *value)
bool GranteeTypeHasBeenSet() const
Permission & WithPermissionValues(const Aws::Vector< PermissionType > &value)
void SetPermissionValues(const Aws::Vector< PermissionType > &value)
bool GranteeIdHasBeenSet() const
void SetGranteeType(MemberType &&value)
Permission & WithGranteeId(const Aws::String &value)
Permission & AddPermissionValues(PermissionType &&value)
Permission & WithGranteeId(Aws::String &&value)
void SetGranteeId(const Aws::String &value)
const MemberType & GetGranteeType() const
Permission & AddPermissionValues(const PermissionType &value)
void SetGranteeId(Aws::String &&value)
AWS_WORKMAIL_API Permission & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PermissionValuesHasBeenSet() const
Permission & WithGranteeType(const MemberType &value)
void SetGranteeType(const MemberType &value)
Permission & WithPermissionValues(Aws::Vector< PermissionType > &&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