AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateMailboxQuotaRequest.h
1
6#pragma once
7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/workmail/WorkMailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace WorkMail
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_WORKMAIL_API UpdateMailboxQuotaRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateMailboxQuota"; }
31
32 AWS_WORKMAIL_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
43 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
44 inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
45 inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
46 inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
47 inline UpdateMailboxQuotaRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
48 inline UpdateMailboxQuotaRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
49 inline UpdateMailboxQuotaRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
51
53
61 inline const Aws::String& GetUserId() const{ return m_userId; }
62 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
63 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
64 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
65 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
66 inline UpdateMailboxQuotaRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
67 inline UpdateMailboxQuotaRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
68 inline UpdateMailboxQuotaRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
70
72
75 inline int GetMailboxQuota() const{ return m_mailboxQuota; }
76 inline bool MailboxQuotaHasBeenSet() const { return m_mailboxQuotaHasBeenSet; }
77 inline void SetMailboxQuota(int value) { m_mailboxQuotaHasBeenSet = true; m_mailboxQuota = value; }
78 inline UpdateMailboxQuotaRequest& WithMailboxQuota(int value) { SetMailboxQuota(value); return *this;}
80 private:
81
82 Aws::String m_organizationId;
83 bool m_organizationIdHasBeenSet = false;
84
85 Aws::String m_userId;
86 bool m_userIdHasBeenSet = false;
87
88 int m_mailboxQuota;
89 bool m_mailboxQuotaHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace WorkMail
94} // namespace Aws
UpdateMailboxQuotaRequest & WithOrganizationId(Aws::String &&value)
UpdateMailboxQuotaRequest & WithUserId(const Aws::String &value)
UpdateMailboxQuotaRequest & WithUserId(const char *value)
UpdateMailboxQuotaRequest & WithOrganizationId(const Aws::String &value)
UpdateMailboxQuotaRequest & WithUserId(Aws::String &&value)
AWS_WORKMAIL_API Aws::String SerializePayload() const override
UpdateMailboxQuotaRequest & WithOrganizationId(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateMailboxQuotaRequest & WithMailboxQuota(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String