/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace WorkMail { namespace Model { class GetMailboxDetailsResult { public: AWS_WORKMAIL_API GetMailboxDetailsResult(); AWS_WORKMAIL_API GetMailboxDetailsResult(const Aws::AmazonWebServiceResult& result); AWS_WORKMAIL_API GetMailboxDetailsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The maximum allowed mailbox size, in MB, for the specified user.

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

The maximum allowed mailbox size, in MB, for the specified user.

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

The maximum allowed mailbox size, in MB, for the specified user.

*/ inline GetMailboxDetailsResult& WithMailboxQuota(int value) { SetMailboxQuota(value); return *this;} /** *

The current mailbox size, in MB, for the specified user.

*/ inline double GetMailboxSize() const{ return m_mailboxSize; } /** *

The current mailbox size, in MB, for the specified user.

*/ inline void SetMailboxSize(double value) { m_mailboxSize = value; } /** *

The current mailbox size, in MB, for the specified user.

*/ inline GetMailboxDetailsResult& WithMailboxSize(double value) { SetMailboxSize(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetMailboxDetailsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetMailboxDetailsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetMailboxDetailsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: int m_mailboxQuota; double m_mailboxSize; Aws::String m_requestId; }; } // namespace Model } // namespace WorkMail } // namespace Aws