AWS SDK for C++  1.9.108
AWS SDK for C++
ListAliasesRequest.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 "ListAliases"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
41 
45  inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
46 
50  inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
51 
55  inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
56 
60  inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
61 
65  inline ListAliasesRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
66 
70  inline ListAliasesRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
71 
75  inline ListAliasesRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
76 
77 
81  inline const Aws::String& GetEntityId() const{ return m_entityId; }
82 
86  inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
87 
91  inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
92 
96  inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
97 
101  inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
102 
106  inline ListAliasesRequest& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
107 
111  inline ListAliasesRequest& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
112 
116  inline ListAliasesRequest& WithEntityId(const char* value) { SetEntityId(value); return *this;}
117 
118 
123  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
124 
129  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
130 
135  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
136 
141  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
142 
147  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
148 
153  inline ListAliasesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
154 
159  inline ListAliasesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
160 
165  inline ListAliasesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
166 
167 
171  inline int GetMaxResults() const{ return m_maxResults; }
172 
176  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
177 
181  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
182 
186  inline ListAliasesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
187 
188  private:
189 
190  Aws::String m_organizationId;
191  bool m_organizationIdHasBeenSet;
192 
193  Aws::String m_entityId;
194  bool m_entityIdHasBeenSet;
195 
196  Aws::String m_nextToken;
197  bool m_nextTokenHasBeenSet;
198 
199  int m_maxResults;
200  bool m_maxResultsHasBeenSet;
201  };
202 
203 } // namespace Model
204 } // namespace WorkMail
205 } // namespace Aws
Aws::WorkMail::Model::ListAliasesRequest::WithEntityId
ListAliasesRequest & WithEntityId(Aws::String &&value)
Definition: ListAliasesRequest.h:111
Aws::WorkMail::Model::ListAliasesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAliasesRequest.h:123
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WorkMail::Model::ListAliasesRequest::WithNextToken
ListAliasesRequest & WithNextToken(const Aws::String &value)
Definition: ListAliasesRequest.h:153
Aws::WorkMail::Model::ListAliasesRequest::SetOrganizationId
void SetOrganizationId(const Aws::String &value)
Definition: ListAliasesRequest.h:50
Aws::WorkMail::Model::ListAliasesRequest::GetEntityId
const Aws::String & GetEntityId() const
Definition: ListAliasesRequest.h:81
Aws::WorkMail::WorkMailRequest
Definition: WorkMailRequest.h:17
Aws::WorkMail::Model::ListAliasesRequest::GetOrganizationId
const Aws::String & GetOrganizationId() const
Definition: ListAliasesRequest.h:40
Aws::WorkMail::Model::ListAliasesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAliasesRequest.h:30
WorkMail_EXPORTS.h
Aws::WorkMail::Model::ListAliasesRequest::WithEntityId
ListAliasesRequest & WithEntityId(const char *value)
Definition: ListAliasesRequest.h:116
WorkMailRequest.h
Aws::WorkMail::Model::ListAliasesRequest::WithNextToken
ListAliasesRequest & WithNextToken(const char *value)
Definition: ListAliasesRequest.h:165
Aws::WorkMail::Model::ListAliasesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WorkMail::Model::ListAliasesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListAliasesRequest.h:176
Aws::WorkMail::Model::ListAliasesRequest::ListAliasesRequest
ListAliasesRequest()
Aws::WorkMail::Model::ListAliasesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListAliasesRequest.h:147
Aws::WorkMail::Model::ListAliasesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WorkMail::Model::ListAliasesRequest::SetOrganizationId
void SetOrganizationId(Aws::String &&value)
Definition: ListAliasesRequest.h:55
AWSString.h
Aws::WorkMail::Model::ListAliasesRequest
Definition: ListAliasesRequest.h:22
Aws::WorkMail::Model::ListAliasesRequest::WithMaxResults
ListAliasesRequest & WithMaxResults(int value)
Definition: ListAliasesRequest.h:186
Aws::WorkMail::Model::ListAliasesRequest::WithOrganizationId
ListAliasesRequest & WithOrganizationId(Aws::String &&value)
Definition: ListAliasesRequest.h:70
Aws::WorkMail::Model::ListAliasesRequest::SetEntityId
void SetEntityId(const char *value)
Definition: ListAliasesRequest.h:101
Aws::WorkMail::Model::ListAliasesRequest::SetOrganizationId
void SetOrganizationId(const char *value)
Definition: ListAliasesRequest.h:60
Aws::WorkMail::Model::ListAliasesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListAliasesRequest.h:129
Aws::WorkMail::Model::ListAliasesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAliasesRequest.h:135
Aws::WorkMail::Model::ListAliasesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListAliasesRequest.h:181
Aws::WorkMail::Model::ListAliasesRequest::SetEntityId
void SetEntityId(Aws::String &&value)
Definition: ListAliasesRequest.h:96
Aws::WorkMail::Model::ListAliasesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListAliasesRequest.h:171
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::ListAliasesRequest::WithEntityId
ListAliasesRequest & WithEntityId(const Aws::String &value)
Definition: ListAliasesRequest.h:106
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::ListAliasesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAliasesRequest.h:141
Aws::WorkMail::Model::ListAliasesRequest::SetEntityId
void SetEntityId(const Aws::String &value)
Definition: ListAliasesRequest.h:91
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::ListAliasesRequest::EntityIdHasBeenSet
bool EntityIdHasBeenSet() const
Definition: ListAliasesRequest.h:86
Aws::WorkMail::Model::ListAliasesRequest::WithNextToken
ListAliasesRequest & WithNextToken(Aws::String &&value)
Definition: ListAliasesRequest.h:159
Aws::WorkMail::Model::ListAliasesRequest::OrganizationIdHasBeenSet
bool OrganizationIdHasBeenSet() const
Definition: ListAliasesRequest.h:45
Aws::WorkMail::Model::ListAliasesRequest::WithOrganizationId
ListAliasesRequest & WithOrganizationId(const Aws::String &value)
Definition: ListAliasesRequest.h:65
Aws::WorkMail::Model::ListAliasesRequest::WithOrganizationId
ListAliasesRequest & WithOrganizationId(const char *value)
Definition: ListAliasesRequest.h:75