AWS SDK for C++  1.9.104
AWS SDK for C++
ListMailboxPermissionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WorkMail
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "ListMailboxPermissions"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
42 
47  inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
48 
53  inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
54 
59  inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
60 
65  inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
66 
71  inline ListMailboxPermissionsRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
72 
77  inline ListMailboxPermissionsRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
78 
83  inline ListMailboxPermissionsRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
84 
85 
90  inline const Aws::String& GetEntityId() const{ return m_entityId; }
91 
96  inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
97 
102  inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
103 
108  inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
109 
114  inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
115 
120  inline ListMailboxPermissionsRequest& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
121 
126  inline ListMailboxPermissionsRequest& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
127 
132  inline ListMailboxPermissionsRequest& WithEntityId(const char* value) { SetEntityId(value); return *this;}
133 
134 
139  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
140 
145  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
146 
151  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
152 
157  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
158 
163  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
164 
169  inline ListMailboxPermissionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
170 
175  inline ListMailboxPermissionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
176 
181  inline ListMailboxPermissionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
182 
183 
187  inline int GetMaxResults() const{ return m_maxResults; }
188 
192  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
193 
197  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
198 
202  inline ListMailboxPermissionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
203 
204  private:
205 
206  Aws::String m_organizationId;
207  bool m_organizationIdHasBeenSet;
208 
209  Aws::String m_entityId;
210  bool m_entityIdHasBeenSet;
211 
212  Aws::String m_nextToken;
213  bool m_nextTokenHasBeenSet;
214 
215  int m_maxResults;
216  bool m_maxResultsHasBeenSet;
217  };
218 
219 } // namespace Model
220 } // namespace WorkMail
221 } // namespace Aws
Aws::WorkMail::Model::ListMailboxPermissionsRequest::OrganizationIdHasBeenSet
bool OrganizationIdHasBeenSet() const
Definition: ListMailboxPermissionsRequest.h:47
Aws::WorkMail::Model::ListMailboxPermissionsRequest::SetEntityId
void SetEntityId(const Aws::String &value)
Definition: ListMailboxPermissionsRequest.h:102
Aws::WorkMail::Model::ListMailboxPermissionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WorkMail::Model::ListMailboxPermissionsRequest::WithOrganizationId
ListMailboxPermissionsRequest & WithOrganizationId(const char *value)
Definition: ListMailboxPermissionsRequest.h:83
Aws::WorkMail::WorkMailRequest
Definition: WorkMailRequest.h:17
Aws::WorkMail::Model::ListMailboxPermissionsRequest::WithEntityId
ListMailboxPermissionsRequest & WithEntityId(const char *value)
Definition: ListMailboxPermissionsRequest.h:132
Aws::WorkMail::Model::ListMailboxPermissionsRequest::SetOrganizationId
void SetOrganizationId(const char *value)
Definition: ListMailboxPermissionsRequest.h:65
Aws::WorkMail::Model::ListMailboxPermissionsRequest::GetOrganizationId
const Aws::String & GetOrganizationId() const
Definition: ListMailboxPermissionsRequest.h:41
WorkMail_EXPORTS.h
WorkMailRequest.h
Aws::WorkMail::Model::ListMailboxPermissionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListMailboxPermissionsRequest.h:192
Aws::WorkMail::Model::ListMailboxPermissionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListMailboxPermissionsRequest.h:151
Aws::WorkMail::Model::ListMailboxPermissionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListMailboxPermissionsRequest.h:197
Aws::WorkMail::Model::ListMailboxPermissionsRequest::WithOrganizationId
ListMailboxPermissionsRequest & WithOrganizationId(const Aws::String &value)
Definition: ListMailboxPermissionsRequest.h:71
Aws::WorkMail::Model::ListMailboxPermissionsRequest::WithEntityId
ListMailboxPermissionsRequest & WithEntityId(Aws::String &&value)
Definition: ListMailboxPermissionsRequest.h:126
Aws::WorkMail::Model::ListMailboxPermissionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListMailboxPermissionsRequest.h:139
Aws::WorkMail::Model::ListMailboxPermissionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WorkMail::Model::ListMailboxPermissionsRequest::SetOrganizationId
void SetOrganizationId(Aws::String &&value)
Definition: ListMailboxPermissionsRequest.h:59
Aws::WorkMail::Model::ListMailboxPermissionsRequest::WithEntityId
ListMailboxPermissionsRequest & WithEntityId(const Aws::String &value)
Definition: ListMailboxPermissionsRequest.h:120
Aws::WorkMail::Model::ListMailboxPermissionsRequest::SetOrganizationId
void SetOrganizationId(const Aws::String &value)
Definition: ListMailboxPermissionsRequest.h:53
Aws::WorkMail::Model::ListMailboxPermissionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListMailboxPermissionsRequest.h:187
AWSString.h
Aws::WorkMail::Model::ListMailboxPermissionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListMailboxPermissionsRequest.h:30
Aws::WorkMail::Model::ListMailboxPermissionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListMailboxPermissionsRequest.h:145
Aws::WorkMail::Model::ListMailboxPermissionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListMailboxPermissionsRequest.h:157
Aws::WorkMail::Model::ListMailboxPermissionsRequest::ListMailboxPermissionsRequest
ListMailboxPermissionsRequest()
Aws::WorkMail::Model::ListMailboxPermissionsRequest::SetEntityId
void SetEntityId(Aws::String &&value)
Definition: ListMailboxPermissionsRequest.h:108
Aws::WorkMail::Model::ListMailboxPermissionsRequest::WithMaxResults
ListMailboxPermissionsRequest & WithMaxResults(int value)
Definition: ListMailboxPermissionsRequest.h:202
Aws
Definition: AccessManagementClient.h:15
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::ListMailboxPermissionsRequest::WithNextToken
ListMailboxPermissionsRequest & WithNextToken(Aws::String &&value)
Definition: ListMailboxPermissionsRequest.h:175
Aws::WorkMail::Model::ListMailboxPermissionsRequest::SetEntityId
void SetEntityId(const char *value)
Definition: ListMailboxPermissionsRequest.h:114
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::ListMailboxPermissionsRequest::EntityIdHasBeenSet
bool EntityIdHasBeenSet() const
Definition: ListMailboxPermissionsRequest.h:96
Aws::WorkMail::Model::ListMailboxPermissionsRequest::WithNextToken
ListMailboxPermissionsRequest & WithNextToken(const Aws::String &value)
Definition: ListMailboxPermissionsRequest.h:169
Aws::WorkMail::Model::ListMailboxPermissionsRequest
Definition: ListMailboxPermissionsRequest.h:22
Aws::WorkMail::Model::ListMailboxPermissionsRequest::WithOrganizationId
ListMailboxPermissionsRequest & WithOrganizationId(Aws::String &&value)
Definition: ListMailboxPermissionsRequest.h:77
Aws::WorkMail::Model::ListMailboxPermissionsRequest::GetEntityId
const Aws::String & GetEntityId() const
Definition: ListMailboxPermissionsRequest.h:90
Aws::WorkMail::Model::ListMailboxPermissionsRequest::WithNextToken
ListMailboxPermissionsRequest & WithNextToken(const char *value)
Definition: ListMailboxPermissionsRequest.h:181
Aws::WorkMail::Model::ListMailboxPermissionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListMailboxPermissionsRequest.h:163