AWS SDK for C++  1.9.104
AWS SDK for C++
ListBonusPaymentsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MTurk
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 "ListBonusPayments"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
43  inline const Aws::String& GetHITId() const{ return m_hITId; }
44 
51  inline bool HITIdHasBeenSet() const { return m_hITIdHasBeenSet; }
52 
59  inline void SetHITId(const Aws::String& value) { m_hITIdHasBeenSet = true; m_hITId = value; }
60 
67  inline void SetHITId(Aws::String&& value) { m_hITIdHasBeenSet = true; m_hITId = std::move(value); }
68 
75  inline void SetHITId(const char* value) { m_hITIdHasBeenSet = true; m_hITId.assign(value); }
76 
83  inline ListBonusPaymentsRequest& WithHITId(const Aws::String& value) { SetHITId(value); return *this;}
84 
91  inline ListBonusPaymentsRequest& WithHITId(Aws::String&& value) { SetHITId(std::move(value)); return *this;}
92 
99  inline ListBonusPaymentsRequest& WithHITId(const char* value) { SetHITId(value); return *this;}
100 
101 
107  inline const Aws::String& GetAssignmentId() const{ return m_assignmentId; }
108 
114  inline bool AssignmentIdHasBeenSet() const { return m_assignmentIdHasBeenSet; }
115 
121  inline void SetAssignmentId(const Aws::String& value) { m_assignmentIdHasBeenSet = true; m_assignmentId = value; }
122 
128  inline void SetAssignmentId(Aws::String&& value) { m_assignmentIdHasBeenSet = true; m_assignmentId = std::move(value); }
129 
135  inline void SetAssignmentId(const char* value) { m_assignmentIdHasBeenSet = true; m_assignmentId.assign(value); }
136 
142  inline ListBonusPaymentsRequest& WithAssignmentId(const Aws::String& value) { SetAssignmentId(value); return *this;}
143 
149  inline ListBonusPaymentsRequest& WithAssignmentId(Aws::String&& value) { SetAssignmentId(std::move(value)); return *this;}
150 
156  inline ListBonusPaymentsRequest& WithAssignmentId(const char* value) { SetAssignmentId(value); return *this;}
157 
158 
162  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
163 
167  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
168 
172  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
173 
177  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
178 
182  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
183 
187  inline ListBonusPaymentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
188 
192  inline ListBonusPaymentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
193 
197  inline ListBonusPaymentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
198 
199 
200 
201  inline int GetMaxResults() const{ return m_maxResults; }
202 
203 
204  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
205 
206 
207  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
208 
209 
210  inline ListBonusPaymentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
211 
212  private:
213 
214  Aws::String m_hITId;
215  bool m_hITIdHasBeenSet;
216 
217  Aws::String m_assignmentId;
218  bool m_assignmentIdHasBeenSet;
219 
220  Aws::String m_nextToken;
221  bool m_nextTokenHasBeenSet;
222 
223  int m_maxResults;
224  bool m_maxResultsHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace MTurk
229 } // namespace Aws
Aws::MTurk::Model::ListBonusPaymentsRequest::HITIdHasBeenSet
bool HITIdHasBeenSet() const
Definition: ListBonusPaymentsRequest.h:51
Aws::MTurk::Model::ListBonusPaymentsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListBonusPaymentsRequest.h:30
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MTurk::Model::ListBonusPaymentsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListBonusPaymentsRequest.h:207
Aws::MTurk::Model::ListBonusPaymentsRequest::AssignmentIdHasBeenSet
bool AssignmentIdHasBeenSet() const
Definition: ListBonusPaymentsRequest.h:114
Aws::MTurk::Model::ListBonusPaymentsRequest::GetHITId
const Aws::String & GetHITId() const
Definition: ListBonusPaymentsRequest.h:43
Aws::MTurk::Model::ListBonusPaymentsRequest::WithAssignmentId
ListBonusPaymentsRequest & WithAssignmentId(Aws::String &&value)
Definition: ListBonusPaymentsRequest.h:149
Aws::MTurk::Model::ListBonusPaymentsRequest::WithMaxResults
ListBonusPaymentsRequest & WithMaxResults(int value)
Definition: ListBonusPaymentsRequest.h:210
Aws::MTurk::Model::ListBonusPaymentsRequest::ListBonusPaymentsRequest
ListBonusPaymentsRequest()
Aws::MTurk::Model::ListBonusPaymentsRequest
Definition: ListBonusPaymentsRequest.h:22
Aws::MTurk::Model::ListBonusPaymentsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListBonusPaymentsRequest.h:204
Aws::MTurk::Model::ListBonusPaymentsRequest::SetHITId
void SetHITId(Aws::String &&value)
Definition: ListBonusPaymentsRequest.h:67
Aws::MTurk::Model::ListBonusPaymentsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListBonusPaymentsRequest.h:182
Aws::MTurk::MTurkRequest
Definition: MTurkRequest.h:17
Aws::MTurk::Model::ListBonusPaymentsRequest::WithNextToken
ListBonusPaymentsRequest & WithNextToken(const char *value)
Definition: ListBonusPaymentsRequest.h:197
MTurkRequest.h
Aws::MTurk::Model::ListBonusPaymentsRequest::SetAssignmentId
void SetAssignmentId(Aws::String &&value)
Definition: ListBonusPaymentsRequest.h:128
Aws::MTurk::Model::ListBonusPaymentsRequest::WithHITId
ListBonusPaymentsRequest & WithHITId(const Aws::String &value)
Definition: ListBonusPaymentsRequest.h:83
Aws::MTurk::Model::ListBonusPaymentsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MTurk::Model::ListBonusPaymentsRequest::WithAssignmentId
ListBonusPaymentsRequest & WithAssignmentId(const char *value)
Definition: ListBonusPaymentsRequest.h:156
Aws::MTurk::Model::ListBonusPaymentsRequest::GetAssignmentId
const Aws::String & GetAssignmentId() const
Definition: ListBonusPaymentsRequest.h:107
Aws::MTurk::Model::ListBonusPaymentsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListBonusPaymentsRequest.h:177
AWSString.h
Aws::MTurk::Model::ListBonusPaymentsRequest::SetHITId
void SetHITId(const char *value)
Definition: ListBonusPaymentsRequest.h:75
Aws::MTurk::Model::ListBonusPaymentsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::MTurk::Model::ListBonusPaymentsRequest::SetHITId
void SetHITId(const Aws::String &value)
Definition: ListBonusPaymentsRequest.h:59
Aws::MTurk::Model::ListBonusPaymentsRequest::WithHITId
ListBonusPaymentsRequest & WithHITId(Aws::String &&value)
Definition: ListBonusPaymentsRequest.h:91
Aws::MTurk::Model::ListBonusPaymentsRequest::WithNextToken
ListBonusPaymentsRequest & WithNextToken(const Aws::String &value)
Definition: ListBonusPaymentsRequest.h:187
MTurk_EXPORTS.h
Aws::MTurk::Model::ListBonusPaymentsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListBonusPaymentsRequest.h:167
Aws
Definition: AccessManagementClient.h:15
Aws::MTurk::Model::ListBonusPaymentsRequest::WithAssignmentId
ListBonusPaymentsRequest & WithAssignmentId(const Aws::String &value)
Definition: ListBonusPaymentsRequest.h:142
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::ListBonusPaymentsRequest::WithNextToken
ListBonusPaymentsRequest & WithNextToken(Aws::String &&value)
Definition: ListBonusPaymentsRequest.h:192
Aws::MTurk::Model::ListBonusPaymentsRequest::SetAssignmentId
void SetAssignmentId(const Aws::String &value)
Definition: ListBonusPaymentsRequest.h:121
Aws::MTurk::Model::ListBonusPaymentsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListBonusPaymentsRequest.h:172
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::ListBonusPaymentsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListBonusPaymentsRequest.h:201
Aws::MTurk::Model::ListBonusPaymentsRequest::SetAssignmentId
void SetAssignmentId(const char *value)
Definition: ListBonusPaymentsRequest.h:135
Aws::MTurk::Model::ListBonusPaymentsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListBonusPaymentsRequest.h:162
Aws::MTurk::Model::ListBonusPaymentsRequest::WithHITId
ListBonusPaymentsRequest & WithHITId(const char *value)
Definition: ListBonusPaymentsRequest.h:99