/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The HIT data structure represents a single HIT, including all the
* information necessary for a Worker to accept and complete the HIT.See
* Also:
AWS
* API Reference
A unique identifier for the HIT.
*/ inline const Aws::String& GetHITId() const{ return m_hITId; } /** *A unique identifier for the HIT.
*/ inline bool HITIdHasBeenSet() const { return m_hITIdHasBeenSet; } /** *A unique identifier for the HIT.
*/ inline void SetHITId(const Aws::String& value) { m_hITIdHasBeenSet = true; m_hITId = value; } /** *A unique identifier for the HIT.
*/ inline void SetHITId(Aws::String&& value) { m_hITIdHasBeenSet = true; m_hITId = std::move(value); } /** *A unique identifier for the HIT.
*/ inline void SetHITId(const char* value) { m_hITIdHasBeenSet = true; m_hITId.assign(value); } /** *A unique identifier for the HIT.
*/ inline HIT& WithHITId(const Aws::String& value) { SetHITId(value); return *this;} /** *A unique identifier for the HIT.
*/ inline HIT& WithHITId(Aws::String&& value) { SetHITId(std::move(value)); return *this;} /** *A unique identifier for the HIT.
*/ inline HIT& WithHITId(const char* value) { SetHITId(value); return *this;} /** *The ID of the HIT type of this HIT
*/ inline const Aws::String& GetHITTypeId() const{ return m_hITTypeId; } /** *The ID of the HIT type of this HIT
*/ inline bool HITTypeIdHasBeenSet() const { return m_hITTypeIdHasBeenSet; } /** *The ID of the HIT type of this HIT
*/ inline void SetHITTypeId(const Aws::String& value) { m_hITTypeIdHasBeenSet = true; m_hITTypeId = value; } /** *The ID of the HIT type of this HIT
*/ inline void SetHITTypeId(Aws::String&& value) { m_hITTypeIdHasBeenSet = true; m_hITTypeId = std::move(value); } /** *The ID of the HIT type of this HIT
*/ inline void SetHITTypeId(const char* value) { m_hITTypeIdHasBeenSet = true; m_hITTypeId.assign(value); } /** *The ID of the HIT type of this HIT
*/ inline HIT& WithHITTypeId(const Aws::String& value) { SetHITTypeId(value); return *this;} /** *The ID of the HIT type of this HIT
*/ inline HIT& WithHITTypeId(Aws::String&& value) { SetHITTypeId(std::move(value)); return *this;} /** *The ID of the HIT type of this HIT
*/ inline HIT& WithHITTypeId(const char* value) { SetHITTypeId(value); return *this;} /** *The ID of the HIT Group of this HIT.
*/ inline const Aws::String& GetHITGroupId() const{ return m_hITGroupId; } /** *The ID of the HIT Group of this HIT.
*/ inline bool HITGroupIdHasBeenSet() const { return m_hITGroupIdHasBeenSet; } /** *The ID of the HIT Group of this HIT.
*/ inline void SetHITGroupId(const Aws::String& value) { m_hITGroupIdHasBeenSet = true; m_hITGroupId = value; } /** *The ID of the HIT Group of this HIT.
*/ inline void SetHITGroupId(Aws::String&& value) { m_hITGroupIdHasBeenSet = true; m_hITGroupId = std::move(value); } /** *The ID of the HIT Group of this HIT.
*/ inline void SetHITGroupId(const char* value) { m_hITGroupIdHasBeenSet = true; m_hITGroupId.assign(value); } /** *The ID of the HIT Group of this HIT.
*/ inline HIT& WithHITGroupId(const Aws::String& value) { SetHITGroupId(value); return *this;} /** *The ID of the HIT Group of this HIT.
*/ inline HIT& WithHITGroupId(Aws::String&& value) { SetHITGroupId(std::move(value)); return *this;} /** *The ID of the HIT Group of this HIT.
*/ inline HIT& WithHITGroupId(const char* value) { SetHITGroupId(value); return *this;} /** *The ID of the HIT Layout of this HIT.
*/ inline const Aws::String& GetHITLayoutId() const{ return m_hITLayoutId; } /** *The ID of the HIT Layout of this HIT.
*/ inline bool HITLayoutIdHasBeenSet() const { return m_hITLayoutIdHasBeenSet; } /** *The ID of the HIT Layout of this HIT.
*/ inline void SetHITLayoutId(const Aws::String& value) { m_hITLayoutIdHasBeenSet = true; m_hITLayoutId = value; } /** *The ID of the HIT Layout of this HIT.
*/ inline void SetHITLayoutId(Aws::String&& value) { m_hITLayoutIdHasBeenSet = true; m_hITLayoutId = std::move(value); } /** *The ID of the HIT Layout of this HIT.
*/ inline void SetHITLayoutId(const char* value) { m_hITLayoutIdHasBeenSet = true; m_hITLayoutId.assign(value); } /** *The ID of the HIT Layout of this HIT.
*/ inline HIT& WithHITLayoutId(const Aws::String& value) { SetHITLayoutId(value); return *this;} /** *The ID of the HIT Layout of this HIT.
*/ inline HIT& WithHITLayoutId(Aws::String&& value) { SetHITLayoutId(std::move(value)); return *this;} /** *The ID of the HIT Layout of this HIT.
*/ inline HIT& WithHITLayoutId(const char* value) { SetHITLayoutId(value); return *this;} /** *The date and time the HIT was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The date and time the HIT was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The date and time the HIT was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The date and time the HIT was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The date and time the HIT was created.
*/ inline HIT& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The date and time the HIT was created.
*/ inline HIT& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The title of the HIT.
*/ inline const Aws::String& GetTitle() const{ return m_title; } /** *The title of the HIT.
*/ inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } /** *The title of the HIT.
*/ inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } /** *The title of the HIT.
*/ inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } /** *The title of the HIT.
*/ inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } /** *The title of the HIT.
*/ inline HIT& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} /** *The title of the HIT.
*/ inline HIT& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} /** *The title of the HIT.
*/ inline HIT& WithTitle(const char* value) { SetTitle(value); return *this;} /** *A general description of the HIT.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A general description of the HIT.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A general description of the HIT.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A general description of the HIT.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A general description of the HIT.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A general description of the HIT.
*/ inline HIT& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A general description of the HIT.
*/ inline HIT& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A general description of the HIT.
*/ inline HIT& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The data the Worker completing the HIT uses produce the results. This is * either either a QuestionForm, HTMLQuestion or an ExternalQuestion data * structure.
*/ inline const Aws::String& GetQuestion() const{ return m_question; } /** *The data the Worker completing the HIT uses produce the results. This is * either either a QuestionForm, HTMLQuestion or an ExternalQuestion data * structure.
*/ inline bool QuestionHasBeenSet() const { return m_questionHasBeenSet; } /** *The data the Worker completing the HIT uses produce the results. This is * either either a QuestionForm, HTMLQuestion or an ExternalQuestion data * structure.
*/ inline void SetQuestion(const Aws::String& value) { m_questionHasBeenSet = true; m_question = value; } /** *The data the Worker completing the HIT uses produce the results. This is * either either a QuestionForm, HTMLQuestion or an ExternalQuestion data * structure.
*/ inline void SetQuestion(Aws::String&& value) { m_questionHasBeenSet = true; m_question = std::move(value); } /** *The data the Worker completing the HIT uses produce the results. This is * either either a QuestionForm, HTMLQuestion or an ExternalQuestion data * structure.
*/ inline void SetQuestion(const char* value) { m_questionHasBeenSet = true; m_question.assign(value); } /** *The data the Worker completing the HIT uses produce the results. This is * either either a QuestionForm, HTMLQuestion or an ExternalQuestion data * structure.
*/ inline HIT& WithQuestion(const Aws::String& value) { SetQuestion(value); return *this;} /** *The data the Worker completing the HIT uses produce the results. This is * either either a QuestionForm, HTMLQuestion or an ExternalQuestion data * structure.
*/ inline HIT& WithQuestion(Aws::String&& value) { SetQuestion(std::move(value)); return *this;} /** *The data the Worker completing the HIT uses produce the results. This is * either either a QuestionForm, HTMLQuestion or an ExternalQuestion data * structure.
*/ inline HIT& WithQuestion(const char* value) { SetQuestion(value); return *this;} /** *One or more words or phrases that describe the HIT, separated by commas. * Search terms similar to the keywords of a HIT are more likely to have the HIT in * the search results.
*/ inline const Aws::String& GetKeywords() const{ return m_keywords; } /** *One or more words or phrases that describe the HIT, separated by commas. * Search terms similar to the keywords of a HIT are more likely to have the HIT in * the search results.
*/ inline bool KeywordsHasBeenSet() const { return m_keywordsHasBeenSet; } /** *One or more words or phrases that describe the HIT, separated by commas. * Search terms similar to the keywords of a HIT are more likely to have the HIT in * the search results.
*/ inline void SetKeywords(const Aws::String& value) { m_keywordsHasBeenSet = true; m_keywords = value; } /** *One or more words or phrases that describe the HIT, separated by commas. * Search terms similar to the keywords of a HIT are more likely to have the HIT in * the search results.
*/ inline void SetKeywords(Aws::String&& value) { m_keywordsHasBeenSet = true; m_keywords = std::move(value); } /** *One or more words or phrases that describe the HIT, separated by commas. * Search terms similar to the keywords of a HIT are more likely to have the HIT in * the search results.
*/ inline void SetKeywords(const char* value) { m_keywordsHasBeenSet = true; m_keywords.assign(value); } /** *One or more words or phrases that describe the HIT, separated by commas. * Search terms similar to the keywords of a HIT are more likely to have the HIT in * the search results.
*/ inline HIT& WithKeywords(const Aws::String& value) { SetKeywords(value); return *this;} /** *One or more words or phrases that describe the HIT, separated by commas. * Search terms similar to the keywords of a HIT are more likely to have the HIT in * the search results.
*/ inline HIT& WithKeywords(Aws::String&& value) { SetKeywords(std::move(value)); return *this;} /** *One or more words or phrases that describe the HIT, separated by commas. * Search terms similar to the keywords of a HIT are more likely to have the HIT in * the search results.
*/ inline HIT& WithKeywords(const char* value) { SetKeywords(value); return *this;} /** *The status of the HIT and its assignments. Valid Values are Assignable | * Unassignable | Reviewable | Reviewing | Disposed.
*/ inline const HITStatus& GetHITStatus() const{ return m_hITStatus; } /** *The status of the HIT and its assignments. Valid Values are Assignable | * Unassignable | Reviewable | Reviewing | Disposed.
*/ inline bool HITStatusHasBeenSet() const { return m_hITStatusHasBeenSet; } /** *The status of the HIT and its assignments. Valid Values are Assignable | * Unassignable | Reviewable | Reviewing | Disposed.
*/ inline void SetHITStatus(const HITStatus& value) { m_hITStatusHasBeenSet = true; m_hITStatus = value; } /** *The status of the HIT and its assignments. Valid Values are Assignable | * Unassignable | Reviewable | Reviewing | Disposed.
*/ inline void SetHITStatus(HITStatus&& value) { m_hITStatusHasBeenSet = true; m_hITStatus = std::move(value); } /** *The status of the HIT and its assignments. Valid Values are Assignable | * Unassignable | Reviewable | Reviewing | Disposed.
*/ inline HIT& WithHITStatus(const HITStatus& value) { SetHITStatus(value); return *this;} /** *The status of the HIT and its assignments. Valid Values are Assignable | * Unassignable | Reviewable | Reviewing | Disposed.
*/ inline HIT& WithHITStatus(HITStatus&& value) { SetHITStatus(std::move(value)); return *this;} /** *The number of times the HIT can be accepted and completed before the HIT * becomes unavailable.
*/ inline int GetMaxAssignments() const{ return m_maxAssignments; } /** *The number of times the HIT can be accepted and completed before the HIT * becomes unavailable.
*/ inline bool MaxAssignmentsHasBeenSet() const { return m_maxAssignmentsHasBeenSet; } /** *The number of times the HIT can be accepted and completed before the HIT * becomes unavailable.
*/ inline void SetMaxAssignments(int value) { m_maxAssignmentsHasBeenSet = true; m_maxAssignments = value; } /** *The number of times the HIT can be accepted and completed before the HIT * becomes unavailable.
*/ inline HIT& WithMaxAssignments(int value) { SetMaxAssignments(value); return *this;} inline const Aws::String& GetReward() const{ return m_reward; } inline bool RewardHasBeenSet() const { return m_rewardHasBeenSet; } inline void SetReward(const Aws::String& value) { m_rewardHasBeenSet = true; m_reward = value; } inline void SetReward(Aws::String&& value) { m_rewardHasBeenSet = true; m_reward = std::move(value); } inline void SetReward(const char* value) { m_rewardHasBeenSet = true; m_reward.assign(value); } inline HIT& WithReward(const Aws::String& value) { SetReward(value); return *this;} inline HIT& WithReward(Aws::String&& value) { SetReward(std::move(value)); return *this;} inline HIT& WithReward(const char* value) { SetReward(value); return *this;} /** *The amount of time, in seconds, after the Worker submits an assignment for * the HIT that the results are automatically approved by Amazon Mechanical Turk. * This is the amount of time the Requester has to reject an assignment submitted * by a Worker before the assignment is auto-approved and the Worker is paid.
*/ inline long long GetAutoApprovalDelayInSeconds() const{ return m_autoApprovalDelayInSeconds; } /** *The amount of time, in seconds, after the Worker submits an assignment for * the HIT that the results are automatically approved by Amazon Mechanical Turk. * This is the amount of time the Requester has to reject an assignment submitted * by a Worker before the assignment is auto-approved and the Worker is paid.
*/ inline bool AutoApprovalDelayInSecondsHasBeenSet() const { return m_autoApprovalDelayInSecondsHasBeenSet; } /** *The amount of time, in seconds, after the Worker submits an assignment for * the HIT that the results are automatically approved by Amazon Mechanical Turk. * This is the amount of time the Requester has to reject an assignment submitted * by a Worker before the assignment is auto-approved and the Worker is paid.
*/ inline void SetAutoApprovalDelayInSeconds(long long value) { m_autoApprovalDelayInSecondsHasBeenSet = true; m_autoApprovalDelayInSeconds = value; } /** *The amount of time, in seconds, after the Worker submits an assignment for * the HIT that the results are automatically approved by Amazon Mechanical Turk. * This is the amount of time the Requester has to reject an assignment submitted * by a Worker before the assignment is auto-approved and the Worker is paid.
*/ inline HIT& WithAutoApprovalDelayInSeconds(long long value) { SetAutoApprovalDelayInSeconds(value); return *this;} /** *The date and time the HIT expires.
*/ inline const Aws::Utils::DateTime& GetExpiration() const{ return m_expiration; } /** *The date and time the HIT expires.
*/ inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; } /** *The date and time the HIT expires.
*/ inline void SetExpiration(const Aws::Utils::DateTime& value) { m_expirationHasBeenSet = true; m_expiration = value; } /** *The date and time the HIT expires.
*/ inline void SetExpiration(Aws::Utils::DateTime&& value) { m_expirationHasBeenSet = true; m_expiration = std::move(value); } /** *The date and time the HIT expires.
*/ inline HIT& WithExpiration(const Aws::Utils::DateTime& value) { SetExpiration(value); return *this;} /** *The date and time the HIT expires.
*/ inline HIT& WithExpiration(Aws::Utils::DateTime&& value) { SetExpiration(std::move(value)); return *this;} /** *The length of time, in seconds, that a Worker has to complete the HIT after * accepting it.
*/ inline long long GetAssignmentDurationInSeconds() const{ return m_assignmentDurationInSeconds; } /** *The length of time, in seconds, that a Worker has to complete the HIT after * accepting it.
*/ inline bool AssignmentDurationInSecondsHasBeenSet() const { return m_assignmentDurationInSecondsHasBeenSet; } /** *The length of time, in seconds, that a Worker has to complete the HIT after * accepting it.
*/ inline void SetAssignmentDurationInSeconds(long long value) { m_assignmentDurationInSecondsHasBeenSet = true; m_assignmentDurationInSeconds = value; } /** *The length of time, in seconds, that a Worker has to complete the HIT after * accepting it.
*/ inline HIT& WithAssignmentDurationInSeconds(long long value) { SetAssignmentDurationInSeconds(value); return *this;} /** *An arbitrary data field the Requester who created the HIT can use. This * field is visible only to the creator of the HIT.
*/ inline const Aws::String& GetRequesterAnnotation() const{ return m_requesterAnnotation; } /** *An arbitrary data field the Requester who created the HIT can use. This * field is visible only to the creator of the HIT.
*/ inline bool RequesterAnnotationHasBeenSet() const { return m_requesterAnnotationHasBeenSet; } /** *An arbitrary data field the Requester who created the HIT can use. This * field is visible only to the creator of the HIT.
*/ inline void SetRequesterAnnotation(const Aws::String& value) { m_requesterAnnotationHasBeenSet = true; m_requesterAnnotation = value; } /** *An arbitrary data field the Requester who created the HIT can use. This * field is visible only to the creator of the HIT.
*/ inline void SetRequesterAnnotation(Aws::String&& value) { m_requesterAnnotationHasBeenSet = true; m_requesterAnnotation = std::move(value); } /** *An arbitrary data field the Requester who created the HIT can use. This * field is visible only to the creator of the HIT.
*/ inline void SetRequesterAnnotation(const char* value) { m_requesterAnnotationHasBeenSet = true; m_requesterAnnotation.assign(value); } /** *An arbitrary data field the Requester who created the HIT can use. This * field is visible only to the creator of the HIT.
*/ inline HIT& WithRequesterAnnotation(const Aws::String& value) { SetRequesterAnnotation(value); return *this;} /** *An arbitrary data field the Requester who created the HIT can use. This * field is visible only to the creator of the HIT.
*/ inline HIT& WithRequesterAnnotation(Aws::String&& value) { SetRequesterAnnotation(std::move(value)); return *this;} /** *An arbitrary data field the Requester who created the HIT can use. This * field is visible only to the creator of the HIT.
*/ inline HIT& WithRequesterAnnotation(const char* value) { SetRequesterAnnotation(value); return *this;} /** * Conditions that a Worker's Qualifications must meet in order to accept the
* HIT. A HIT can have between zero and ten Qualification requirements. All
* requirements must be met in order for a Worker to accept the HIT. Additionally,
* other actions can be restricted using the ActionsGuarded
field on
* each QualificationRequirement
structure.
Conditions that a Worker's Qualifications must meet in order to accept the
* HIT. A HIT can have between zero and ten Qualification requirements. All
* requirements must be met in order for a Worker to accept the HIT. Additionally,
* other actions can be restricted using the ActionsGuarded
field on
* each QualificationRequirement
structure.
Conditions that a Worker's Qualifications must meet in order to accept the
* HIT. A HIT can have between zero and ten Qualification requirements. All
* requirements must be met in order for a Worker to accept the HIT. Additionally,
* other actions can be restricted using the ActionsGuarded
field on
* each QualificationRequirement
structure.
Conditions that a Worker's Qualifications must meet in order to accept the
* HIT. A HIT can have between zero and ten Qualification requirements. All
* requirements must be met in order for a Worker to accept the HIT. Additionally,
* other actions can be restricted using the ActionsGuarded
field on
* each QualificationRequirement
structure.
Conditions that a Worker's Qualifications must meet in order to accept the
* HIT. A HIT can have between zero and ten Qualification requirements. All
* requirements must be met in order for a Worker to accept the HIT. Additionally,
* other actions can be restricted using the ActionsGuarded
field on
* each QualificationRequirement
structure.
Conditions that a Worker's Qualifications must meet in order to accept the
* HIT. A HIT can have between zero and ten Qualification requirements. All
* requirements must be met in order for a Worker to accept the HIT. Additionally,
* other actions can be restricted using the ActionsGuarded
field on
* each QualificationRequirement
structure.
Conditions that a Worker's Qualifications must meet in order to accept the
* HIT. A HIT can have between zero and ten Qualification requirements. All
* requirements must be met in order for a Worker to accept the HIT. Additionally,
* other actions can be restricted using the ActionsGuarded
field on
* each QualificationRequirement
structure.
Conditions that a Worker's Qualifications must meet in order to accept the
* HIT. A HIT can have between zero and ten Qualification requirements. All
* requirements must be met in order for a Worker to accept the HIT. Additionally,
* other actions can be restricted using the ActionsGuarded
field on
* each QualificationRequirement
structure.
Indicates the review status of the HIT. Valid Values are NotReviewed | * MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.
*/ inline const HITReviewStatus& GetHITReviewStatus() const{ return m_hITReviewStatus; } /** *Indicates the review status of the HIT. Valid Values are NotReviewed | * MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.
*/ inline bool HITReviewStatusHasBeenSet() const { return m_hITReviewStatusHasBeenSet; } /** *Indicates the review status of the HIT. Valid Values are NotReviewed | * MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.
*/ inline void SetHITReviewStatus(const HITReviewStatus& value) { m_hITReviewStatusHasBeenSet = true; m_hITReviewStatus = value; } /** *Indicates the review status of the HIT. Valid Values are NotReviewed | * MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.
*/ inline void SetHITReviewStatus(HITReviewStatus&& value) { m_hITReviewStatusHasBeenSet = true; m_hITReviewStatus = std::move(value); } /** *Indicates the review status of the HIT. Valid Values are NotReviewed | * MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.
*/ inline HIT& WithHITReviewStatus(const HITReviewStatus& value) { SetHITReviewStatus(value); return *this;} /** *Indicates the review status of the HIT. Valid Values are NotReviewed | * MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.
*/ inline HIT& WithHITReviewStatus(HITReviewStatus&& value) { SetHITReviewStatus(std::move(value)); return *this;} /** *The number of assignments for this HIT that are being previewed or have been * accepted by Workers, but have not yet been submitted, returned, or * abandoned.
*/ inline int GetNumberOfAssignmentsPending() const{ return m_numberOfAssignmentsPending; } /** *The number of assignments for this HIT that are being previewed or have been * accepted by Workers, but have not yet been submitted, returned, or * abandoned.
*/ inline bool NumberOfAssignmentsPendingHasBeenSet() const { return m_numberOfAssignmentsPendingHasBeenSet; } /** *The number of assignments for this HIT that are being previewed or have been * accepted by Workers, but have not yet been submitted, returned, or * abandoned.
*/ inline void SetNumberOfAssignmentsPending(int value) { m_numberOfAssignmentsPendingHasBeenSet = true; m_numberOfAssignmentsPending = value; } /** *The number of assignments for this HIT that are being previewed or have been * accepted by Workers, but have not yet been submitted, returned, or * abandoned.
*/ inline HIT& WithNumberOfAssignmentsPending(int value) { SetNumberOfAssignmentsPending(value); return *this;} /** *The number of assignments for this HIT that are available for Workers to * accept.
*/ inline int GetNumberOfAssignmentsAvailable() const{ return m_numberOfAssignmentsAvailable; } /** *The number of assignments for this HIT that are available for Workers to * accept.
*/ inline bool NumberOfAssignmentsAvailableHasBeenSet() const { return m_numberOfAssignmentsAvailableHasBeenSet; } /** *The number of assignments for this HIT that are available for Workers to * accept.
*/ inline void SetNumberOfAssignmentsAvailable(int value) { m_numberOfAssignmentsAvailableHasBeenSet = true; m_numberOfAssignmentsAvailable = value; } /** *The number of assignments for this HIT that are available for Workers to * accept.
*/ inline HIT& WithNumberOfAssignmentsAvailable(int value) { SetNumberOfAssignmentsAvailable(value); return *this;} /** *The number of assignments for this HIT that have been approved or * rejected.
*/ inline int GetNumberOfAssignmentsCompleted() const{ return m_numberOfAssignmentsCompleted; } /** *The number of assignments for this HIT that have been approved or * rejected.
*/ inline bool NumberOfAssignmentsCompletedHasBeenSet() const { return m_numberOfAssignmentsCompletedHasBeenSet; } /** *The number of assignments for this HIT that have been approved or * rejected.
*/ inline void SetNumberOfAssignmentsCompleted(int value) { m_numberOfAssignmentsCompletedHasBeenSet = true; m_numberOfAssignmentsCompleted = value; } /** *The number of assignments for this HIT that have been approved or * rejected.
*/ inline HIT& WithNumberOfAssignmentsCompleted(int value) { SetNumberOfAssignmentsCompleted(value); return *this;} private: Aws::String m_hITId; bool m_hITIdHasBeenSet = false; Aws::String m_hITTypeId; bool m_hITTypeIdHasBeenSet = false; Aws::String m_hITGroupId; bool m_hITGroupIdHasBeenSet = false; Aws::String m_hITLayoutId; bool m_hITLayoutIdHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_title; bool m_titleHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_question; bool m_questionHasBeenSet = false; Aws::String m_keywords; bool m_keywordsHasBeenSet = false; HITStatus m_hITStatus; bool m_hITStatusHasBeenSet = false; int m_maxAssignments; bool m_maxAssignmentsHasBeenSet = false; Aws::String m_reward; bool m_rewardHasBeenSet = false; long long m_autoApprovalDelayInSeconds; bool m_autoApprovalDelayInSecondsHasBeenSet = false; Aws::Utils::DateTime m_expiration; bool m_expirationHasBeenSet = false; long long m_assignmentDurationInSeconds; bool m_assignmentDurationInSecondsHasBeenSet = false; Aws::String m_requesterAnnotation; bool m_requesterAnnotationHasBeenSet = false; Aws::Vector