AWS SDK for C++  1.9.106
AWS SDK for C++
ListReviewPolicyResultsForHITResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace MTurk
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetHITId() const{ return m_hITId; }
41 
45  inline void SetHITId(const Aws::String& value) { m_hITId = value; }
46 
50  inline void SetHITId(Aws::String&& value) { m_hITId = std::move(value); }
51 
55  inline void SetHITId(const char* value) { m_hITId.assign(value); }
56 
60  inline ListReviewPolicyResultsForHITResult& WithHITId(const Aws::String& value) { SetHITId(value); return *this;}
61 
65  inline ListReviewPolicyResultsForHITResult& WithHITId(Aws::String&& value) { SetHITId(std::move(value)); return *this;}
66 
70  inline ListReviewPolicyResultsForHITResult& WithHITId(const char* value) { SetHITId(value); return *this;}
71 
72 
77  inline const ReviewPolicy& GetAssignmentReviewPolicy() const{ return m_assignmentReviewPolicy; }
78 
83  inline void SetAssignmentReviewPolicy(const ReviewPolicy& value) { m_assignmentReviewPolicy = value; }
84 
89  inline void SetAssignmentReviewPolicy(ReviewPolicy&& value) { m_assignmentReviewPolicy = std::move(value); }
90 
95  inline ListReviewPolicyResultsForHITResult& WithAssignmentReviewPolicy(const ReviewPolicy& value) { SetAssignmentReviewPolicy(value); return *this;}
96 
101  inline ListReviewPolicyResultsForHITResult& WithAssignmentReviewPolicy(ReviewPolicy&& value) { SetAssignmentReviewPolicy(std::move(value)); return *this;}
102 
103 
108  inline const ReviewPolicy& GetHITReviewPolicy() const{ return m_hITReviewPolicy; }
109 
114  inline void SetHITReviewPolicy(const ReviewPolicy& value) { m_hITReviewPolicy = value; }
115 
120  inline void SetHITReviewPolicy(ReviewPolicy&& value) { m_hITReviewPolicy = std::move(value); }
121 
126  inline ListReviewPolicyResultsForHITResult& WithHITReviewPolicy(const ReviewPolicy& value) { SetHITReviewPolicy(value); return *this;}
127 
132  inline ListReviewPolicyResultsForHITResult& WithHITReviewPolicy(ReviewPolicy&& value) { SetHITReviewPolicy(std::move(value)); return *this;}
133 
134 
138  inline const ReviewReport& GetAssignmentReviewReport() const{ return m_assignmentReviewReport; }
139 
143  inline void SetAssignmentReviewReport(const ReviewReport& value) { m_assignmentReviewReport = value; }
144 
148  inline void SetAssignmentReviewReport(ReviewReport&& value) { m_assignmentReviewReport = std::move(value); }
149 
153  inline ListReviewPolicyResultsForHITResult& WithAssignmentReviewReport(const ReviewReport& value) { SetAssignmentReviewReport(value); return *this;}
154 
158  inline ListReviewPolicyResultsForHITResult& WithAssignmentReviewReport(ReviewReport&& value) { SetAssignmentReviewReport(std::move(value)); return *this;}
159 
160 
165  inline const ReviewReport& GetHITReviewReport() const{ return m_hITReviewReport; }
166 
171  inline void SetHITReviewReport(const ReviewReport& value) { m_hITReviewReport = value; }
172 
177  inline void SetHITReviewReport(ReviewReport&& value) { m_hITReviewReport = std::move(value); }
178 
183  inline ListReviewPolicyResultsForHITResult& WithHITReviewReport(const ReviewReport& value) { SetHITReviewReport(value); return *this;}
184 
189  inline ListReviewPolicyResultsForHITResult& WithHITReviewReport(ReviewReport&& value) { SetHITReviewReport(std::move(value)); return *this;}
190 
191 
192 
193  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
194 
195 
196  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
197 
198 
199  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
200 
201 
202  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
203 
204 
205  inline ListReviewPolicyResultsForHITResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
206 
207 
208  inline ListReviewPolicyResultsForHITResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
209 
210 
211  inline ListReviewPolicyResultsForHITResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
212 
213  private:
214 
215  Aws::String m_hITId;
216 
217  ReviewPolicy m_assignmentReviewPolicy;
218 
219  ReviewPolicy m_hITReviewPolicy;
220 
221  ReviewReport m_assignmentReviewReport;
222 
223  ReviewReport m_hITReviewReport;
224 
225  Aws::String m_nextToken;
226  };
227 
228 } // namespace Model
229 } // namespace MTurk
230 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::ListReviewPolicyResultsForHITResult
ListReviewPolicyResultsForHITResult()
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::GetAssignmentReviewReport
const ReviewReport & GetAssignmentReviewReport() const
Definition: ListReviewPolicyResultsForHITResult.h:138
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::WithAssignmentReviewReport
ListReviewPolicyResultsForHITResult & WithAssignmentReviewReport(ReviewReport &&value)
Definition: ListReviewPolicyResultsForHITResult.h:158
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::WithNextToken
ListReviewPolicyResultsForHITResult & WithNextToken(const Aws::String &value)
Definition: ListReviewPolicyResultsForHITResult.h:205
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::GetHITReviewPolicy
const ReviewPolicy & GetHITReviewPolicy() const
Definition: ListReviewPolicyResultsForHITResult.h:108
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListReviewPolicyResultsForHITResult.h:193
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::SetAssignmentReviewReport
void SetAssignmentReviewReport(const ReviewReport &value)
Definition: ListReviewPolicyResultsForHITResult.h:143
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::SetHITId
void SetHITId(const char *value)
Definition: ListReviewPolicyResultsForHITResult.h:55
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::operator=
ListReviewPolicyResultsForHITResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MTurk::Model::ReviewReport
Definition: ReviewReport.h:35
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::WithHITReviewReport
ListReviewPolicyResultsForHITResult & WithHITReviewReport(ReviewReport &&value)
Definition: ListReviewPolicyResultsForHITResult.h:189
ReviewPolicy.h
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::WithHITId
ListReviewPolicyResultsForHITResult & WithHITId(const Aws::String &value)
Definition: ListReviewPolicyResultsForHITResult.h:60
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::SetHITReviewPolicy
void SetHITReviewPolicy(const ReviewPolicy &value)
Definition: ListReviewPolicyResultsForHITResult.h:114
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::WithNextToken
ListReviewPolicyResultsForHITResult & WithNextToken(Aws::String &&value)
Definition: ListReviewPolicyResultsForHITResult.h:208
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::GetHITReviewReport
const ReviewReport & GetHITReviewReport() const
Definition: ListReviewPolicyResultsForHITResult.h:165
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::WithHITId
ListReviewPolicyResultsForHITResult & WithHITId(Aws::String &&value)
Definition: ListReviewPolicyResultsForHITResult.h:65
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::WithAssignmentReviewReport
ListReviewPolicyResultsForHITResult & WithAssignmentReviewReport(const ReviewReport &value)
Definition: ListReviewPolicyResultsForHITResult.h:153
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::SetHITReviewPolicy
void SetHITReviewPolicy(ReviewPolicy &&value)
Definition: ListReviewPolicyResultsForHITResult.h:120
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::SetHITId
void SetHITId(const Aws::String &value)
Definition: ListReviewPolicyResultsForHITResult.h:45
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::SetHITId
void SetHITId(Aws::String &&value)
Definition: ListReviewPolicyResultsForHITResult.h:50
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListReviewPolicyResultsForHITResult.h:202
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::WithHITReviewPolicy
ListReviewPolicyResultsForHITResult & WithHITReviewPolicy(ReviewPolicy &&value)
Definition: ListReviewPolicyResultsForHITResult.h:132
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::WithAssignmentReviewPolicy
ListReviewPolicyResultsForHITResult & WithAssignmentReviewPolicy(ReviewPolicy &&value)
Definition: ListReviewPolicyResultsForHITResult.h:101
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::SetAssignmentReviewReport
void SetAssignmentReviewReport(ReviewReport &&value)
Definition: ListReviewPolicyResultsForHITResult.h:148
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::SetAssignmentReviewPolicy
void SetAssignmentReviewPolicy(ReviewPolicy &&value)
Definition: ListReviewPolicyResultsForHITResult.h:89
AWSString.h
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::GetHITId
const Aws::String & GetHITId() const
Definition: ListReviewPolicyResultsForHITResult.h:40
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::WithNextToken
ListReviewPolicyResultsForHITResult & WithNextToken(const char *value)
Definition: ListReviewPolicyResultsForHITResult.h:211
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListReviewPolicyResultsForHITResult.h:196
MTurk_EXPORTS.h
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::WithHITReviewReport
ListReviewPolicyResultsForHITResult & WithHITReviewReport(const ReviewReport &value)
Definition: ListReviewPolicyResultsForHITResult.h:183
Aws
Definition: AccessManagementClient.h:15
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::WithAssignmentReviewPolicy
ListReviewPolicyResultsForHITResult & WithAssignmentReviewPolicy(const ReviewPolicy &value)
Definition: ListReviewPolicyResultsForHITResult.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::SetAssignmentReviewPolicy
void SetAssignmentReviewPolicy(const ReviewPolicy &value)
Definition: ListReviewPolicyResultsForHITResult.h:83
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::SetHITReviewReport
void SetHITReviewReport(const ReviewReport &value)
Definition: ListReviewPolicyResultsForHITResult.h:171
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::GetAssignmentReviewPolicy
const ReviewPolicy & GetAssignmentReviewPolicy() const
Definition: ListReviewPolicyResultsForHITResult.h:77
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListReviewPolicyResultsForHITResult.h:199
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult
Definition: ListReviewPolicyResultsForHITResult.h:30
Aws::MTurk::Model::ReviewPolicy
Definition: ReviewPolicy.h:35
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::WithHITId
ListReviewPolicyResultsForHITResult & WithHITId(const char *value)
Definition: ListReviewPolicyResultsForHITResult.h:70
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::WithHITReviewPolicy
ListReviewPolicyResultsForHITResult & WithHITReviewPolicy(const ReviewPolicy &value)
Definition: ListReviewPolicyResultsForHITResult.h:126
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::SetHITReviewReport
void SetHITReviewReport(ReviewReport &&value)
Definition: ListReviewPolicyResultsForHITResult.h:177
Aws::MTurk::Model::ListReviewPolicyResultsForHITResult::ListReviewPolicyResultsForHITResult
ListReviewPolicyResultsForHITResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ReviewReport.h