AWS SDK for C++  1.9.104
AWS SDK for C++
ListResourceDelegatesRequest.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 "ListResourceDelegates"; }
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 ListResourceDelegatesRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
72 
77  inline ListResourceDelegatesRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
78 
83  inline ListResourceDelegatesRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
84 
85 
89  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
90 
94  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
95 
99  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
100 
104  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
105 
109  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
110 
114  inline ListResourceDelegatesRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
115 
119  inline ListResourceDelegatesRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
120 
124  inline ListResourceDelegatesRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
125 
126 
131  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
132 
137  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
138 
143  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
144 
149  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
150 
155  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
156 
161  inline ListResourceDelegatesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
162 
167  inline ListResourceDelegatesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
168 
173  inline ListResourceDelegatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
174 
175 
179  inline int GetMaxResults() const{ return m_maxResults; }
180 
184  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
185 
189  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
190 
194  inline ListResourceDelegatesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
195 
196  private:
197 
198  Aws::String m_organizationId;
199  bool m_organizationIdHasBeenSet;
200 
201  Aws::String m_resourceId;
202  bool m_resourceIdHasBeenSet;
203 
204  Aws::String m_nextToken;
205  bool m_nextTokenHasBeenSet;
206 
207  int m_maxResults;
208  bool m_maxResultsHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace WorkMail
213 } // namespace Aws
Aws::WorkMail::Model::ListResourceDelegatesRequest::WithNextToken
ListResourceDelegatesRequest & WithNextToken(const char *value)
Definition: ListResourceDelegatesRequest.h:173
Aws::WorkMail::Model::ListResourceDelegatesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WorkMail::Model::ListResourceDelegatesRequest::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: ListResourceDelegatesRequest.h:94
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WorkMail::Model::ListResourceDelegatesRequest::GetResourceId
const Aws::String & GetResourceId() const
Definition: ListResourceDelegatesRequest.h:89
Aws::WorkMail::Model::ListResourceDelegatesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListResourceDelegatesRequest.h:143
Aws::WorkMail::WorkMailRequest
Definition: WorkMailRequest.h:17
Aws::WorkMail::Model::ListResourceDelegatesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListResourceDelegatesRequest.h:131
Aws::WorkMail::Model::ListResourceDelegatesRequest::WithOrganizationId
ListResourceDelegatesRequest & WithOrganizationId(Aws::String &&value)
Definition: ListResourceDelegatesRequest.h:77
WorkMail_EXPORTS.h
Aws::WorkMail::Model::ListResourceDelegatesRequest::SetOrganizationId
void SetOrganizationId(const char *value)
Definition: ListResourceDelegatesRequest.h:65
Aws::WorkMail::Model::ListResourceDelegatesRequest::SetOrganizationId
void SetOrganizationId(const Aws::String &value)
Definition: ListResourceDelegatesRequest.h:53
WorkMailRequest.h
Aws::WorkMail::Model::ListResourceDelegatesRequest::WithResourceId
ListResourceDelegatesRequest & WithResourceId(const Aws::String &value)
Definition: ListResourceDelegatesRequest.h:114
Aws::WorkMail::Model::ListResourceDelegatesRequest::WithOrganizationId
ListResourceDelegatesRequest & WithOrganizationId(const char *value)
Definition: ListResourceDelegatesRequest.h:83
Aws::WorkMail::Model::ListResourceDelegatesRequest::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: ListResourceDelegatesRequest.h:104
Aws::WorkMail::Model::ListResourceDelegatesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListResourceDelegatesRequest.h:184
Aws::WorkMail::Model::ListResourceDelegatesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListResourceDelegatesRequest.h:30
Aws::WorkMail::Model::ListResourceDelegatesRequest::WithMaxResults
ListResourceDelegatesRequest & WithMaxResults(int value)
Definition: ListResourceDelegatesRequest.h:194
Aws::WorkMail::Model::ListResourceDelegatesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListResourceDelegatesRequest.h:149
Aws::WorkMail::Model::ListResourceDelegatesRequest::WithOrganizationId
ListResourceDelegatesRequest & WithOrganizationId(const Aws::String &value)
Definition: ListResourceDelegatesRequest.h:71
AWSString.h
Aws::WorkMail::Model::ListResourceDelegatesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WorkMail::Model::ListResourceDelegatesRequest::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: ListResourceDelegatesRequest.h:99
Aws::WorkMail::Model::ListResourceDelegatesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListResourceDelegatesRequest.h:179
Aws::WorkMail::Model::ListResourceDelegatesRequest::GetOrganizationId
const Aws::String & GetOrganizationId() const
Definition: ListResourceDelegatesRequest.h:41
Aws::WorkMail::Model::ListResourceDelegatesRequest::WithNextToken
ListResourceDelegatesRequest & WithNextToken(Aws::String &&value)
Definition: ListResourceDelegatesRequest.h:167
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::ListResourceDelegatesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListResourceDelegatesRequest.h:189
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::ListResourceDelegatesRequest::WithResourceId
ListResourceDelegatesRequest & WithResourceId(Aws::String &&value)
Definition: ListResourceDelegatesRequest.h:119
Aws::WorkMail::Model::ListResourceDelegatesRequest::SetResourceId
void SetResourceId(const char *value)
Definition: ListResourceDelegatesRequest.h:109
Aws::WorkMail::Model::ListResourceDelegatesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListResourceDelegatesRequest.h:137
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::ListResourceDelegatesRequest::ListResourceDelegatesRequest
ListResourceDelegatesRequest()
Aws::WorkMail::Model::ListResourceDelegatesRequest
Definition: ListResourceDelegatesRequest.h:22
Aws::WorkMail::Model::ListResourceDelegatesRequest::OrganizationIdHasBeenSet
bool OrganizationIdHasBeenSet() const
Definition: ListResourceDelegatesRequest.h:47
Aws::WorkMail::Model::ListResourceDelegatesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListResourceDelegatesRequest.h:155
Aws::WorkMail::Model::ListResourceDelegatesRequest::WithResourceId
ListResourceDelegatesRequest & WithResourceId(const char *value)
Definition: ListResourceDelegatesRequest.h:124
Aws::WorkMail::Model::ListResourceDelegatesRequest::SetOrganizationId
void SetOrganizationId(Aws::String &&value)
Definition: ListResourceDelegatesRequest.h:59
Aws::WorkMail::Model::ListResourceDelegatesRequest::WithNextToken
ListResourceDelegatesRequest & WithNextToken(const Aws::String &value)
Definition: ListResourceDelegatesRequest.h:161