AWS SDK for C++  1.9.159
AWS SDK for C++
ListMobileDeviceAccessOverridesRequest.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 "ListMobileDeviceAccessOverrides"; }
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 ListMobileDeviceAccessOverridesRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
72 
77  inline ListMobileDeviceAccessOverridesRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
78 
83  inline ListMobileDeviceAccessOverridesRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
84 
85 
94  inline const Aws::String& GetUserId() const{ return m_userId; }
95 
104  inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
105 
114  inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
115 
124  inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
125 
134  inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
135 
144  inline ListMobileDeviceAccessOverridesRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
145 
154  inline ListMobileDeviceAccessOverridesRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
155 
164  inline ListMobileDeviceAccessOverridesRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
165 
166 
170  inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
171 
175  inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
176 
180  inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
181 
185  inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
186 
190  inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
191 
195  inline ListMobileDeviceAccessOverridesRequest& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
196 
200  inline ListMobileDeviceAccessOverridesRequest& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
201 
205  inline ListMobileDeviceAccessOverridesRequest& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
206 
207 
212  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
213 
218  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
219 
224  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
225 
230  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
231 
236  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
237 
242  inline ListMobileDeviceAccessOverridesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
243 
248  inline ListMobileDeviceAccessOverridesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
249 
254  inline ListMobileDeviceAccessOverridesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
255 
256 
260  inline int GetMaxResults() const{ return m_maxResults; }
261 
265  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
266 
270  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
271 
275  inline ListMobileDeviceAccessOverridesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
276 
277  private:
278 
279  Aws::String m_organizationId;
280  bool m_organizationIdHasBeenSet;
281 
282  Aws::String m_userId;
283  bool m_userIdHasBeenSet;
284 
285  Aws::String m_deviceId;
286  bool m_deviceIdHasBeenSet;
287 
288  Aws::String m_nextToken;
289  bool m_nextTokenHasBeenSet;
290 
291  int m_maxResults;
292  bool m_maxResultsHasBeenSet;
293  };
294 
295 } // namespace Model
296 } // namespace WorkMail
297 } // namespace Aws
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::WithUserId
ListMobileDeviceAccessOverridesRequest & WithUserId(Aws::String &&value)
Definition: ListMobileDeviceAccessOverridesRequest.h:154
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::GetDeviceId
const Aws::String & GetDeviceId() const
Definition: ListMobileDeviceAccessOverridesRequest.h:170
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListMobileDeviceAccessOverridesRequest.h:30
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListMobileDeviceAccessOverridesRequest.h:224
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::WithOrganizationId
ListMobileDeviceAccessOverridesRequest & WithOrganizationId(Aws::String &&value)
Definition: ListMobileDeviceAccessOverridesRequest.h:77
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::SetOrganizationId
void SetOrganizationId(const char *value)
Definition: ListMobileDeviceAccessOverridesRequest.h:65
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::SetDeviceId
void SetDeviceId(Aws::String &&value)
Definition: ListMobileDeviceAccessOverridesRequest.h:185
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListMobileDeviceAccessOverridesRequest.h:265
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListMobileDeviceAccessOverridesRequest.h:218
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::DeviceIdHasBeenSet
bool DeviceIdHasBeenSet() const
Definition: ListMobileDeviceAccessOverridesRequest.h:175
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListMobileDeviceAccessOverridesRequest.h:236
Aws::WorkMail::WorkMailRequest
Definition: WorkMailRequest.h:17
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::WithDeviceId
ListMobileDeviceAccessOverridesRequest & WithDeviceId(const char *value)
Definition: ListMobileDeviceAccessOverridesRequest.h:205
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::WithMaxResults
ListMobileDeviceAccessOverridesRequest & WithMaxResults(int value)
Definition: ListMobileDeviceAccessOverridesRequest.h:275
WorkMail_EXPORTS.h
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::WithNextToken
ListMobileDeviceAccessOverridesRequest & WithNextToken(Aws::String &&value)
Definition: ListMobileDeviceAccessOverridesRequest.h:248
WorkMailRequest.h
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::SetOrganizationId
void SetOrganizationId(const Aws::String &value)
Definition: ListMobileDeviceAccessOverridesRequest.h:53
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::SetUserId
void SetUserId(const char *value)
Definition: ListMobileDeviceAccessOverridesRequest.h:134
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::SetDeviceId
void SetDeviceId(const Aws::String &value)
Definition: ListMobileDeviceAccessOverridesRequest.h:180
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::OrganizationIdHasBeenSet
bool OrganizationIdHasBeenSet() const
Definition: ListMobileDeviceAccessOverridesRequest.h:47
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListMobileDeviceAccessOverridesRequest.h:212
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::SetUserId
void SetUserId(const Aws::String &value)
Definition: ListMobileDeviceAccessOverridesRequest.h:114
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::WithDeviceId
ListMobileDeviceAccessOverridesRequest & WithDeviceId(Aws::String &&value)
Definition: ListMobileDeviceAccessOverridesRequest.h:200
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::WithUserId
ListMobileDeviceAccessOverridesRequest & WithUserId(const char *value)
Definition: ListMobileDeviceAccessOverridesRequest.h:164
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::WithOrganizationId
ListMobileDeviceAccessOverridesRequest & WithOrganizationId(const char *value)
Definition: ListMobileDeviceAccessOverridesRequest.h:83
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::SetDeviceId
void SetDeviceId(const char *value)
Definition: ListMobileDeviceAccessOverridesRequest.h:190
AWSString.h
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::WithUserId
ListMobileDeviceAccessOverridesRequest & WithUserId(const Aws::String &value)
Definition: ListMobileDeviceAccessOverridesRequest.h:144
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::UserIdHasBeenSet
bool UserIdHasBeenSet() const
Definition: ListMobileDeviceAccessOverridesRequest.h:104
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListMobileDeviceAccessOverridesRequest.h:260
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest
Definition: ListMobileDeviceAccessOverridesRequest.h:22
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::WithNextToken
ListMobileDeviceAccessOverridesRequest & WithNextToken(const char *value)
Definition: ListMobileDeviceAccessOverridesRequest.h:254
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::SetUserId
void SetUserId(Aws::String &&value)
Definition: ListMobileDeviceAccessOverridesRequest.h:124
Aws
Definition: AccessManagementClient.h:15
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::SetOrganizationId
void SetOrganizationId(Aws::String &&value)
Definition: ListMobileDeviceAccessOverridesRequest.h:59
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::GetOrganizationId
const Aws::String & GetOrganizationId() const
Definition: ListMobileDeviceAccessOverridesRequest.h:41
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListMobileDeviceAccessOverridesRequest.h:230
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::WithNextToken
ListMobileDeviceAccessOverridesRequest & WithNextToken(const Aws::String &value)
Definition: ListMobileDeviceAccessOverridesRequest.h:242
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::WithOrganizationId
ListMobileDeviceAccessOverridesRequest & WithOrganizationId(const Aws::String &value)
Definition: ListMobileDeviceAccessOverridesRequest.h:71
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::GetUserId
const Aws::String & GetUserId() const
Definition: ListMobileDeviceAccessOverridesRequest.h:94
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::ListMobileDeviceAccessOverridesRequest
ListMobileDeviceAccessOverridesRequest()
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListMobileDeviceAccessOverridesRequest.h:270
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesRequest::WithDeviceId
ListMobileDeviceAccessOverridesRequest & WithDeviceId(const Aws::String &value)
Definition: ListMobileDeviceAccessOverridesRequest.h:195