7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/workmail/WorkMailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/workmail/model/PermissionType.h>
48 inline void SetOrganizationId(
const char* value) { m_organizationIdHasBeenSet =
true; m_organizationId.assign(value); }
68 inline void SetEntityId(
const char* value) { m_entityIdHasBeenSet =
true; m_entityId.assign(value); }
88 inline void SetGranteeId(
const char* value) { m_granteeIdHasBeenSet =
true; m_granteeId.assign(value); }
115 bool m_organizationIdHasBeenSet =
false;
118 bool m_entityIdHasBeenSet =
false;
121 bool m_granteeIdHasBeenSet =
false;
124 bool m_permissionValuesHasBeenSet =
false;
PutMailboxPermissionsRequest & AddPermissionValues(PermissionType &&value)
PutMailboxPermissionsRequest & WithOrganizationId(const char *value)
PutMailboxPermissionsRequest & WithPermissionValues(const Aws::Vector< PermissionType > &value)
AWS_WORKMAIL_API Aws::String SerializePayload() const override
bool EntityIdHasBeenSet() const
PutMailboxPermissionsRequest & WithGranteeId(const Aws::String &value)
bool PermissionValuesHasBeenSet() const
AWS_WORKMAIL_API PutMailboxPermissionsRequest()
bool GranteeIdHasBeenSet() const
void SetGranteeId(Aws::String &&value)
PutMailboxPermissionsRequest & WithPermissionValues(Aws::Vector< PermissionType > &&value)
PutMailboxPermissionsRequest & WithGranteeId(const char *value)
void SetEntityId(Aws::String &&value)
bool OrganizationIdHasBeenSet() const
void SetOrganizationId(const char *value)
void SetOrganizationId(Aws::String &&value)
const Aws::String & GetEntityId() const
const Aws::String & GetGranteeId() const
PutMailboxPermissionsRequest & WithEntityId(const char *value)
PutMailboxPermissionsRequest & WithEntityId(const Aws::String &value)
PutMailboxPermissionsRequest & WithGranteeId(Aws::String &&value)
void SetEntityId(const char *value)
void SetOrganizationId(const Aws::String &value)
const Aws::Vector< PermissionType > & GetPermissionValues() const
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetGranteeId(const Aws::String &value)
void SetPermissionValues(const Aws::Vector< PermissionType > &value)
void SetPermissionValues(Aws::Vector< PermissionType > &&value)
PutMailboxPermissionsRequest & WithEntityId(Aws::String &&value)
const Aws::String & GetOrganizationId() const
PutMailboxPermissionsRequest & AddPermissionValues(const PermissionType &value)
void SetEntityId(const Aws::String &value)
void SetGranteeId(const char *value)
PutMailboxPermissionsRequest & WithOrganizationId(Aws::String &&value)
PutMailboxPermissionsRequest & WithOrganizationId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector