7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/mturk-requester/MTurkRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mturk-requester/model/ReviewPolicy.h>
12#include <aws/mturk-requester/model/QualificationRequirement.h>
13#include <aws/mturk-requester/model/HITLayoutParameter.h>
48 inline void SetMaxAssignments(
int value) { m_maxAssignmentsHasBeenSet =
true; m_maxAssignments = value; }
73 inline void SetLifetimeInSeconds(
long long value) { m_lifetimeInSecondsHasBeenSet =
true; m_lifetimeInSeconds = value; }
100 inline void SetReward(
const char* value) { m_rewardHasBeenSet =
true; m_reward.assign(value); }
116 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
131 inline void SetKeywords(
const char* value) { m_keywordsHasBeenSet =
true; m_keywords.assign(value); }
149 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
167 inline void SetQuestion(
const char* value) { m_questionHasBeenSet =
true; m_question.assign(value); }
188 inline void SetRequesterAnnotation(
const char* value) { m_requesterAnnotationHasBeenSet =
true; m_requesterAnnotation.assign(value); }
229 inline void SetUniqueRequestToken(
const char* value) { m_uniqueRequestTokenHasBeenSet =
true; m_uniqueRequestToken.assign(value); }
273 inline void SetHITLayoutId(
const char* value) { m_hITLayoutIdHasBeenSet =
true; m_hITLayoutId.assign(value); }
296 int m_maxAssignments;
297 bool m_maxAssignmentsHasBeenSet =
false;
299 long long m_autoApprovalDelayInSeconds;
300 bool m_autoApprovalDelayInSecondsHasBeenSet =
false;
302 long long m_lifetimeInSeconds;
303 bool m_lifetimeInSecondsHasBeenSet =
false;
305 long long m_assignmentDurationInSeconds;
306 bool m_assignmentDurationInSecondsHasBeenSet =
false;
309 bool m_rewardHasBeenSet =
false;
312 bool m_titleHasBeenSet =
false;
315 bool m_keywordsHasBeenSet =
false;
318 bool m_descriptionHasBeenSet =
false;
321 bool m_questionHasBeenSet =
false;
324 bool m_requesterAnnotationHasBeenSet =
false;
327 bool m_qualificationRequirementsHasBeenSet =
false;
330 bool m_uniqueRequestTokenHasBeenSet =
false;
333 bool m_assignmentReviewPolicyHasBeenSet =
false;
336 bool m_hITReviewPolicyHasBeenSet =
false;
339 bool m_hITLayoutIdHasBeenSet =
false;
342 bool m_hITLayoutParametersHasBeenSet =
false;
CreateHITRequest & WithHITReviewPolicy(const ReviewPolicy &value)
CreateHITRequest & WithUniqueRequestToken(const char *value)
void SetHITReviewPolicy(const ReviewPolicy &value)
void SetQualificationRequirements(Aws::Vector< QualificationRequirement > &&value)
bool RequesterAnnotationHasBeenSet() const
const Aws::String & GetKeywords() const
CreateHITRequest & WithQuestion(const char *value)
const ReviewPolicy & GetAssignmentReviewPolicy() const
bool HITLayoutIdHasBeenSet() const
CreateHITRequest & WithAutoApprovalDelayInSeconds(long long value)
void SetHITLayoutId(const Aws::String &value)
const Aws::String & GetReward() const
CreateHITRequest & WithDescription(const Aws::String &value)
void SetAssignmentReviewPolicy(const ReviewPolicy &value)
CreateHITRequest & WithKeywords(Aws::String &&value)
AWS_MTURK_API CreateHITRequest()
const Aws::Vector< HITLayoutParameter > & GetHITLayoutParameters() const
bool HITLayoutParametersHasBeenSet() const
CreateHITRequest & WithMaxAssignments(int value)
CreateHITRequest & WithRequesterAnnotation(Aws::String &&value)
bool DescriptionHasBeenSet() const
bool RewardHasBeenSet() const
void SetAssignmentDurationInSeconds(long long value)
void SetQuestion(const Aws::String &value)
CreateHITRequest & WithHITLayoutParameters(const Aws::Vector< HITLayoutParameter > &value)
long long GetLifetimeInSeconds() const
bool AssignmentReviewPolicyHasBeenSet() const
long long GetAutoApprovalDelayInSeconds() const
void SetKeywords(const Aws::String &value)
CreateHITRequest & AddHITLayoutParameters(const HITLayoutParameter &value)
const Aws::String & GetUniqueRequestToken() const
void SetHITLayoutParameters(Aws::Vector< HITLayoutParameter > &&value)
void SetRequesterAnnotation(const Aws::String &value)
CreateHITRequest & WithHITLayoutId(Aws::String &&value)
CreateHITRequest & WithKeywords(const Aws::String &value)
CreateHITRequest & WithLifetimeInSeconds(long long value)
CreateHITRequest & WithHITLayoutParameters(Aws::Vector< HITLayoutParameter > &&value)
CreateHITRequest & WithQuestion(Aws::String &&value)
CreateHITRequest & WithReward(const char *value)
CreateHITRequest & WithHITReviewPolicy(ReviewPolicy &&value)
CreateHITRequest & AddQualificationRequirements(const QualificationRequirement &value)
bool HITReviewPolicyHasBeenSet() const
CreateHITRequest & AddQualificationRequirements(QualificationRequirement &&value)
bool LifetimeInSecondsHasBeenSet() const
CreateHITRequest & WithTitle(const char *value)
bool QuestionHasBeenSet() const
const ReviewPolicy & GetHITReviewPolicy() const
int GetMaxAssignments() const
void SetHITLayoutId(const char *value)
CreateHITRequest & WithTitle(Aws::String &&value)
void SetQuestion(Aws::String &&value)
long long GetAssignmentDurationInSeconds() const
CreateHITRequest & WithQualificationRequirements(Aws::Vector< QualificationRequirement > &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetQuestion() const
void SetHITLayoutParameters(const Aws::Vector< HITLayoutParameter > &value)
const Aws::String & GetDescription() const
const Aws::String & GetHITLayoutId() const
void SetReward(const char *value)
const Aws::String & GetRequesterAnnotation() const
bool UniqueRequestTokenHasBeenSet() const
CreateHITRequest & WithDescription(const char *value)
void SetTitle(const Aws::String &value)
void SetHITLayoutId(Aws::String &&value)
CreateHITRequest & WithQualificationRequirements(const Aws::Vector< QualificationRequirement > &value)
CreateHITRequest & WithHITLayoutId(const Aws::String &value)
bool TitleHasBeenSet() const
void SetUniqueRequestToken(const Aws::String &value)
void SetRequesterAnnotation(Aws::String &&value)
void SetAutoApprovalDelayInSeconds(long long value)
void SetKeywords(const char *value)
CreateHITRequest & AddHITLayoutParameters(HITLayoutParameter &&value)
void SetDescription(const char *value)
void SetUniqueRequestToken(const char *value)
void SetQualificationRequirements(const Aws::Vector< QualificationRequirement > &value)
CreateHITRequest & WithDescription(Aws::String &&value)
CreateHITRequest & WithQuestion(const Aws::String &value)
void SetQuestion(const char *value)
void SetReward(const Aws::String &value)
CreateHITRequest & WithUniqueRequestToken(Aws::String &&value)
AWS_MTURK_API Aws::String SerializePayload() const override
void SetReward(Aws::String &&value)
bool MaxAssignmentsHasBeenSet() const
void SetAssignmentReviewPolicy(ReviewPolicy &&value)
CreateHITRequest & WithAssignmentReviewPolicy(const ReviewPolicy &value)
void SetMaxAssignments(int value)
bool QualificationRequirementsHasBeenSet() const
void SetTitle(Aws::String &&value)
CreateHITRequest & WithRequesterAnnotation(const char *value)
CreateHITRequest & WithRequesterAnnotation(const Aws::String &value)
void SetDescription(const Aws::String &value)
CreateHITRequest & WithReward(const Aws::String &value)
void SetTitle(const char *value)
bool AutoApprovalDelayInSecondsHasBeenSet() const
bool AssignmentDurationInSecondsHasBeenSet() const
CreateHITRequest & WithReward(Aws::String &&value)
void SetLifetimeInSeconds(long long value)
const Aws::Vector< QualificationRequirement > & GetQualificationRequirements() const
void SetHITReviewPolicy(ReviewPolicy &&value)
bool KeywordsHasBeenSet() const
CreateHITRequest & WithTitle(const Aws::String &value)
CreateHITRequest & WithKeywords(const char *value)
const Aws::String & GetTitle() const
CreateHITRequest & WithAssignmentDurationInSeconds(long long value)
CreateHITRequest & WithHITLayoutId(const char *value)
CreateHITRequest & WithAssignmentReviewPolicy(ReviewPolicy &&value)
CreateHITRequest & WithUniqueRequestToken(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetUniqueRequestToken(Aws::String &&value)
AWS_MTURK_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetRequesterAnnotation(const char *value)
void SetKeywords(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector