AWS SDK for C++  1.9.104
AWS SDK for C++
QualificationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace MTurk
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const Aws::String& GetQualificationRequestId() const{ return m_qualificationRequestId; }
47 
52  inline bool QualificationRequestIdHasBeenSet() const { return m_qualificationRequestIdHasBeenSet; }
53 
58  inline void SetQualificationRequestId(const Aws::String& value) { m_qualificationRequestIdHasBeenSet = true; m_qualificationRequestId = value; }
59 
64  inline void SetQualificationRequestId(Aws::String&& value) { m_qualificationRequestIdHasBeenSet = true; m_qualificationRequestId = std::move(value); }
65 
70  inline void SetQualificationRequestId(const char* value) { m_qualificationRequestIdHasBeenSet = true; m_qualificationRequestId.assign(value); }
71 
76  inline QualificationRequest& WithQualificationRequestId(const Aws::String& value) { SetQualificationRequestId(value); return *this;}
77 
82  inline QualificationRequest& WithQualificationRequestId(Aws::String&& value) { SetQualificationRequestId(std::move(value)); return *this;}
83 
88  inline QualificationRequest& WithQualificationRequestId(const char* value) { SetQualificationRequestId(value); return *this;}
89 
90 
95  inline const Aws::String& GetQualificationTypeId() const{ return m_qualificationTypeId; }
96 
101  inline bool QualificationTypeIdHasBeenSet() const { return m_qualificationTypeIdHasBeenSet; }
102 
107  inline void SetQualificationTypeId(const Aws::String& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = value; }
108 
113  inline void SetQualificationTypeId(Aws::String&& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = std::move(value); }
114 
119  inline void SetQualificationTypeId(const char* value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId.assign(value); }
120 
125  inline QualificationRequest& WithQualificationTypeId(const Aws::String& value) { SetQualificationTypeId(value); return *this;}
126 
131  inline QualificationRequest& WithQualificationTypeId(Aws::String&& value) { SetQualificationTypeId(std::move(value)); return *this;}
132 
137  inline QualificationRequest& WithQualificationTypeId(const char* value) { SetQualificationTypeId(value); return *this;}
138 
139 
143  inline const Aws::String& GetWorkerId() const{ return m_workerId; }
144 
148  inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; }
149 
153  inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; }
154 
158  inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); }
159 
163  inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); }
164 
168  inline QualificationRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;}
169 
173  inline QualificationRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;}
174 
178  inline QualificationRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;}
179 
180 
187  inline const Aws::String& GetTest() const{ return m_test; }
188 
195  inline bool TestHasBeenSet() const { return m_testHasBeenSet; }
196 
203  inline void SetTest(const Aws::String& value) { m_testHasBeenSet = true; m_test = value; }
204 
211  inline void SetTest(Aws::String&& value) { m_testHasBeenSet = true; m_test = std::move(value); }
212 
219  inline void SetTest(const char* value) { m_testHasBeenSet = true; m_test.assign(value); }
220 
227  inline QualificationRequest& WithTest(const Aws::String& value) { SetTest(value); return *this;}
228 
235  inline QualificationRequest& WithTest(Aws::String&& value) { SetTest(std::move(value)); return *this;}
236 
243  inline QualificationRequest& WithTest(const char* value) { SetTest(value); return *this;}
244 
245 
252  inline const Aws::String& GetAnswer() const{ return m_answer; }
253 
260  inline bool AnswerHasBeenSet() const { return m_answerHasBeenSet; }
261 
268  inline void SetAnswer(const Aws::String& value) { m_answerHasBeenSet = true; m_answer = value; }
269 
276  inline void SetAnswer(Aws::String&& value) { m_answerHasBeenSet = true; m_answer = std::move(value); }
277 
284  inline void SetAnswer(const char* value) { m_answerHasBeenSet = true; m_answer.assign(value); }
285 
292  inline QualificationRequest& WithAnswer(const Aws::String& value) { SetAnswer(value); return *this;}
293 
300  inline QualificationRequest& WithAnswer(Aws::String&& value) { SetAnswer(std::move(value)); return *this;}
301 
308  inline QualificationRequest& WithAnswer(const char* value) { SetAnswer(value); return *this;}
309 
310 
317  inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; }
318 
325  inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
326 
333  inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; }
334 
341  inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); }
342 
349  inline QualificationRequest& WithSubmitTime(const Aws::Utils::DateTime& value) { SetSubmitTime(value); return *this;}
350 
357  inline QualificationRequest& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;}
358 
359  private:
360 
361  Aws::String m_qualificationRequestId;
362  bool m_qualificationRequestIdHasBeenSet;
363 
364  Aws::String m_qualificationTypeId;
365  bool m_qualificationTypeIdHasBeenSet;
366 
367  Aws::String m_workerId;
368  bool m_workerIdHasBeenSet;
369 
370  Aws::String m_test;
371  bool m_testHasBeenSet;
372 
373  Aws::String m_answer;
374  bool m_answerHasBeenSet;
375 
376  Aws::Utils::DateTime m_submitTime;
377  bool m_submitTimeHasBeenSet;
378  };
379 
380 } // namespace Model
381 } // namespace MTurk
382 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::MTurk::Model::QualificationRequest::WithQualificationTypeId
QualificationRequest & WithQualificationTypeId(const char *value)
Definition: QualificationRequest.h:137
Aws::MTurk::Model::QualificationRequest::SetQualificationRequestId
void SetQualificationRequestId(const char *value)
Definition: QualificationRequest.h:70
Aws::MTurk::Model::QualificationRequest::SetTest
void SetTest(Aws::String &&value)
Definition: QualificationRequest.h:211
Aws::MTurk::Model::QualificationRequest::QualificationRequest
QualificationRequest()
Aws::MTurk::Model::QualificationRequest::SetQualificationRequestId
void SetQualificationRequestId(Aws::String &&value)
Definition: QualificationRequest.h:64
Aws::MTurk::Model::QualificationRequest::WithWorkerId
QualificationRequest & WithWorkerId(Aws::String &&value)
Definition: QualificationRequest.h:173
Aws::MTurk::Model::QualificationRequest::WithAnswer
QualificationRequest & WithAnswer(const Aws::String &value)
Definition: QualificationRequest.h:292
DateTime.h
Aws::MTurk::Model::QualificationRequest::AnswerHasBeenSet
bool AnswerHasBeenSet() const
Definition: QualificationRequest.h:260
Aws::MTurk::Model::QualificationRequest::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MTurk::Model::QualificationRequest::WithTest
QualificationRequest & WithTest(const char *value)
Definition: QualificationRequest.h:243
Aws::MTurk::Model::QualificationRequest::GetAnswer
const Aws::String & GetAnswer() const
Definition: QualificationRequest.h:252
Aws::MTurk::Model::QualificationRequest::WithTest
QualificationRequest & WithTest(const Aws::String &value)
Definition: QualificationRequest.h:227
Aws::MTurk::Model::QualificationRequest::GetSubmitTime
const Aws::Utils::DateTime & GetSubmitTime() const
Definition: QualificationRequest.h:317
Aws::MTurk::Model::QualificationRequest::SetWorkerId
void SetWorkerId(const char *value)
Definition: QualificationRequest.h:163
Aws::MTurk::Model::QualificationRequest
Definition: QualificationRequest.h:34
Aws::MTurk::Model::QualificationRequest::WithSubmitTime
QualificationRequest & WithSubmitTime(Aws::Utils::DateTime &&value)
Definition: QualificationRequest.h:357
Aws::MTurk::Model::QualificationRequest::QualificationTypeIdHasBeenSet
bool QualificationTypeIdHasBeenSet() const
Definition: QualificationRequest.h:101
Aws::MTurk::Model::QualificationRequest::SetSubmitTime
void SetSubmitTime(const Aws::Utils::DateTime &value)
Definition: QualificationRequest.h:333
Aws::MTurk::Model::QualificationRequest::SetQualificationTypeId
void SetQualificationTypeId(const char *value)
Definition: QualificationRequest.h:119
Aws::MTurk::Model::QualificationRequest::WithQualificationRequestId
QualificationRequest & WithQualificationRequestId(Aws::String &&value)
Definition: QualificationRequest.h:82
Aws::MTurk::Model::QualificationRequest::WithQualificationRequestId
QualificationRequest & WithQualificationRequestId(const Aws::String &value)
Definition: QualificationRequest.h:76
Aws::MTurk::Model::QualificationRequest::SetQualificationTypeId
void SetQualificationTypeId(Aws::String &&value)
Definition: QualificationRequest.h:113
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::MTurk::Model::QualificationRequest::WithWorkerId
QualificationRequest & WithWorkerId(const Aws::String &value)
Definition: QualificationRequest.h:168
AWSString.h
Aws::MTurk::Model::QualificationRequest::SetWorkerId
void SetWorkerId(const Aws::String &value)
Definition: QualificationRequest.h:153
Aws::MTurk::Model::QualificationRequest::GetQualificationTypeId
const Aws::String & GetQualificationTypeId() const
Definition: QualificationRequest.h:95
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MTurk::Model::QualificationRequest::TestHasBeenSet
bool TestHasBeenSet() const
Definition: QualificationRequest.h:195
Aws::MTurk::Model::QualificationRequest::SubmitTimeHasBeenSet
bool SubmitTimeHasBeenSet() const
Definition: QualificationRequest.h:325
Aws::MTurk::Model::QualificationRequest::SetAnswer
void SetAnswer(Aws::String &&value)
Definition: QualificationRequest.h:276
Aws::MTurk::Model::QualificationRequest::QualificationRequestIdHasBeenSet
bool QualificationRequestIdHasBeenSet() const
Definition: QualificationRequest.h:52
Aws::MTurk::Model::QualificationRequest::SetSubmitTime
void SetSubmitTime(Aws::Utils::DateTime &&value)
Definition: QualificationRequest.h:341
Aws::MTurk::Model::QualificationRequest::operator=
QualificationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MTurk::Model::QualificationRequest::SetWorkerId
void SetWorkerId(Aws::String &&value)
Definition: QualificationRequest.h:158
Aws::MTurk::Model::QualificationRequest::SetAnswer
void SetAnswer(const Aws::String &value)
Definition: QualificationRequest.h:268
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::MTurk::Model::QualificationRequest::SetTest
void SetTest(const char *value)
Definition: QualificationRequest.h:219
Aws::MTurk::Model::QualificationRequest::WithQualificationRequestId
QualificationRequest & WithQualificationRequestId(const char *value)
Definition: QualificationRequest.h:88
Aws::MTurk::Model::QualificationRequest::WithAnswer
QualificationRequest & WithAnswer(Aws::String &&value)
Definition: QualificationRequest.h:300
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::QualificationRequest::SetTest
void SetTest(const Aws::String &value)
Definition: QualificationRequest.h:203
Aws::MTurk::Model::QualificationRequest::WithWorkerId
QualificationRequest & WithWorkerId(const char *value)
Definition: QualificationRequest.h:178
Aws::MTurk::Model::QualificationRequest::WithTest
QualificationRequest & WithTest(Aws::String &&value)
Definition: QualificationRequest.h:235
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::QualificationRequest::WithQualificationTypeId
QualificationRequest & WithQualificationTypeId(const Aws::String &value)
Definition: QualificationRequest.h:125
Aws::MTurk::Model::QualificationRequest::WorkerIdHasBeenSet
bool WorkerIdHasBeenSet() const
Definition: QualificationRequest.h:148
Aws::MTurk::Model::QualificationRequest::SetQualificationRequestId
void SetQualificationRequestId(const Aws::String &value)
Definition: QualificationRequest.h:58
Aws::MTurk::Model::QualificationRequest::GetWorkerId
const Aws::String & GetWorkerId() const
Definition: QualificationRequest.h:143
Aws::MTurk::Model::QualificationRequest::GetTest
const Aws::String & GetTest() const
Definition: QualificationRequest.h:187
Aws::MTurk::Model::QualificationRequest::QualificationRequest
QualificationRequest(Aws::Utils::Json::JsonView jsonValue)
Aws::MTurk::Model::QualificationRequest::WithSubmitTime
QualificationRequest & WithSubmitTime(const Aws::Utils::DateTime &value)
Definition: QualificationRequest.h:349
Aws::MTurk::Model::QualificationRequest::WithAnswer
QualificationRequest & WithAnswer(const char *value)
Definition: QualificationRequest.h:308
Aws::MTurk::Model::QualificationRequest::SetQualificationTypeId
void SetQualificationTypeId(const Aws::String &value)
Definition: QualificationRequest.h:107
Aws::MTurk::Model::QualificationRequest::WithQualificationTypeId
QualificationRequest & WithQualificationTypeId(Aws::String &&value)
Definition: QualificationRequest.h:131
Aws::MTurk::Model::QualificationRequest::GetQualificationRequestId
const Aws::String & GetQualificationRequestId() const
Definition: QualificationRequest.h:46
Aws::MTurk::Model::QualificationRequest::SetAnswer
void SetAnswer(const char *value)
Definition: QualificationRequest.h:284