/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace WorkMail { namespace Model { /** */ class UpdateMailboxQuotaRequest : public WorkMailRequest { public: AWS_WORKMAIL_API UpdateMailboxQuotaRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateMailboxQuota"; } AWS_WORKMAIL_API Aws::String SerializePayload() const override; AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The identifier for the organization that contains the user for whom to update * the mailbox quota.

*/ inline const Aws::String& GetOrganizationId() const{ return m_organizationId; } /** *

The identifier for the organization that contains the user for whom to update * the mailbox quota.

*/ inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; } /** *

The identifier for the organization that contains the user for whom to update * the mailbox quota.

*/ inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; } /** *

The identifier for the organization that contains the user for whom to update * the mailbox quota.

*/ inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); } /** *

The identifier for the organization that contains the user for whom to update * the mailbox quota.

*/ inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); } /** *

The identifier for the organization that contains the user for whom to update * the mailbox quota.

*/ inline UpdateMailboxQuotaRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;} /** *

The identifier for the organization that contains the user for whom to update * the mailbox quota.

*/ inline UpdateMailboxQuotaRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;} /** *

The identifier for the organization that contains the user for whom to update * the mailbox quota.

*/ inline UpdateMailboxQuotaRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;} /** *

The identifer for the user for whom to update the mailbox quota.

*/ inline const Aws::String& GetUserId() const{ return m_userId; } /** *

The identifer for the user for whom to update the mailbox quota.

*/ inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } /** *

The identifer for the user for whom to update the mailbox quota.

*/ inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } /** *

The identifer for the user for whom to update the mailbox quota.

*/ inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } /** *

The identifer for the user for whom to update the mailbox quota.

*/ inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } /** *

The identifer for the user for whom to update the mailbox quota.

*/ inline UpdateMailboxQuotaRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** *

The identifer for the user for whom to update the mailbox quota.

*/ inline UpdateMailboxQuotaRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} /** *

The identifer for the user for whom to update the mailbox quota.

*/ inline UpdateMailboxQuotaRequest& WithUserId(const char* value) { SetUserId(value); return *this;} /** *

The updated mailbox quota, in MB, for the specified user.

*/ inline int GetMailboxQuota() const{ return m_mailboxQuota; } /** *

The updated mailbox quota, in MB, for the specified user.

*/ inline bool MailboxQuotaHasBeenSet() const { return m_mailboxQuotaHasBeenSet; } /** *

The updated mailbox quota, in MB, for the specified user.

*/ inline void SetMailboxQuota(int value) { m_mailboxQuotaHasBeenSet = true; m_mailboxQuota = value; } /** *

The updated mailbox quota, in MB, for the specified user.

*/ inline UpdateMailboxQuotaRequest& WithMailboxQuota(int value) { SetMailboxQuota(value); return *this;} private: Aws::String m_organizationId; bool m_organizationIdHasBeenSet = false; Aws::String m_userId; bool m_userIdHasBeenSet = false; int m_mailboxQuota; bool m_mailboxQuotaHasBeenSet = false; }; } // namespace Model } // namespace WorkMail } // namespace Aws