AWS SDK for C++  1.9.104
AWS SDK for C++
ListReviewableHITsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace MTurk
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ListReviewableHITs"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetHITTypeId() const{ return m_hITTypeId; }
43 
48  inline bool HITTypeIdHasBeenSet() const { return m_hITTypeIdHasBeenSet; }
49 
54  inline void SetHITTypeId(const Aws::String& value) { m_hITTypeIdHasBeenSet = true; m_hITTypeId = value; }
55 
60  inline void SetHITTypeId(Aws::String&& value) { m_hITTypeIdHasBeenSet = true; m_hITTypeId = std::move(value); }
61 
66  inline void SetHITTypeId(const char* value) { m_hITTypeIdHasBeenSet = true; m_hITTypeId.assign(value); }
67 
72  inline ListReviewableHITsRequest& WithHITTypeId(const Aws::String& value) { SetHITTypeId(value); return *this;}
73 
78  inline ListReviewableHITsRequest& WithHITTypeId(Aws::String&& value) { SetHITTypeId(std::move(value)); return *this;}
79 
84  inline ListReviewableHITsRequest& WithHITTypeId(const char* value) { SetHITTypeId(value); return *this;}
85 
86 
91  inline const ReviewableHITStatus& GetStatus() const{ return m_status; }
92 
97  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
98 
103  inline void SetStatus(const ReviewableHITStatus& value) { m_statusHasBeenSet = true; m_status = value; }
104 
109  inline void SetStatus(ReviewableHITStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
110 
115  inline ListReviewableHITsRequest& WithStatus(const ReviewableHITStatus& value) { SetStatus(value); return *this;}
116 
121  inline ListReviewableHITsRequest& WithStatus(ReviewableHITStatus&& value) { SetStatus(std::move(value)); return *this;}
122 
123 
127  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
128 
132  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
133 
137  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
138 
142  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
143 
147  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
148 
152  inline ListReviewableHITsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
153 
157  inline ListReviewableHITsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
158 
162  inline ListReviewableHITsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
163 
164 
168  inline int GetMaxResults() const{ return m_maxResults; }
169 
173  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
174 
178  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
179 
183  inline ListReviewableHITsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
184 
185  private:
186 
187  Aws::String m_hITTypeId;
188  bool m_hITTypeIdHasBeenSet;
189 
190  ReviewableHITStatus m_status;
191  bool m_statusHasBeenSet;
192 
193  Aws::String m_nextToken;
194  bool m_nextTokenHasBeenSet;
195 
196  int m_maxResults;
197  bool m_maxResultsHasBeenSet;
198  };
199 
200 } // namespace Model
201 } // namespace MTurk
202 } // namespace Aws
Aws::MTurk::Model::ListReviewableHITsRequest::WithHITTypeId
ListReviewableHITsRequest & WithHITTypeId(const Aws::String &value)
Definition: ListReviewableHITsRequest.h:72
Aws::MTurk::Model::ListReviewableHITsRequest::ListReviewableHITsRequest
ListReviewableHITsRequest()
Aws::MTurk::Model::ListReviewableHITsRequest::WithNextToken
ListReviewableHITsRequest & WithNextToken(const Aws::String &value)
Definition: ListReviewableHITsRequest.h:152
Aws::MTurk::Model::ListReviewableHITsRequest::WithHITTypeId
ListReviewableHITsRequest & WithHITTypeId(const char *value)
Definition: ListReviewableHITsRequest.h:84
Aws::MTurk::Model::ListReviewableHITsRequest::WithStatus
ListReviewableHITsRequest & WithStatus(ReviewableHITStatus &&value)
Definition: ListReviewableHITsRequest.h:121
Aws::MTurk::Model::ListReviewableHITsRequest::SetStatus
void SetStatus(const ReviewableHITStatus &value)
Definition: ListReviewableHITsRequest.h:103
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MTurk::Model::ListReviewableHITsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListReviewableHITsRequest.h:147
Aws::MTurk::Model::ListReviewableHITsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListReviewableHITsRequest.h:31
Aws::MTurk::Model::ListReviewableHITsRequest::WithHITTypeId
ListReviewableHITsRequest & WithHITTypeId(Aws::String &&value)
Definition: ListReviewableHITsRequest.h:78
Aws::MTurk::Model::ListReviewableHITsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListReviewableHITsRequest.h:127
Aws::MTurk::Model::ListReviewableHITsRequest
Definition: ListReviewableHITsRequest.h:23
Aws::MTurk::Model::ListReviewableHITsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListReviewableHITsRequest.h:173
Aws::MTurk::Model::ReviewableHITStatus
ReviewableHITStatus
Definition: ReviewableHITStatus.h:17
Aws::MTurk::Model::ListReviewableHITsRequest::SetHITTypeId
void SetHITTypeId(Aws::String &&value)
Definition: ListReviewableHITsRequest.h:60
Aws::MTurk::MTurkRequest
Definition: MTurkRequest.h:17
MTurkRequest.h
Aws::MTurk::Model::ListReviewableHITsRequest::SetHITTypeId
void SetHITTypeId(const char *value)
Definition: ListReviewableHITsRequest.h:66
Aws::MTurk::Model::ListReviewableHITsRequest::WithStatus
ListReviewableHITsRequest & WithStatus(const ReviewableHITStatus &value)
Definition: ListReviewableHITsRequest.h:115
Aws::MTurk::Model::ListReviewableHITsRequest::GetHITTypeId
const Aws::String & GetHITTypeId() const
Definition: ListReviewableHITsRequest.h:42
Aws::MTurk::Model::ListReviewableHITsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListReviewableHITsRequest.h:178
ReviewableHITStatus.h
Aws::MTurk::Model::ListReviewableHITsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListReviewableHITsRequest.h:137
Aws::MTurk::Model::ListReviewableHITsRequest::WithNextToken
ListReviewableHITsRequest & WithNextToken(Aws::String &&value)
Definition: ListReviewableHITsRequest.h:157
Aws::MTurk::Model::ListReviewableHITsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListReviewableHITsRequest.h:132
AWSString.h
Aws::MTurk::Model::ListReviewableHITsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListReviewableHITsRequest.h:142
Aws::MTurk::Model::ListReviewableHITsRequest::GetStatus
const ReviewableHITStatus & GetStatus() const
Definition: ListReviewableHITsRequest.h:91
Aws::MTurk::Model::ListReviewableHITsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListReviewableHITsRequest.h:168
Aws::MTurk::Model::ListReviewableHITsRequest::SetHITTypeId
void SetHITTypeId(const Aws::String &value)
Definition: ListReviewableHITsRequest.h:54
Aws::MTurk::Model::ListReviewableHITsRequest::WithNextToken
ListReviewableHITsRequest & WithNextToken(const char *value)
Definition: ListReviewableHITsRequest.h:162
Aws::MTurk::Model::ListReviewableHITsRequest::SerializePayload
Aws::String SerializePayload() const override
MTurk_EXPORTS.h
Aws::MTurk::Model::ListReviewableHITsRequest::WithMaxResults
ListReviewableHITsRequest & WithMaxResults(int value)
Definition: ListReviewableHITsRequest.h:183
Aws
Definition: AccessManagementClient.h:15
Aws::MTurk::Model::ListReviewableHITsRequest::SetStatus
void SetStatus(ReviewableHITStatus &&value)
Definition: ListReviewableHITsRequest.h:109
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::ListReviewableHITsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::MTurk::Model::ListReviewableHITsRequest::HITTypeIdHasBeenSet
bool HITTypeIdHasBeenSet() const
Definition: ListReviewableHITsRequest.h:48
Aws::MTurk::Model::ListReviewableHITsRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ListReviewableHITsRequest.h:97