AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HIT.h
1
6#pragma once
7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/mturk-requester/model/HITStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/mturk-requester/model/HITReviewStatus.h>
13#include <aws/mturk-requester/model/QualificationRequirement.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MTurk
27{
28namespace Model
29{
30
38 class HIT
39 {
40 public:
41 AWS_MTURK_API HIT();
42 AWS_MTURK_API HIT(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MTURK_API HIT& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetHITId() const{ return m_hITId; }
52 inline bool HITIdHasBeenSet() const { return m_hITIdHasBeenSet; }
53 inline void SetHITId(const Aws::String& value) { m_hITIdHasBeenSet = true; m_hITId = value; }
54 inline void SetHITId(Aws::String&& value) { m_hITIdHasBeenSet = true; m_hITId = std::move(value); }
55 inline void SetHITId(const char* value) { m_hITIdHasBeenSet = true; m_hITId.assign(value); }
56 inline HIT& WithHITId(const Aws::String& value) { SetHITId(value); return *this;}
57 inline HIT& WithHITId(Aws::String&& value) { SetHITId(std::move(value)); return *this;}
58 inline HIT& WithHITId(const char* value) { SetHITId(value); return *this;}
60
62
65 inline const Aws::String& GetHITTypeId() const{ return m_hITTypeId; }
66 inline bool HITTypeIdHasBeenSet() const { return m_hITTypeIdHasBeenSet; }
67 inline void SetHITTypeId(const Aws::String& value) { m_hITTypeIdHasBeenSet = true; m_hITTypeId = value; }
68 inline void SetHITTypeId(Aws::String&& value) { m_hITTypeIdHasBeenSet = true; m_hITTypeId = std::move(value); }
69 inline void SetHITTypeId(const char* value) { m_hITTypeIdHasBeenSet = true; m_hITTypeId.assign(value); }
70 inline HIT& WithHITTypeId(const Aws::String& value) { SetHITTypeId(value); return *this;}
71 inline HIT& WithHITTypeId(Aws::String&& value) { SetHITTypeId(std::move(value)); return *this;}
72 inline HIT& WithHITTypeId(const char* value) { SetHITTypeId(value); return *this;}
74
76
79 inline const Aws::String& GetHITGroupId() const{ return m_hITGroupId; }
80 inline bool HITGroupIdHasBeenSet() const { return m_hITGroupIdHasBeenSet; }
81 inline void SetHITGroupId(const Aws::String& value) { m_hITGroupIdHasBeenSet = true; m_hITGroupId = value; }
82 inline void SetHITGroupId(Aws::String&& value) { m_hITGroupIdHasBeenSet = true; m_hITGroupId = std::move(value); }
83 inline void SetHITGroupId(const char* value) { m_hITGroupIdHasBeenSet = true; m_hITGroupId.assign(value); }
84 inline HIT& WithHITGroupId(const Aws::String& value) { SetHITGroupId(value); return *this;}
85 inline HIT& WithHITGroupId(Aws::String&& value) { SetHITGroupId(std::move(value)); return *this;}
86 inline HIT& WithHITGroupId(const char* value) { SetHITGroupId(value); return *this;}
88
90
93 inline const Aws::String& GetHITLayoutId() const{ return m_hITLayoutId; }
94 inline bool HITLayoutIdHasBeenSet() const { return m_hITLayoutIdHasBeenSet; }
95 inline void SetHITLayoutId(const Aws::String& value) { m_hITLayoutIdHasBeenSet = true; m_hITLayoutId = value; }
96 inline void SetHITLayoutId(Aws::String&& value) { m_hITLayoutIdHasBeenSet = true; m_hITLayoutId = std::move(value); }
97 inline void SetHITLayoutId(const char* value) { m_hITLayoutIdHasBeenSet = true; m_hITLayoutId.assign(value); }
98 inline HIT& WithHITLayoutId(const Aws::String& value) { SetHITLayoutId(value); return *this;}
99 inline HIT& WithHITLayoutId(Aws::String&& value) { SetHITLayoutId(std::move(value)); return *this;}
100 inline HIT& WithHITLayoutId(const char* value) { SetHITLayoutId(value); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
108 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
109 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
110 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
111 inline HIT& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
112 inline HIT& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
114
116
119 inline const Aws::String& GetTitle() const{ return m_title; }
120 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
121 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
122 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
123 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
124 inline HIT& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
125 inline HIT& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
126 inline HIT& WithTitle(const char* value) { SetTitle(value); return *this;}
128
130
133 inline const Aws::String& GetDescription() const{ return m_description; }
134 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
135 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
136 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
137 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
138 inline HIT& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
139 inline HIT& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
140 inline HIT& WithDescription(const char* value) { SetDescription(value); return *this;}
142
144
149 inline const Aws::String& GetQuestion() const{ return m_question; }
150 inline bool QuestionHasBeenSet() const { return m_questionHasBeenSet; }
151 inline void SetQuestion(const Aws::String& value) { m_questionHasBeenSet = true; m_question = value; }
152 inline void SetQuestion(Aws::String&& value) { m_questionHasBeenSet = true; m_question = std::move(value); }
153 inline void SetQuestion(const char* value) { m_questionHasBeenSet = true; m_question.assign(value); }
154 inline HIT& WithQuestion(const Aws::String& value) { SetQuestion(value); return *this;}
155 inline HIT& WithQuestion(Aws::String&& value) { SetQuestion(std::move(value)); return *this;}
156 inline HIT& WithQuestion(const char* value) { SetQuestion(value); return *this;}
158
160
165 inline const Aws::String& GetKeywords() const{ return m_keywords; }
166 inline bool KeywordsHasBeenSet() const { return m_keywordsHasBeenSet; }
167 inline void SetKeywords(const Aws::String& value) { m_keywordsHasBeenSet = true; m_keywords = value; }
168 inline void SetKeywords(Aws::String&& value) { m_keywordsHasBeenSet = true; m_keywords = std::move(value); }
169 inline void SetKeywords(const char* value) { m_keywordsHasBeenSet = true; m_keywords.assign(value); }
170 inline HIT& WithKeywords(const Aws::String& value) { SetKeywords(value); return *this;}
171 inline HIT& WithKeywords(Aws::String&& value) { SetKeywords(std::move(value)); return *this;}
172 inline HIT& WithKeywords(const char* value) { SetKeywords(value); return *this;}
174
176
180 inline const HITStatus& GetHITStatus() const{ return m_hITStatus; }
181 inline bool HITStatusHasBeenSet() const { return m_hITStatusHasBeenSet; }
182 inline void SetHITStatus(const HITStatus& value) { m_hITStatusHasBeenSet = true; m_hITStatus = value; }
183 inline void SetHITStatus(HITStatus&& value) { m_hITStatusHasBeenSet = true; m_hITStatus = std::move(value); }
184 inline HIT& WithHITStatus(const HITStatus& value) { SetHITStatus(value); return *this;}
185 inline HIT& WithHITStatus(HITStatus&& value) { SetHITStatus(std::move(value)); return *this;}
187
189
193 inline int GetMaxAssignments() const{ return m_maxAssignments; }
194 inline bool MaxAssignmentsHasBeenSet() const { return m_maxAssignmentsHasBeenSet; }
195 inline void SetMaxAssignments(int value) { m_maxAssignmentsHasBeenSet = true; m_maxAssignments = value; }
196 inline HIT& WithMaxAssignments(int value) { SetMaxAssignments(value); return *this;}
198
200
201 inline const Aws::String& GetReward() const{ return m_reward; }
202 inline bool RewardHasBeenSet() const { return m_rewardHasBeenSet; }
203 inline void SetReward(const Aws::String& value) { m_rewardHasBeenSet = true; m_reward = value; }
204 inline void SetReward(Aws::String&& value) { m_rewardHasBeenSet = true; m_reward = std::move(value); }
205 inline void SetReward(const char* value) { m_rewardHasBeenSet = true; m_reward.assign(value); }
206 inline HIT& WithReward(const Aws::String& value) { SetReward(value); return *this;}
207 inline HIT& WithReward(Aws::String&& value) { SetReward(std::move(value)); return *this;}
208 inline HIT& WithReward(const char* value) { SetReward(value); return *this;}
210
212
218 inline long long GetAutoApprovalDelayInSeconds() const{ return m_autoApprovalDelayInSeconds; }
219 inline bool AutoApprovalDelayInSecondsHasBeenSet() const { return m_autoApprovalDelayInSecondsHasBeenSet; }
220 inline void SetAutoApprovalDelayInSeconds(long long value) { m_autoApprovalDelayInSecondsHasBeenSet = true; m_autoApprovalDelayInSeconds = value; }
221 inline HIT& WithAutoApprovalDelayInSeconds(long long value) { SetAutoApprovalDelayInSeconds(value); return *this;}
223
225
228 inline const Aws::Utils::DateTime& GetExpiration() const{ return m_expiration; }
229 inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; }
230 inline void SetExpiration(const Aws::Utils::DateTime& value) { m_expirationHasBeenSet = true; m_expiration = value; }
231 inline void SetExpiration(Aws::Utils::DateTime&& value) { m_expirationHasBeenSet = true; m_expiration = std::move(value); }
232 inline HIT& WithExpiration(const Aws::Utils::DateTime& value) { SetExpiration(value); return *this;}
233 inline HIT& WithExpiration(Aws::Utils::DateTime&& value) { SetExpiration(std::move(value)); return *this;}
235
237
241 inline long long GetAssignmentDurationInSeconds() const{ return m_assignmentDurationInSeconds; }
242 inline bool AssignmentDurationInSecondsHasBeenSet() const { return m_assignmentDurationInSecondsHasBeenSet; }
243 inline void SetAssignmentDurationInSeconds(long long value) { m_assignmentDurationInSecondsHasBeenSet = true; m_assignmentDurationInSeconds = value; }
244 inline HIT& WithAssignmentDurationInSeconds(long long value) { SetAssignmentDurationInSeconds(value); return *this;}
246
248
252 inline const Aws::String& GetRequesterAnnotation() const{ return m_requesterAnnotation; }
253 inline bool RequesterAnnotationHasBeenSet() const { return m_requesterAnnotationHasBeenSet; }
254 inline void SetRequesterAnnotation(const Aws::String& value) { m_requesterAnnotationHasBeenSet = true; m_requesterAnnotation = value; }
255 inline void SetRequesterAnnotation(Aws::String&& value) { m_requesterAnnotationHasBeenSet = true; m_requesterAnnotation = std::move(value); }
256 inline void SetRequesterAnnotation(const char* value) { m_requesterAnnotationHasBeenSet = true; m_requesterAnnotation.assign(value); }
257 inline HIT& WithRequesterAnnotation(const Aws::String& value) { SetRequesterAnnotation(value); return *this;}
258 inline HIT& WithRequesterAnnotation(Aws::String&& value) { SetRequesterAnnotation(std::move(value)); return *this;}
259 inline HIT& WithRequesterAnnotation(const char* value) { SetRequesterAnnotation(value); return *this;}
261
263
270 inline const Aws::Vector<QualificationRequirement>& GetQualificationRequirements() const{ return m_qualificationRequirements; }
271 inline bool QualificationRequirementsHasBeenSet() const { return m_qualificationRequirementsHasBeenSet; }
272 inline void SetQualificationRequirements(const Aws::Vector<QualificationRequirement>& value) { m_qualificationRequirementsHasBeenSet = true; m_qualificationRequirements = value; }
273 inline void SetQualificationRequirements(Aws::Vector<QualificationRequirement>&& value) { m_qualificationRequirementsHasBeenSet = true; m_qualificationRequirements = std::move(value); }
276 inline HIT& AddQualificationRequirements(const QualificationRequirement& value) { m_qualificationRequirementsHasBeenSet = true; m_qualificationRequirements.push_back(value); return *this; }
277 inline HIT& AddQualificationRequirements(QualificationRequirement&& value) { m_qualificationRequirementsHasBeenSet = true; m_qualificationRequirements.push_back(std::move(value)); return *this; }
279
281
285 inline const HITReviewStatus& GetHITReviewStatus() const{ return m_hITReviewStatus; }
286 inline bool HITReviewStatusHasBeenSet() const { return m_hITReviewStatusHasBeenSet; }
287 inline void SetHITReviewStatus(const HITReviewStatus& value) { m_hITReviewStatusHasBeenSet = true; m_hITReviewStatus = value; }
288 inline void SetHITReviewStatus(HITReviewStatus&& value) { m_hITReviewStatusHasBeenSet = true; m_hITReviewStatus = std::move(value); }
289 inline HIT& WithHITReviewStatus(const HITReviewStatus& value) { SetHITReviewStatus(value); return *this;}
290 inline HIT& WithHITReviewStatus(HITReviewStatus&& value) { SetHITReviewStatus(std::move(value)); return *this;}
292
294
299 inline int GetNumberOfAssignmentsPending() const{ return m_numberOfAssignmentsPending; }
300 inline bool NumberOfAssignmentsPendingHasBeenSet() const { return m_numberOfAssignmentsPendingHasBeenSet; }
301 inline void SetNumberOfAssignmentsPending(int value) { m_numberOfAssignmentsPendingHasBeenSet = true; m_numberOfAssignmentsPending = value; }
302 inline HIT& WithNumberOfAssignmentsPending(int value) { SetNumberOfAssignmentsPending(value); return *this;}
304
306
310 inline int GetNumberOfAssignmentsAvailable() const{ return m_numberOfAssignmentsAvailable; }
311 inline bool NumberOfAssignmentsAvailableHasBeenSet() const { return m_numberOfAssignmentsAvailableHasBeenSet; }
312 inline void SetNumberOfAssignmentsAvailable(int value) { m_numberOfAssignmentsAvailableHasBeenSet = true; m_numberOfAssignmentsAvailable = value; }
313 inline HIT& WithNumberOfAssignmentsAvailable(int value) { SetNumberOfAssignmentsAvailable(value); return *this;}
315
317
321 inline int GetNumberOfAssignmentsCompleted() const{ return m_numberOfAssignmentsCompleted; }
322 inline bool NumberOfAssignmentsCompletedHasBeenSet() const { return m_numberOfAssignmentsCompletedHasBeenSet; }
323 inline void SetNumberOfAssignmentsCompleted(int value) { m_numberOfAssignmentsCompletedHasBeenSet = true; m_numberOfAssignmentsCompleted = value; }
324 inline HIT& WithNumberOfAssignmentsCompleted(int value) { SetNumberOfAssignmentsCompleted(value); return *this;}
326 private:
327
328 Aws::String m_hITId;
329 bool m_hITIdHasBeenSet = false;
330
331 Aws::String m_hITTypeId;
332 bool m_hITTypeIdHasBeenSet = false;
333
334 Aws::String m_hITGroupId;
335 bool m_hITGroupIdHasBeenSet = false;
336
337 Aws::String m_hITLayoutId;
338 bool m_hITLayoutIdHasBeenSet = false;
339
340 Aws::Utils::DateTime m_creationTime;
341 bool m_creationTimeHasBeenSet = false;
342
343 Aws::String m_title;
344 bool m_titleHasBeenSet = false;
345
346 Aws::String m_description;
347 bool m_descriptionHasBeenSet = false;
348
349 Aws::String m_question;
350 bool m_questionHasBeenSet = false;
351
352 Aws::String m_keywords;
353 bool m_keywordsHasBeenSet = false;
354
355 HITStatus m_hITStatus;
356 bool m_hITStatusHasBeenSet = false;
357
358 int m_maxAssignments;
359 bool m_maxAssignmentsHasBeenSet = false;
360
361 Aws::String m_reward;
362 bool m_rewardHasBeenSet = false;
363
364 long long m_autoApprovalDelayInSeconds;
365 bool m_autoApprovalDelayInSecondsHasBeenSet = false;
366
367 Aws::Utils::DateTime m_expiration;
368 bool m_expirationHasBeenSet = false;
369
370 long long m_assignmentDurationInSeconds;
371 bool m_assignmentDurationInSecondsHasBeenSet = false;
372
373 Aws::String m_requesterAnnotation;
374 bool m_requesterAnnotationHasBeenSet = false;
375
376 Aws::Vector<QualificationRequirement> m_qualificationRequirements;
377 bool m_qualificationRequirementsHasBeenSet = false;
378
379 HITReviewStatus m_hITReviewStatus;
380 bool m_hITReviewStatusHasBeenSet = false;
381
382 int m_numberOfAssignmentsPending;
383 bool m_numberOfAssignmentsPendingHasBeenSet = false;
384
385 int m_numberOfAssignmentsAvailable;
386 bool m_numberOfAssignmentsAvailableHasBeenSet = false;
387
388 int m_numberOfAssignmentsCompleted;
389 bool m_numberOfAssignmentsCompletedHasBeenSet = false;
390 };
391
392} // namespace Model
393} // namespace MTurk
394} // namespace Aws
HIT & WithAssignmentDurationInSeconds(long long value)
Definition HIT.h:244
const Aws::String & GetTitle() const
Definition HIT.h:119
const Aws::Utils::DateTime & GetExpiration() const
Definition HIT.h:228
HIT & WithKeywords(Aws::String &&value)
Definition HIT.h:171
HIT & WithHITGroupId(const Aws::String &value)
Definition HIT.h:84
const Aws::String & GetDescription() const
Definition HIT.h:133
void SetRequesterAnnotation(const Aws::String &value)
Definition HIT.h:254
const Aws::String & GetReward() const
Definition HIT.h:201
HIT & WithExpiration(const Aws::Utils::DateTime &value)
Definition HIT.h:232
void SetMaxAssignments(int value)
Definition HIT.h:195
bool DescriptionHasBeenSet() const
Definition HIT.h:134
bool CreationTimeHasBeenSet() const
Definition HIT.h:108
const Aws::String & GetHITLayoutId() const
Definition HIT.h:93
void SetNumberOfAssignmentsPending(int value)
Definition HIT.h:301
bool HITTypeIdHasBeenSet() const
Definition HIT.h:66
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition HIT.h:109
HIT & WithHITTypeId(const char *value)
Definition HIT.h:72
HIT & WithHITGroupId(Aws::String &&value)
Definition HIT.h:85
void SetQuestion(Aws::String &&value)
Definition HIT.h:152
void SetTitle(const Aws::String &value)
Definition HIT.h:121
long long GetAutoApprovalDelayInSeconds() const
Definition HIT.h:218
const Aws::String & GetKeywords() const
Definition HIT.h:165
void SetHITLayoutId(Aws::String &&value)
Definition HIT.h:96
bool TitleHasBeenSet() const
Definition HIT.h:120
void SetQuestion(const Aws::String &value)
Definition HIT.h:151
HIT & WithMaxAssignments(int value)
Definition HIT.h:196
HIT & WithHITStatus(const HITStatus &value)
Definition HIT.h:184
HIT & WithHITId(const char *value)
Definition HIT.h:58
void SetDescription(const Aws::String &value)
Definition HIT.h:135
void SetTitle(Aws::String &&value)
Definition HIT.h:122
HIT & WithQuestion(Aws::String &&value)
Definition HIT.h:155
void SetAssignmentDurationInSeconds(long long value)
Definition HIT.h:243
bool HITGroupIdHasBeenSet() const
Definition HIT.h:80
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition HIT.h:110
void SetHITTypeId(const Aws::String &value)
Definition HIT.h:67
HIT & WithHITGroupId(const char *value)
Definition HIT.h:86
void SetHITId(const char *value)
Definition HIT.h:55
HIT & WithAutoApprovalDelayInSeconds(long long value)
Definition HIT.h:221
HIT & WithDescription(const char *value)
Definition HIT.h:140
void SetNumberOfAssignmentsCompleted(int value)
Definition HIT.h:323
void SetTitle(const char *value)
Definition HIT.h:123
bool MaxAssignmentsHasBeenSet() const
Definition HIT.h:194
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
bool NumberOfAssignmentsAvailableHasBeenSet() const
Definition HIT.h:311
void SetHITReviewStatus(const HITReviewStatus &value)
Definition HIT.h:287
void SetHITId(const Aws::String &value)
Definition HIT.h:53
HIT & WithTitle(Aws::String &&value)
Definition HIT.h:125
void SetDescription(const char *value)
Definition HIT.h:137
HIT & AddQualificationRequirements(QualificationRequirement &&value)
Definition HIT.h:277
HIT & WithHITStatus(HITStatus &&value)
Definition HIT.h:185
void SetReward(Aws::String &&value)
Definition HIT.h:204
const HITStatus & GetHITStatus() const
Definition HIT.h:180
void SetHITTypeId(Aws::String &&value)
Definition HIT.h:68
HIT & WithReward(const Aws::String &value)
Definition HIT.h:206
HIT & WithHITLayoutId(const char *value)
Definition HIT.h:100
HIT & WithKeywords(const char *value)
Definition HIT.h:172
bool HITLayoutIdHasBeenSet() const
Definition HIT.h:94
const HITReviewStatus & GetHITReviewStatus() const
Definition HIT.h:285
HIT & WithReward(Aws::String &&value)
Definition HIT.h:207
void SetQualificationRequirements(Aws::Vector< QualificationRequirement > &&value)
Definition HIT.h:273
void SetHITStatus(const HITStatus &value)
Definition HIT.h:182
void SetHITStatus(HITStatus &&value)
Definition HIT.h:183
bool HITIdHasBeenSet() const
Definition HIT.h:52
HIT & WithCreationTime(const Aws::Utils::DateTime &value)
Definition HIT.h:111
int GetNumberOfAssignmentsPending() const
Definition HIT.h:299
HIT & WithReward(const char *value)
Definition HIT.h:208
void SetExpiration(Aws::Utils::DateTime &&value)
Definition HIT.h:231
HIT & WithHITReviewStatus(const HITReviewStatus &value)
Definition HIT.h:289
void SetHITGroupId(const char *value)
Definition HIT.h:83
AWS_MTURK_API HIT(Aws::Utils::Json::JsonView jsonValue)
void SetRequesterAnnotation(Aws::String &&value)
Definition HIT.h:255
void SetHITId(Aws::String &&value)
Definition HIT.h:54
void SetKeywords(const char *value)
Definition HIT.h:169
HIT & WithHITTypeId(Aws::String &&value)
Definition HIT.h:71
void SetRequesterAnnotation(const char *value)
Definition HIT.h:256
void SetExpiration(const Aws::Utils::DateTime &value)
Definition HIT.h:230
void SetReward(const Aws::String &value)
Definition HIT.h:203
HIT & WithNumberOfAssignmentsCompleted(int value)
Definition HIT.h:324
void SetKeywords(const Aws::String &value)
Definition HIT.h:167
HIT & WithNumberOfAssignmentsPending(int value)
Definition HIT.h:302
HIT & WithRequesterAnnotation(const Aws::String &value)
Definition HIT.h:257
bool NumberOfAssignmentsPendingHasBeenSet() const
Definition HIT.h:300
HIT & WithTitle(const char *value)
Definition HIT.h:126
const Aws::String & GetQuestion() const
Definition HIT.h:149
int GetMaxAssignments() const
Definition HIT.h:193
bool RewardHasBeenSet() const
Definition HIT.h:202
HIT & WithHITReviewStatus(HITReviewStatus &&value)
Definition HIT.h:290
const Aws::Vector< QualificationRequirement > & GetQualificationRequirements() const
Definition HIT.h:270
HIT & WithQuestion(const char *value)
Definition HIT.h:156
bool KeywordsHasBeenSet() const
Definition HIT.h:166
void SetHITTypeId(const char *value)
Definition HIT.h:69
HIT & WithQuestion(const Aws::String &value)
Definition HIT.h:154
bool AutoApprovalDelayInSecondsHasBeenSet() const
Definition HIT.h:219
void SetAutoApprovalDelayInSeconds(long long value)
Definition HIT.h:220
HIT & WithTitle(const Aws::String &value)
Definition HIT.h:124
const Aws::String & GetRequesterAnnotation() const
Definition HIT.h:252
int GetNumberOfAssignmentsCompleted() const
Definition HIT.h:321
void SetNumberOfAssignmentsAvailable(int value)
Definition HIT.h:312
bool QualificationRequirementsHasBeenSet() const
Definition HIT.h:271
void SetHITGroupId(Aws::String &&value)
Definition HIT.h:82
HIT & WithRequesterAnnotation(Aws::String &&value)
Definition HIT.h:258
bool QuestionHasBeenSet() const
Definition HIT.h:150
const Aws::String & GetHITGroupId() const
Definition HIT.h:79
const Aws::String & GetHITId() const
Definition HIT.h:51
AWS_MTURK_API HIT & operator=(Aws::Utils::Json::JsonView jsonValue)
HIT & WithDescription(const Aws::String &value)
Definition HIT.h:138
HIT & WithDescription(Aws::String &&value)
Definition HIT.h:139
HIT & WithHITId(const Aws::String &value)
Definition HIT.h:56
HIT & WithCreationTime(Aws::Utils::DateTime &&value)
Definition HIT.h:112
HIT & WithHITTypeId(const Aws::String &value)
Definition HIT.h:70
long long GetAssignmentDurationInSeconds() const
Definition HIT.h:241
HIT & WithQualificationRequirements(Aws::Vector< QualificationRequirement > &&value)
Definition HIT.h:275
void SetKeywords(Aws::String &&value)
Definition HIT.h:168
HIT & WithRequesterAnnotation(const char *value)
Definition HIT.h:259
bool AssignmentDurationInSecondsHasBeenSet() const
Definition HIT.h:242
void SetDescription(Aws::String &&value)
Definition HIT.h:136
bool RequesterAnnotationHasBeenSet() const
Definition HIT.h:253
HIT & WithExpiration(Aws::Utils::DateTime &&value)
Definition HIT.h:233
const Aws::String & GetHITTypeId() const
Definition HIT.h:65
HIT & WithHITId(Aws::String &&value)
Definition HIT.h:57
void SetHITLayoutId(const char *value)
Definition HIT.h:97
bool ExpirationHasBeenSet() const
Definition HIT.h:229
int GetNumberOfAssignmentsAvailable() const
Definition HIT.h:310
void SetHITGroupId(const Aws::String &value)
Definition HIT.h:81
HIT & WithQualificationRequirements(const Aws::Vector< QualificationRequirement > &value)
Definition HIT.h:274
void SetQuestion(const char *value)
Definition HIT.h:153
HIT & WithKeywords(const Aws::String &value)
Definition HIT.h:170
HIT & WithHITLayoutId(Aws::String &&value)
Definition HIT.h:99
bool HITReviewStatusHasBeenSet() const
Definition HIT.h:286
const Aws::Utils::DateTime & GetCreationTime() const
Definition HIT.h:107
HIT & AddQualificationRequirements(const QualificationRequirement &value)
Definition HIT.h:276
bool HITStatusHasBeenSet() const
Definition HIT.h:181
HIT & WithHITLayoutId(const Aws::String &value)
Definition HIT.h:98
bool NumberOfAssignmentsCompletedHasBeenSet() const
Definition HIT.h:322
void SetHITReviewStatus(HITReviewStatus &&value)
Definition HIT.h:288
AWS_MTURK_API HIT()
void SetQualificationRequirements(const Aws::Vector< QualificationRequirement > &value)
Definition HIT.h:272
HIT & WithNumberOfAssignmentsAvailable(int value)
Definition HIT.h:313
void SetReward(const char *value)
Definition HIT.h:205
void SetHITLayoutId(const Aws::String &value)
Definition HIT.h:95
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue