AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMailboxDetailsResult.h
1
6#pragma once
7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace WorkMail
24{
25namespace Model
26{
28 {
29 public:
30 AWS_WORKMAIL_API GetMailboxDetailsResult();
33
34
36
39 inline int GetMailboxQuota() const{ return m_mailboxQuota; }
40 inline void SetMailboxQuota(int value) { m_mailboxQuota = value; }
41 inline GetMailboxDetailsResult& WithMailboxQuota(int value) { SetMailboxQuota(value); return *this;}
43
45
48 inline double GetMailboxSize() const{ return m_mailboxSize; }
49 inline void SetMailboxSize(double value) { m_mailboxSize = value; }
50 inline GetMailboxDetailsResult& WithMailboxSize(double value) { SetMailboxSize(value); return *this;}
52
54
55 inline const Aws::String& GetRequestId() const{ return m_requestId; }
56 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
57 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
58 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
59 inline GetMailboxDetailsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
60 inline GetMailboxDetailsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
61 inline GetMailboxDetailsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
63 private:
64
65 int m_mailboxQuota;
66
67 double m_mailboxSize;
68
69 Aws::String m_requestId;
70 };
71
72} // namespace Model
73} // namespace WorkMail
74} // namespace Aws
GetMailboxDetailsResult & WithMailboxSize(double value)
GetMailboxDetailsResult & WithRequestId(const Aws::String &value)
GetMailboxDetailsResult & WithRequestId(const char *value)
GetMailboxDetailsResult & WithMailboxQuota(int value)
AWS_WORKMAIL_API GetMailboxDetailsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WORKMAIL_API GetMailboxDetailsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMailboxDetailsResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue