AWS SDK for C++  1.9.104
AWS SDK for C++
CreateHITRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace MTurk
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CreateHIT"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
45  inline int GetMaxAssignments() const{ return m_maxAssignments; }
46 
51  inline bool MaxAssignmentsHasBeenSet() const { return m_maxAssignmentsHasBeenSet; }
52 
57  inline void SetMaxAssignments(int value) { m_maxAssignmentsHasBeenSet = true; m_maxAssignments = value; }
58 
63  inline CreateHITRequest& WithMaxAssignments(int value) { SetMaxAssignments(value); return *this;}
64 
65 
71  inline long long GetAutoApprovalDelayInSeconds() const{ return m_autoApprovalDelayInSeconds; }
72 
78  inline bool AutoApprovalDelayInSecondsHasBeenSet() const { return m_autoApprovalDelayInSecondsHasBeenSet; }
79 
85  inline void SetAutoApprovalDelayInSeconds(long long value) { m_autoApprovalDelayInSecondsHasBeenSet = true; m_autoApprovalDelayInSeconds = value; }
86 
92  inline CreateHITRequest& WithAutoApprovalDelayInSeconds(long long value) { SetAutoApprovalDelayInSeconds(value); return *this;}
93 
94 
101  inline long long GetLifetimeInSeconds() const{ return m_lifetimeInSeconds; }
102 
109  inline bool LifetimeInSecondsHasBeenSet() const { return m_lifetimeInSecondsHasBeenSet; }
110 
117  inline void SetLifetimeInSeconds(long long value) { m_lifetimeInSecondsHasBeenSet = true; m_lifetimeInSeconds = value; }
118 
125  inline CreateHITRequest& WithLifetimeInSeconds(long long value) { SetLifetimeInSeconds(value); return *this;}
126 
127 
135  inline long long GetAssignmentDurationInSeconds() const{ return m_assignmentDurationInSeconds; }
136 
144  inline bool AssignmentDurationInSecondsHasBeenSet() const { return m_assignmentDurationInSecondsHasBeenSet; }
145 
153  inline void SetAssignmentDurationInSeconds(long long value) { m_assignmentDurationInSecondsHasBeenSet = true; m_assignmentDurationInSeconds = value; }
154 
162  inline CreateHITRequest& WithAssignmentDurationInSeconds(long long value) { SetAssignmentDurationInSeconds(value); return *this;}
163 
164 
169  inline const Aws::String& GetReward() const{ return m_reward; }
170 
175  inline bool RewardHasBeenSet() const { return m_rewardHasBeenSet; }
176 
181  inline void SetReward(const Aws::String& value) { m_rewardHasBeenSet = true; m_reward = value; }
182 
187  inline void SetReward(Aws::String&& value) { m_rewardHasBeenSet = true; m_reward = std::move(value); }
188 
193  inline void SetReward(const char* value) { m_rewardHasBeenSet = true; m_reward.assign(value); }
194 
199  inline CreateHITRequest& WithReward(const Aws::String& value) { SetReward(value); return *this;}
200 
205  inline CreateHITRequest& WithReward(Aws::String&& value) { SetReward(std::move(value)); return *this;}
206 
211  inline CreateHITRequest& WithReward(const char* value) { SetReward(value); return *this;}
212 
213 
219  inline const Aws::String& GetTitle() const{ return m_title; }
220 
226  inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
227 
233  inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
234 
240  inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
241 
247  inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
248 
254  inline CreateHITRequest& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
255 
261  inline CreateHITRequest& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
262 
268  inline CreateHITRequest& WithTitle(const char* value) { SetTitle(value); return *this;}
269 
270 
275  inline const Aws::String& GetKeywords() const{ return m_keywords; }
276 
281  inline bool KeywordsHasBeenSet() const { return m_keywordsHasBeenSet; }
282 
287  inline void SetKeywords(const Aws::String& value) { m_keywordsHasBeenSet = true; m_keywords = value; }
288 
293  inline void SetKeywords(Aws::String&& value) { m_keywordsHasBeenSet = true; m_keywords = std::move(value); }
294 
299  inline void SetKeywords(const char* value) { m_keywordsHasBeenSet = true; m_keywords.assign(value); }
300 
305  inline CreateHITRequest& WithKeywords(const Aws::String& value) { SetKeywords(value); return *this;}
306 
311  inline CreateHITRequest& WithKeywords(Aws::String&& value) { SetKeywords(std::move(value)); return *this;}
312 
317  inline CreateHITRequest& WithKeywords(const char* value) { SetKeywords(value); return *this;}
318 
319 
327  inline const Aws::String& GetDescription() const{ return m_description; }
328 
336  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
337 
345  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
346 
354  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
355 
363  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
364 
372  inline CreateHITRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
373 
381  inline CreateHITRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
382 
390  inline CreateHITRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
391 
392 
400  inline const Aws::String& GetQuestion() const{ return m_question; }
401 
409  inline bool QuestionHasBeenSet() const { return m_questionHasBeenSet; }
410 
418  inline void SetQuestion(const Aws::String& value) { m_questionHasBeenSet = true; m_question = value; }
419 
427  inline void SetQuestion(Aws::String&& value) { m_questionHasBeenSet = true; m_question = std::move(value); }
428 
436  inline void SetQuestion(const char* value) { m_questionHasBeenSet = true; m_question.assign(value); }
437 
445  inline CreateHITRequest& WithQuestion(const Aws::String& value) { SetQuestion(value); return *this;}
446 
454  inline CreateHITRequest& WithQuestion(Aws::String&& value) { SetQuestion(std::move(value)); return *this;}
455 
463  inline CreateHITRequest& WithQuestion(const char* value) { SetQuestion(value); return *this;}
464 
465 
476  inline const Aws::String& GetRequesterAnnotation() const{ return m_requesterAnnotation; }
477 
488  inline bool RequesterAnnotationHasBeenSet() const { return m_requesterAnnotationHasBeenSet; }
489 
500  inline void SetRequesterAnnotation(const Aws::String& value) { m_requesterAnnotationHasBeenSet = true; m_requesterAnnotation = value; }
501 
512  inline void SetRequesterAnnotation(Aws::String&& value) { m_requesterAnnotationHasBeenSet = true; m_requesterAnnotation = std::move(value); }
513 
524  inline void SetRequesterAnnotation(const char* value) { m_requesterAnnotationHasBeenSet = true; m_requesterAnnotation.assign(value); }
525 
536  inline CreateHITRequest& WithRequesterAnnotation(const Aws::String& value) { SetRequesterAnnotation(value); return *this;}
537 
548  inline CreateHITRequest& WithRequesterAnnotation(Aws::String&& value) { SetRequesterAnnotation(std::move(value)); return *this;}
549 
560  inline CreateHITRequest& WithRequesterAnnotation(const char* value) { SetRequesterAnnotation(value); return *this;}
561 
562 
570  inline const Aws::Vector<QualificationRequirement>& GetQualificationRequirements() const{ return m_qualificationRequirements; }
571 
579  inline bool QualificationRequirementsHasBeenSet() const { return m_qualificationRequirementsHasBeenSet; }
580 
588  inline void SetQualificationRequirements(const Aws::Vector<QualificationRequirement>& value) { m_qualificationRequirementsHasBeenSet = true; m_qualificationRequirements = value; }
589 
597  inline void SetQualificationRequirements(Aws::Vector<QualificationRequirement>&& value) { m_qualificationRequirementsHasBeenSet = true; m_qualificationRequirements = std::move(value); }
598 
606  inline CreateHITRequest& WithQualificationRequirements(const Aws::Vector<QualificationRequirement>& value) { SetQualificationRequirements(value); return *this;}
607 
615  inline CreateHITRequest& WithQualificationRequirements(Aws::Vector<QualificationRequirement>&& value) { SetQualificationRequirements(std::move(value)); return *this;}
616 
624  inline CreateHITRequest& AddQualificationRequirements(const QualificationRequirement& value) { m_qualificationRequirementsHasBeenSet = true; m_qualificationRequirements.push_back(value); return *this; }
625 
633  inline CreateHITRequest& AddQualificationRequirements(QualificationRequirement&& value) { m_qualificationRequirementsHasBeenSet = true; m_qualificationRequirements.push_back(std::move(value)); return *this; }
634 
635 
648  inline const Aws::String& GetUniqueRequestToken() const{ return m_uniqueRequestToken; }
649 
662  inline bool UniqueRequestTokenHasBeenSet() const { return m_uniqueRequestTokenHasBeenSet; }
663 
676  inline void SetUniqueRequestToken(const Aws::String& value) { m_uniqueRequestTokenHasBeenSet = true; m_uniqueRequestToken = value; }
677 
690  inline void SetUniqueRequestToken(Aws::String&& value) { m_uniqueRequestTokenHasBeenSet = true; m_uniqueRequestToken = std::move(value); }
691 
704  inline void SetUniqueRequestToken(const char* value) { m_uniqueRequestTokenHasBeenSet = true; m_uniqueRequestToken.assign(value); }
705 
718  inline CreateHITRequest& WithUniqueRequestToken(const Aws::String& value) { SetUniqueRequestToken(value); return *this;}
719 
732  inline CreateHITRequest& WithUniqueRequestToken(Aws::String&& value) { SetUniqueRequestToken(std::move(value)); return *this;}
733 
746  inline CreateHITRequest& WithUniqueRequestToken(const char* value) { SetUniqueRequestToken(value); return *this;}
747 
748 
754  inline const ReviewPolicy& GetAssignmentReviewPolicy() const{ return m_assignmentReviewPolicy; }
755 
761  inline bool AssignmentReviewPolicyHasBeenSet() const { return m_assignmentReviewPolicyHasBeenSet; }
762 
768  inline void SetAssignmentReviewPolicy(const ReviewPolicy& value) { m_assignmentReviewPolicyHasBeenSet = true; m_assignmentReviewPolicy = value; }
769 
775  inline void SetAssignmentReviewPolicy(ReviewPolicy&& value) { m_assignmentReviewPolicyHasBeenSet = true; m_assignmentReviewPolicy = std::move(value); }
776 
782  inline CreateHITRequest& WithAssignmentReviewPolicy(const ReviewPolicy& value) { SetAssignmentReviewPolicy(value); return *this;}
783 
789  inline CreateHITRequest& WithAssignmentReviewPolicy(ReviewPolicy&& value) { SetAssignmentReviewPolicy(std::move(value)); return *this;}
790 
791 
796  inline const ReviewPolicy& GetHITReviewPolicy() const{ return m_hITReviewPolicy; }
797 
802  inline bool HITReviewPolicyHasBeenSet() const { return m_hITReviewPolicyHasBeenSet; }
803 
808  inline void SetHITReviewPolicy(const ReviewPolicy& value) { m_hITReviewPolicyHasBeenSet = true; m_hITReviewPolicy = value; }
809 
814  inline void SetHITReviewPolicy(ReviewPolicy&& value) { m_hITReviewPolicyHasBeenSet = true; m_hITReviewPolicy = std::move(value); }
815 
820  inline CreateHITRequest& WithHITReviewPolicy(const ReviewPolicy& value) { SetHITReviewPolicy(value); return *this;}
821 
826  inline CreateHITRequest& WithHITReviewPolicy(ReviewPolicy&& value) { SetHITReviewPolicy(std::move(value)); return *this;}
827 
828 
835  inline const Aws::String& GetHITLayoutId() const{ return m_hITLayoutId; }
836 
843  inline bool HITLayoutIdHasBeenSet() const { return m_hITLayoutIdHasBeenSet; }
844 
851  inline void SetHITLayoutId(const Aws::String& value) { m_hITLayoutIdHasBeenSet = true; m_hITLayoutId = value; }
852 
859  inline void SetHITLayoutId(Aws::String&& value) { m_hITLayoutIdHasBeenSet = true; m_hITLayoutId = std::move(value); }
860 
867  inline void SetHITLayoutId(const char* value) { m_hITLayoutIdHasBeenSet = true; m_hITLayoutId.assign(value); }
868 
875  inline CreateHITRequest& WithHITLayoutId(const Aws::String& value) { SetHITLayoutId(value); return *this;}
876 
883  inline CreateHITRequest& WithHITLayoutId(Aws::String&& value) { SetHITLayoutId(std::move(value)); return *this;}
884 
891  inline CreateHITRequest& WithHITLayoutId(const char* value) { SetHITLayoutId(value); return *this;}
892 
893 
899  inline const Aws::Vector<HITLayoutParameter>& GetHITLayoutParameters() const{ return m_hITLayoutParameters; }
900 
906  inline bool HITLayoutParametersHasBeenSet() const { return m_hITLayoutParametersHasBeenSet; }
907 
913  inline void SetHITLayoutParameters(const Aws::Vector<HITLayoutParameter>& value) { m_hITLayoutParametersHasBeenSet = true; m_hITLayoutParameters = value; }
914 
920  inline void SetHITLayoutParameters(Aws::Vector<HITLayoutParameter>&& value) { m_hITLayoutParametersHasBeenSet = true; m_hITLayoutParameters = std::move(value); }
921 
927  inline CreateHITRequest& WithHITLayoutParameters(const Aws::Vector<HITLayoutParameter>& value) { SetHITLayoutParameters(value); return *this;}
928 
934  inline CreateHITRequest& WithHITLayoutParameters(Aws::Vector<HITLayoutParameter>&& value) { SetHITLayoutParameters(std::move(value)); return *this;}
935 
941  inline CreateHITRequest& AddHITLayoutParameters(const HITLayoutParameter& value) { m_hITLayoutParametersHasBeenSet = true; m_hITLayoutParameters.push_back(value); return *this; }
942 
948  inline CreateHITRequest& AddHITLayoutParameters(HITLayoutParameter&& value) { m_hITLayoutParametersHasBeenSet = true; m_hITLayoutParameters.push_back(std::move(value)); return *this; }
949 
950  private:
951 
952  int m_maxAssignments;
953  bool m_maxAssignmentsHasBeenSet;
954 
955  long long m_autoApprovalDelayInSeconds;
956  bool m_autoApprovalDelayInSecondsHasBeenSet;
957 
958  long long m_lifetimeInSeconds;
959  bool m_lifetimeInSecondsHasBeenSet;
960 
961  long long m_assignmentDurationInSeconds;
962  bool m_assignmentDurationInSecondsHasBeenSet;
963 
964  Aws::String m_reward;
965  bool m_rewardHasBeenSet;
966 
967  Aws::String m_title;
968  bool m_titleHasBeenSet;
969 
970  Aws::String m_keywords;
971  bool m_keywordsHasBeenSet;
972 
973  Aws::String m_description;
974  bool m_descriptionHasBeenSet;
975 
976  Aws::String m_question;
977  bool m_questionHasBeenSet;
978 
979  Aws::String m_requesterAnnotation;
980  bool m_requesterAnnotationHasBeenSet;
981 
982  Aws::Vector<QualificationRequirement> m_qualificationRequirements;
983  bool m_qualificationRequirementsHasBeenSet;
984 
985  Aws::String m_uniqueRequestToken;
986  bool m_uniqueRequestTokenHasBeenSet;
987 
988  ReviewPolicy m_assignmentReviewPolicy;
989  bool m_assignmentReviewPolicyHasBeenSet;
990 
991  ReviewPolicy m_hITReviewPolicy;
992  bool m_hITReviewPolicyHasBeenSet;
993 
994  Aws::String m_hITLayoutId;
995  bool m_hITLayoutIdHasBeenSet;
996 
997  Aws::Vector<HITLayoutParameter> m_hITLayoutParameters;
998  bool m_hITLayoutParametersHasBeenSet;
999  };
1000 
1001 } // namespace Model
1002 } // namespace MTurk
1003 } // namespace Aws
Aws::MTurk::Model::CreateHITRequest::WithRequesterAnnotation
CreateHITRequest & WithRequesterAnnotation(const char *value)
Definition: CreateHITRequest.h:560
Aws::MTurk::Model::CreateHITRequest::WithHITReviewPolicy
CreateHITRequest & WithHITReviewPolicy(ReviewPolicy &&value)
Definition: CreateHITRequest.h:826
Aws::MTurk::Model::CreateHITRequest::RewardHasBeenSet
bool RewardHasBeenSet() const
Definition: CreateHITRequest.h:175
Aws::MTurk::Model::CreateHITRequest::WithKeywords
CreateHITRequest & WithKeywords(const char *value)
Definition: CreateHITRequest.h:317
Aws::MTurk::Model::CreateHITRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateHITRequest.h:345
QualificationRequirement.h
Aws::MTurk::Model::CreateHITRequest::GetHITReviewPolicy
const ReviewPolicy & GetHITReviewPolicy() const
Definition: CreateHITRequest.h:796
Aws::MTurk::Model::CreateHITRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::MTurk::Model::CreateHITRequest::WithQualificationRequirements
CreateHITRequest & WithQualificationRequirements(Aws::Vector< QualificationRequirement > &&value)
Definition: CreateHITRequest.h:615
Aws::MTurk::Model::CreateHITRequest::SetAssignmentDurationInSeconds
void SetAssignmentDurationInSeconds(long long value)
Definition: CreateHITRequest.h:153
Aws::MTurk::Model::CreateHITRequest::WithDescription
CreateHITRequest & WithDescription(Aws::String &&value)
Definition: CreateHITRequest.h:381
Aws::MTurk::Model::CreateHITRequest::SetQuestion
void SetQuestion(Aws::String &&value)
Definition: CreateHITRequest.h:427
Aws::MTurk::Model::CreateHITRequest::TitleHasBeenSet
bool TitleHasBeenSet() const
Definition: CreateHITRequest.h:226
Aws::MTurk::Model::CreateHITRequest::WithDescription
CreateHITRequest & WithDescription(const char *value)
Definition: CreateHITRequest.h:390
Aws::MTurk::Model::CreateHITRequest::LifetimeInSecondsHasBeenSet
bool LifetimeInSecondsHasBeenSet() const
Definition: CreateHITRequest.h:109
Aws::MTurk::Model::CreateHITRequest::SetQuestion
void SetQuestion(const Aws::String &value)
Definition: CreateHITRequest.h:418
Aws::MTurk::Model::CreateHITRequest::SetRequesterAnnotation
void SetRequesterAnnotation(const Aws::String &value)
Definition: CreateHITRequest.h:500
Aws::MTurk::Model::CreateHITRequest::WithQuestion
CreateHITRequest & WithQuestion(const Aws::String &value)
Definition: CreateHITRequest.h:445
Aws::MTurk::Model::CreateHITRequest::SetMaxAssignments
void SetMaxAssignments(int value)
Definition: CreateHITRequest.h:57
Aws::MTurk::Model::CreateHITRequest::SetQuestion
void SetQuestion(const char *value)
Definition: CreateHITRequest.h:436
Aws::MTurk::Model::CreateHITRequest::MaxAssignmentsHasBeenSet
bool MaxAssignmentsHasBeenSet() const
Definition: CreateHITRequest.h:51
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MTurk::Model::CreateHITRequest::GetRequesterAnnotation
const Aws::String & GetRequesterAnnotation() const
Definition: CreateHITRequest.h:476
Aws::MTurk::Model::CreateHITRequest::QualificationRequirementsHasBeenSet
bool QualificationRequirementsHasBeenSet() const
Definition: CreateHITRequest.h:579
Aws::MTurk::Model::CreateHITRequest::WithQualificationRequirements
CreateHITRequest & WithQualificationRequirements(const Aws::Vector< QualificationRequirement > &value)
Definition: CreateHITRequest.h:606
Aws::MTurk::Model::CreateHITRequest::SetKeywords
void SetKeywords(const char *value)
Definition: CreateHITRequest.h:299
Aws::MTurk::Model::CreateHITRequest::SetHITLayoutId
void SetHITLayoutId(const char *value)
Definition: CreateHITRequest.h:867
Aws::MTurk::Model::CreateHITRequest::SetRequesterAnnotation
void SetRequesterAnnotation(Aws::String &&value)
Definition: CreateHITRequest.h:512
Aws::MTurk::Model::CreateHITRequest::UniqueRequestTokenHasBeenSet
bool UniqueRequestTokenHasBeenSet() const
Definition: CreateHITRequest.h:662
Aws::MTurk::Model::CreateHITRequest::WithRequesterAnnotation
CreateHITRequest & WithRequesterAnnotation(const Aws::String &value)
Definition: CreateHITRequest.h:536
Aws::MTurk::Model::CreateHITRequest::AddHITLayoutParameters
CreateHITRequest & AddHITLayoutParameters(const HITLayoutParameter &value)
Definition: CreateHITRequest.h:941
Aws::MTurk::Model::CreateHITRequest::AddHITLayoutParameters
CreateHITRequest & AddHITLayoutParameters(HITLayoutParameter &&value)
Definition: CreateHITRequest.h:948
Aws::MTurk::Model::CreateHITRequest::GetHITLayoutParameters
const Aws::Vector< HITLayoutParameter > & GetHITLayoutParameters() const
Definition: CreateHITRequest.h:899
Aws::MTurk::Model::CreateHITRequest::WithDescription
CreateHITRequest & WithDescription(const Aws::String &value)
Definition: CreateHITRequest.h:372
Aws::MTurk::Model::CreateHITRequest::SetTitle
void SetTitle(const char *value)
Definition: CreateHITRequest.h:247
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MTurk::Model::CreateHITRequest::SetUniqueRequestToken
void SetUniqueRequestToken(Aws::String &&value)
Definition: CreateHITRequest.h:690
ReviewPolicy.h
Aws::MTurk::Model::CreateHITRequest::SetUniqueRequestToken
void SetUniqueRequestToken(const Aws::String &value)
Definition: CreateHITRequest.h:676
Aws::MTurk::Model::CreateHITRequest::WithHITLayoutParameters
CreateHITRequest & WithHITLayoutParameters(const Aws::Vector< HITLayoutParameter > &value)
Definition: CreateHITRequest.h:927
Aws::MTurk::Model::CreateHITRequest::GetQualificationRequirements
const Aws::Vector< QualificationRequirement > & GetQualificationRequirements() const
Definition: CreateHITRequest.h:570
Aws::MTurk::Model::CreateHITRequest::WithHITLayoutId
CreateHITRequest & WithHITLayoutId(const Aws::String &value)
Definition: CreateHITRequest.h:875
Aws::MTurk::Model::CreateHITRequest
Definition: CreateHITRequest.h:26
Aws::MTurk::Model::CreateHITRequest::SetTitle
void SetTitle(const Aws::String &value)
Definition: CreateHITRequest.h:233
Aws::MTurk::Model::CreateHITRequest::WithHITLayoutParameters
CreateHITRequest & WithHITLayoutParameters(Aws::Vector< HITLayoutParameter > &&value)
Definition: CreateHITRequest.h:934
AWSVector.h
Aws::MTurk::Model::CreateHITRequest::WithKeywords
CreateHITRequest & WithKeywords(Aws::String &&value)
Definition: CreateHITRequest.h:311
Aws::MTurk::MTurkRequest
Definition: MTurkRequest.h:17
Aws::MTurk::Model::CreateHITRequest::SetHITLayoutParameters
void SetHITLayoutParameters(Aws::Vector< HITLayoutParameter > &&value)
Definition: CreateHITRequest.h:920
Aws::MTurk::Model::CreateHITRequest::WithAssignmentReviewPolicy
CreateHITRequest & WithAssignmentReviewPolicy(const ReviewPolicy &value)
Definition: CreateHITRequest.h:782
Aws::MTurk::Model::CreateHITRequest::AddQualificationRequirements
CreateHITRequest & AddQualificationRequirements(const QualificationRequirement &value)
Definition: CreateHITRequest.h:624
Aws::MTurk::Model::CreateHITRequest::GetTitle
const Aws::String & GetTitle() const
Definition: CreateHITRequest.h:219
Aws::MTurk::Model::CreateHITRequest::SetAssignmentReviewPolicy
void SetAssignmentReviewPolicy(ReviewPolicy &&value)
Definition: CreateHITRequest.h:775
Aws::MTurk::Model::CreateHITRequest::WithReward
CreateHITRequest & WithReward(const Aws::String &value)
Definition: CreateHITRequest.h:199
MTurkRequest.h
Aws::MTurk::Model::CreateHITRequest::SetQualificationRequirements
void SetQualificationRequirements(Aws::Vector< QualificationRequirement > &&value)
Definition: CreateHITRequest.h:597
Aws::MTurk::Model::CreateHITRequest::AssignmentDurationInSecondsHasBeenSet
bool AssignmentDurationInSecondsHasBeenSet() const
Definition: CreateHITRequest.h:144
Aws::MTurk::Model::CreateHITRequest::WithTitle
CreateHITRequest & WithTitle(const char *value)
Definition: CreateHITRequest.h:268
Aws::MTurk::Model::CreateHITRequest::SetReward
void SetReward(Aws::String &&value)
Definition: CreateHITRequest.h:187
Aws::MTurk::Model::CreateHITRequest::SetQualificationRequirements
void SetQualificationRequirements(const Aws::Vector< QualificationRequirement > &value)
Definition: CreateHITRequest.h:588
Aws::MTurk::Model::CreateHITRequest::SetKeywords
void SetKeywords(const Aws::String &value)
Definition: CreateHITRequest.h:287
Aws::MTurk::Model::CreateHITRequest::SetHITLayoutId
void SetHITLayoutId(const Aws::String &value)
Definition: CreateHITRequest.h:851
Aws::MTurk::Model::CreateHITRequest::GetMaxAssignments
int GetMaxAssignments() const
Definition: CreateHITRequest.h:45
Aws::MTurk::Model::CreateHITRequest::GetKeywords
const Aws::String & GetKeywords() const
Definition: CreateHITRequest.h:275
Aws::MTurk::Model::CreateHITRequest::GetReward
const Aws::String & GetReward() const
Definition: CreateHITRequest.h:169
Aws::MTurk::Model::CreateHITRequest::AutoApprovalDelayInSecondsHasBeenSet
bool AutoApprovalDelayInSecondsHasBeenSet() const
Definition: CreateHITRequest.h:78
Aws::MTurk::Model::CreateHITRequest::WithAssignmentDurationInSeconds
CreateHITRequest & WithAssignmentDurationInSeconds(long long value)
Definition: CreateHITRequest.h:162
Aws::MTurk::Model::CreateHITRequest::WithMaxAssignments
CreateHITRequest & WithMaxAssignments(int value)
Definition: CreateHITRequest.h:63
Aws::MTurk::Model::QualificationRequirement
Definition: QualificationRequirement.h:39
Aws::MTurk::Model::CreateHITRequest::WithTitle
CreateHITRequest & WithTitle(const Aws::String &value)
Definition: CreateHITRequest.h:254
Aws::MTurk::Model::CreateHITRequest::QuestionHasBeenSet
bool QuestionHasBeenSet() const
Definition: CreateHITRequest.h:409
Aws::MTurk::Model::CreateHITRequest::CreateHITRequest
CreateHITRequest()
Aws::MTurk::Model::CreateHITRequest::SetKeywords
void SetKeywords(Aws::String &&value)
Definition: CreateHITRequest.h:293
Aws::MTurk::Model::CreateHITRequest::GetAssignmentReviewPolicy
const ReviewPolicy & GetAssignmentReviewPolicy() const
Definition: CreateHITRequest.h:754
Aws::MTurk::Model::CreateHITRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MTurk::Model::CreateHITRequest::SetRequesterAnnotation
void SetRequesterAnnotation(const char *value)
Definition: CreateHITRequest.h:524
AWSString.h
Aws::MTurk::Model::CreateHITRequest::SetTitle
void SetTitle(Aws::String &&value)
Definition: CreateHITRequest.h:240
Aws::MTurk::Model::CreateHITRequest::WithQuestion
CreateHITRequest & WithQuestion(const char *value)
Definition: CreateHITRequest.h:463
Aws::MTurk::Model::CreateHITRequest::WithUniqueRequestToken
CreateHITRequest & WithUniqueRequestToken(Aws::String &&value)
Definition: CreateHITRequest.h:732
Aws::MTurk::Model::CreateHITRequest::HITReviewPolicyHasBeenSet
bool HITReviewPolicyHasBeenSet() const
Definition: CreateHITRequest.h:802
Aws::MTurk::Model::CreateHITRequest::WithReward
CreateHITRequest & WithReward(Aws::String &&value)
Definition: CreateHITRequest.h:205
Aws::MTurk::Model::CreateHITRequest::GetUniqueRequestToken
const Aws::String & GetUniqueRequestToken() const
Definition: CreateHITRequest.h:648
Aws::MTurk::Model::CreateHITRequest::WithHITLayoutId
CreateHITRequest & WithHITLayoutId(const char *value)
Definition: CreateHITRequest.h:891
Aws::MTurk::Model::HITLayoutParameter
Definition: HITLayoutParameter.h:35
Aws::MTurk::Model::CreateHITRequest::WithQuestion
CreateHITRequest & WithQuestion(Aws::String &&value)
Definition: CreateHITRequest.h:454
Aws::MTurk::Model::CreateHITRequest::AssignmentReviewPolicyHasBeenSet
bool AssignmentReviewPolicyHasBeenSet() const
Definition: CreateHITRequest.h:761
Aws::MTurk::Model::CreateHITRequest::RequesterAnnotationHasBeenSet
bool RequesterAnnotationHasBeenSet() const
Definition: CreateHITRequest.h:488
Aws::MTurk::Model::CreateHITRequest::WithHITLayoutId
CreateHITRequest & WithHITLayoutId(Aws::String &&value)
Definition: CreateHITRequest.h:883
Aws::MTurk::Model::CreateHITRequest::SetHITReviewPolicy
void SetHITReviewPolicy(ReviewPolicy &&value)
Definition: CreateHITRequest.h:814
Aws::MTurk::Model::CreateHITRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateHITRequest.h:354
Aws::MTurk::Model::CreateHITRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateHITRequest.h:363
Aws::MTurk::Model::CreateHITRequest::WithReward
CreateHITRequest & WithReward(const char *value)
Definition: CreateHITRequest.h:211
Aws::MTurk::Model::CreateHITRequest::GetHITLayoutId
const Aws::String & GetHITLayoutId() const
Definition: CreateHITRequest.h:835
MTurk_EXPORTS.h
Aws::MTurk::Model::CreateHITRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateHITRequest.h:336
Aws
Definition: AccessManagementClient.h:15
Aws::MTurk::Model::CreateHITRequest::AddQualificationRequirements
CreateHITRequest & AddQualificationRequirements(QualificationRequirement &&value)
Definition: CreateHITRequest.h:633
Aws::MTurk::Model::CreateHITRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateHITRequest.h:327
Aws::MTurk::Model::CreateHITRequest::SetHITLayoutId
void SetHITLayoutId(Aws::String &&value)
Definition: CreateHITRequest.h:859
Aws::MTurk::Model::CreateHITRequest::WithRequesterAnnotation
CreateHITRequest & WithRequesterAnnotation(Aws::String &&value)
Definition: CreateHITRequest.h:548
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::CreateHITRequest::WithTitle
CreateHITRequest & WithTitle(Aws::String &&value)
Definition: CreateHITRequest.h:261
Aws::MTurk::Model::CreateHITRequest::GetLifetimeInSeconds
long long GetLifetimeInSeconds() const
Definition: CreateHITRequest.h:101
Aws::MTurk::Model::CreateHITRequest::WithAutoApprovalDelayInSeconds
CreateHITRequest & WithAutoApprovalDelayInSeconds(long long value)
Definition: CreateHITRequest.h:92
Aws::MTurk::Model::CreateHITRequest::SetReward
void SetReward(const Aws::String &value)
Definition: CreateHITRequest.h:181
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::CreateHITRequest::WithUniqueRequestToken
CreateHITRequest & WithUniqueRequestToken(const Aws::String &value)
Definition: CreateHITRequest.h:718
Aws::MTurk::Model::CreateHITRequest::SetHITLayoutParameters
void SetHITLayoutParameters(const Aws::Vector< HITLayoutParameter > &value)
Definition: CreateHITRequest.h:913
Aws::MTurk::Model::CreateHITRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateHITRequest.h:34
Aws::MTurk::Model::CreateHITRequest::GetAssignmentDurationInSeconds
long long GetAssignmentDurationInSeconds() const
Definition: CreateHITRequest.h:135
Aws::MTurk::Model::CreateHITRequest::SetReward
void SetReward(const char *value)
Definition: CreateHITRequest.h:193
Aws::MTurk::Model::CreateHITRequest::SetLifetimeInSeconds
void SetLifetimeInSeconds(long long value)
Definition: CreateHITRequest.h:117
HITLayoutParameter.h
Aws::MTurk::Model::CreateHITRequest::WithUniqueRequestToken
CreateHITRequest & WithUniqueRequestToken(const char *value)
Definition: CreateHITRequest.h:746
Aws::MTurk::Model::CreateHITRequest::WithAssignmentReviewPolicy
CreateHITRequest & WithAssignmentReviewPolicy(ReviewPolicy &&value)
Definition: CreateHITRequest.h:789
Aws::MTurk::Model::CreateHITRequest::HITLayoutIdHasBeenSet
bool HITLayoutIdHasBeenSet() const
Definition: CreateHITRequest.h:843
Aws::MTurk::Model::CreateHITRequest::WithHITReviewPolicy
CreateHITRequest & WithHITReviewPolicy(const ReviewPolicy &value)
Definition: CreateHITRequest.h:820
Aws::MTurk::Model::CreateHITRequest::WithLifetimeInSeconds
CreateHITRequest & WithLifetimeInSeconds(long long value)
Definition: CreateHITRequest.h:125
Aws::MTurk::Model::CreateHITRequest::GetAutoApprovalDelayInSeconds
long long GetAutoApprovalDelayInSeconds() const
Definition: CreateHITRequest.h:71
Aws::MTurk::Model::CreateHITRequest::SetHITReviewPolicy
void SetHITReviewPolicy(const ReviewPolicy &value)
Definition: CreateHITRequest.h:808
Aws::MTurk::Model::ReviewPolicy
Definition: ReviewPolicy.h:35
Aws::MTurk::Model::CreateHITRequest::GetQuestion
const Aws::String & GetQuestion() const
Definition: CreateHITRequest.h:400
Aws::MTurk::Model::CreateHITRequest::SetUniqueRequestToken
void SetUniqueRequestToken(const char *value)
Definition: CreateHITRequest.h:704
Aws::MTurk::Model::CreateHITRequest::KeywordsHasBeenSet
bool KeywordsHasBeenSet() const
Definition: CreateHITRequest.h:281
Aws::MTurk::Model::CreateHITRequest::WithKeywords
CreateHITRequest & WithKeywords(const Aws::String &value)
Definition: CreateHITRequest.h:305
Aws::MTurk::Model::CreateHITRequest::HITLayoutParametersHasBeenSet
bool HITLayoutParametersHasBeenSet() const
Definition: CreateHITRequest.h:906
Aws::MTurk::Model::CreateHITRequest::SetAutoApprovalDelayInSeconds
void SetAutoApprovalDelayInSeconds(long long value)
Definition: CreateHITRequest.h:85
Aws::MTurk::Model::CreateHITRequest::SetAssignmentReviewPolicy
void SetAssignmentReviewPolicy(const ReviewPolicy &value)
Definition: CreateHITRequest.h:768