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>
55 inline void SetHITId(
const char* value) { m_hITIdHasBeenSet =
true; m_hITId.assign(value); }
69 inline void SetHITTypeId(
const char* value) { m_hITTypeIdHasBeenSet =
true; m_hITTypeId.assign(value); }
83 inline void SetHITGroupId(
const char* value) { m_hITGroupIdHasBeenSet =
true; m_hITGroupId.assign(value); }
97 inline void SetHITLayoutId(
const char* value) { m_hITLayoutIdHasBeenSet =
true; m_hITLayoutId.assign(value); }
123 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
137 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
153 inline void SetQuestion(
const char* value) { m_questionHasBeenSet =
true; m_question.assign(value); }
169 inline void SetKeywords(
const char* value) { m_keywordsHasBeenSet =
true; m_keywords.assign(value); }
195 inline void SetMaxAssignments(
int value) { m_maxAssignmentsHasBeenSet =
true; m_maxAssignments = value; }
205 inline void SetReward(
const char* value) { m_rewardHasBeenSet =
true; m_reward.assign(value); }
256 inline void SetRequesterAnnotation(
const char* value) { m_requesterAnnotationHasBeenSet =
true; m_requesterAnnotation.assign(value); }
329 bool m_hITIdHasBeenSet =
false;
332 bool m_hITTypeIdHasBeenSet =
false;
335 bool m_hITGroupIdHasBeenSet =
false;
338 bool m_hITLayoutIdHasBeenSet =
false;
341 bool m_creationTimeHasBeenSet =
false;
344 bool m_titleHasBeenSet =
false;
347 bool m_descriptionHasBeenSet =
false;
350 bool m_questionHasBeenSet =
false;
353 bool m_keywordsHasBeenSet =
false;
356 bool m_hITStatusHasBeenSet =
false;
358 int m_maxAssignments;
359 bool m_maxAssignmentsHasBeenSet =
false;
362 bool m_rewardHasBeenSet =
false;
364 long long m_autoApprovalDelayInSeconds;
365 bool m_autoApprovalDelayInSecondsHasBeenSet =
false;
368 bool m_expirationHasBeenSet =
false;
370 long long m_assignmentDurationInSeconds;
371 bool m_assignmentDurationInSecondsHasBeenSet =
false;
374 bool m_requesterAnnotationHasBeenSet =
false;
377 bool m_qualificationRequirementsHasBeenSet =
false;
380 bool m_hITReviewStatusHasBeenSet =
false;
382 int m_numberOfAssignmentsPending;
383 bool m_numberOfAssignmentsPendingHasBeenSet =
false;
385 int m_numberOfAssignmentsAvailable;
386 bool m_numberOfAssignmentsAvailableHasBeenSet =
false;
388 int m_numberOfAssignmentsCompleted;
389 bool m_numberOfAssignmentsCompletedHasBeenSet =
false;
HIT & WithAssignmentDurationInSeconds(long long value)
const Aws::String & GetTitle() const
const Aws::Utils::DateTime & GetExpiration() const
HIT & WithKeywords(Aws::String &&value)
HIT & WithHITGroupId(const Aws::String &value)
const Aws::String & GetDescription() const
void SetRequesterAnnotation(const Aws::String &value)
const Aws::String & GetReward() const
HIT & WithExpiration(const Aws::Utils::DateTime &value)
void SetMaxAssignments(int value)
bool DescriptionHasBeenSet() const
bool CreationTimeHasBeenSet() const
const Aws::String & GetHITLayoutId() const
void SetNumberOfAssignmentsPending(int value)
bool HITTypeIdHasBeenSet() const
void SetCreationTime(const Aws::Utils::DateTime &value)
HIT & WithHITTypeId(const char *value)
HIT & WithHITGroupId(Aws::String &&value)
void SetQuestion(Aws::String &&value)
void SetTitle(const Aws::String &value)
long long GetAutoApprovalDelayInSeconds() const
const Aws::String & GetKeywords() const
void SetHITLayoutId(Aws::String &&value)
bool TitleHasBeenSet() const
void SetQuestion(const Aws::String &value)
HIT & WithMaxAssignments(int value)
HIT & WithHITStatus(const HITStatus &value)
HIT & WithHITId(const char *value)
void SetDescription(const Aws::String &value)
void SetTitle(Aws::String &&value)
HIT & WithQuestion(Aws::String &&value)
void SetAssignmentDurationInSeconds(long long value)
bool HITGroupIdHasBeenSet() const
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetHITTypeId(const Aws::String &value)
HIT & WithHITGroupId(const char *value)
void SetHITId(const char *value)
HIT & WithAutoApprovalDelayInSeconds(long long value)
HIT & WithDescription(const char *value)
void SetNumberOfAssignmentsCompleted(int value)
void SetTitle(const char *value)
bool MaxAssignmentsHasBeenSet() const
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
bool NumberOfAssignmentsAvailableHasBeenSet() const
void SetHITReviewStatus(const HITReviewStatus &value)
void SetHITId(const Aws::String &value)
HIT & WithTitle(Aws::String &&value)
void SetDescription(const char *value)
HIT & AddQualificationRequirements(QualificationRequirement &&value)
HIT & WithHITStatus(HITStatus &&value)
void SetReward(Aws::String &&value)
const HITStatus & GetHITStatus() const
void SetHITTypeId(Aws::String &&value)
HIT & WithReward(const Aws::String &value)
HIT & WithHITLayoutId(const char *value)
HIT & WithKeywords(const char *value)
bool HITLayoutIdHasBeenSet() const
const HITReviewStatus & GetHITReviewStatus() const
HIT & WithReward(Aws::String &&value)
void SetQualificationRequirements(Aws::Vector< QualificationRequirement > &&value)
void SetHITStatus(const HITStatus &value)
void SetHITStatus(HITStatus &&value)
bool HITIdHasBeenSet() const
HIT & WithCreationTime(const Aws::Utils::DateTime &value)
int GetNumberOfAssignmentsPending() const
HIT & WithReward(const char *value)
void SetExpiration(Aws::Utils::DateTime &&value)
HIT & WithHITReviewStatus(const HITReviewStatus &value)
void SetHITGroupId(const char *value)
AWS_MTURK_API HIT(Aws::Utils::Json::JsonView jsonValue)
void SetRequesterAnnotation(Aws::String &&value)
void SetHITId(Aws::String &&value)
void SetKeywords(const char *value)
HIT & WithHITTypeId(Aws::String &&value)
void SetRequesterAnnotation(const char *value)
void SetExpiration(const Aws::Utils::DateTime &value)
void SetReward(const Aws::String &value)
HIT & WithNumberOfAssignmentsCompleted(int value)
void SetKeywords(const Aws::String &value)
HIT & WithNumberOfAssignmentsPending(int value)
HIT & WithRequesterAnnotation(const Aws::String &value)
bool NumberOfAssignmentsPendingHasBeenSet() const
HIT & WithTitle(const char *value)
const Aws::String & GetQuestion() const
int GetMaxAssignments() const
bool RewardHasBeenSet() const
HIT & WithHITReviewStatus(HITReviewStatus &&value)
const Aws::Vector< QualificationRequirement > & GetQualificationRequirements() const
HIT & WithQuestion(const char *value)
bool KeywordsHasBeenSet() const
void SetHITTypeId(const char *value)
HIT & WithQuestion(const Aws::String &value)
bool AutoApprovalDelayInSecondsHasBeenSet() const
void SetAutoApprovalDelayInSeconds(long long value)
HIT & WithTitle(const Aws::String &value)
const Aws::String & GetRequesterAnnotation() const
int GetNumberOfAssignmentsCompleted() const
void SetNumberOfAssignmentsAvailable(int value)
bool QualificationRequirementsHasBeenSet() const
void SetHITGroupId(Aws::String &&value)
HIT & WithRequesterAnnotation(Aws::String &&value)
bool QuestionHasBeenSet() const
const Aws::String & GetHITGroupId() const
const Aws::String & GetHITId() const
AWS_MTURK_API HIT & operator=(Aws::Utils::Json::JsonView jsonValue)
HIT & WithDescription(const Aws::String &value)
HIT & WithDescription(Aws::String &&value)
HIT & WithHITId(const Aws::String &value)
HIT & WithCreationTime(Aws::Utils::DateTime &&value)
HIT & WithHITTypeId(const Aws::String &value)
long long GetAssignmentDurationInSeconds() const
HIT & WithQualificationRequirements(Aws::Vector< QualificationRequirement > &&value)
void SetKeywords(Aws::String &&value)
HIT & WithRequesterAnnotation(const char *value)
bool AssignmentDurationInSecondsHasBeenSet() const
void SetDescription(Aws::String &&value)
bool RequesterAnnotationHasBeenSet() const
HIT & WithExpiration(Aws::Utils::DateTime &&value)
const Aws::String & GetHITTypeId() const
HIT & WithHITId(Aws::String &&value)
void SetHITLayoutId(const char *value)
bool ExpirationHasBeenSet() const
int GetNumberOfAssignmentsAvailable() const
void SetHITGroupId(const Aws::String &value)
HIT & WithQualificationRequirements(const Aws::Vector< QualificationRequirement > &value)
void SetQuestion(const char *value)
HIT & WithKeywords(const Aws::String &value)
HIT & WithHITLayoutId(Aws::String &&value)
bool HITReviewStatusHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
HIT & AddQualificationRequirements(const QualificationRequirement &value)
bool HITStatusHasBeenSet() const
HIT & WithHITLayoutId(const Aws::String &value)
bool NumberOfAssignmentsCompletedHasBeenSet() const
void SetHITReviewStatus(HITReviewStatus &&value)
void SetQualificationRequirements(const Aws::Vector< QualificationRequirement > &value)
HIT & WithNumberOfAssignmentsAvailable(int value)
void SetReward(const char *value)
void SetHITLayoutId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue