/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The QualificationRequest data structure represents a request a Worker has
* made for a Qualification. See Also:
AWS
* API Reference
The ID of the Qualification request, a unique identifier generated when the * request was submitted.
*/ inline const Aws::String& GetQualificationRequestId() const{ return m_qualificationRequestId; } /** *The ID of the Qualification request, a unique identifier generated when the * request was submitted.
*/ inline bool QualificationRequestIdHasBeenSet() const { return m_qualificationRequestIdHasBeenSet; } /** *The ID of the Qualification request, a unique identifier generated when the * request was submitted.
*/ inline void SetQualificationRequestId(const Aws::String& value) { m_qualificationRequestIdHasBeenSet = true; m_qualificationRequestId = value; } /** *The ID of the Qualification request, a unique identifier generated when the * request was submitted.
*/ inline void SetQualificationRequestId(Aws::String&& value) { m_qualificationRequestIdHasBeenSet = true; m_qualificationRequestId = std::move(value); } /** *The ID of the Qualification request, a unique identifier generated when the * request was submitted.
*/ inline void SetQualificationRequestId(const char* value) { m_qualificationRequestIdHasBeenSet = true; m_qualificationRequestId.assign(value); } /** *The ID of the Qualification request, a unique identifier generated when the * request was submitted.
*/ inline QualificationRequest& WithQualificationRequestId(const Aws::String& value) { SetQualificationRequestId(value); return *this;} /** *The ID of the Qualification request, a unique identifier generated when the * request was submitted.
*/ inline QualificationRequest& WithQualificationRequestId(Aws::String&& value) { SetQualificationRequestId(std::move(value)); return *this;} /** *The ID of the Qualification request, a unique identifier generated when the * request was submitted.
*/ inline QualificationRequest& WithQualificationRequestId(const char* value) { SetQualificationRequestId(value); return *this;} /** *The ID of the Qualification type the Worker is requesting, as returned by * the CreateQualificationType operation.
*/ inline const Aws::String& GetQualificationTypeId() const{ return m_qualificationTypeId; } /** *The ID of the Qualification type the Worker is requesting, as returned by * the CreateQualificationType operation.
*/ inline bool QualificationTypeIdHasBeenSet() const { return m_qualificationTypeIdHasBeenSet; } /** *The ID of the Qualification type the Worker is requesting, as returned by * the CreateQualificationType operation.
*/ inline void SetQualificationTypeId(const Aws::String& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = value; } /** *The ID of the Qualification type the Worker is requesting, as returned by * the CreateQualificationType operation.
*/ inline void SetQualificationTypeId(Aws::String&& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = std::move(value); } /** *The ID of the Qualification type the Worker is requesting, as returned by * the CreateQualificationType operation.
*/ inline void SetQualificationTypeId(const char* value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId.assign(value); } /** *The ID of the Qualification type the Worker is requesting, as returned by * the CreateQualificationType operation.
*/ inline QualificationRequest& WithQualificationTypeId(const Aws::String& value) { SetQualificationTypeId(value); return *this;} /** *The ID of the Qualification type the Worker is requesting, as returned by * the CreateQualificationType operation.
*/ inline QualificationRequest& WithQualificationTypeId(Aws::String&& value) { SetQualificationTypeId(std::move(value)); return *this;} /** *The ID of the Qualification type the Worker is requesting, as returned by * the CreateQualificationType operation.
*/ inline QualificationRequest& WithQualificationTypeId(const char* value) { SetQualificationTypeId(value); return *this;} /** *The ID of the Worker requesting the Qualification.
*/ inline const Aws::String& GetWorkerId() const{ return m_workerId; } /** *The ID of the Worker requesting the Qualification.
*/ inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } /** *The ID of the Worker requesting the Qualification.
*/ inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } /** *The ID of the Worker requesting the Qualification.
*/ inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } /** *The ID of the Worker requesting the Qualification.
*/ inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } /** *The ID of the Worker requesting the Qualification.
*/ inline QualificationRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} /** *The ID of the Worker requesting the Qualification.
*/ inline QualificationRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} /** *The ID of the Worker requesting the Qualification.
*/ inline QualificationRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} /** *The contents of the Qualification test that was presented to the Worker, if * the type has a test and the Worker has submitted answers. This value is * identical to the QuestionForm associated with the Qualification type at the time * the Worker requests the Qualification.
*/ inline const Aws::String& GetTest() const{ return m_test; } /** *The contents of the Qualification test that was presented to the Worker, if * the type has a test and the Worker has submitted answers. This value is * identical to the QuestionForm associated with the Qualification type at the time * the Worker requests the Qualification.
*/ inline bool TestHasBeenSet() const { return m_testHasBeenSet; } /** *The contents of the Qualification test that was presented to the Worker, if * the type has a test and the Worker has submitted answers. This value is * identical to the QuestionForm associated with the Qualification type at the time * the Worker requests the Qualification.
*/ inline void SetTest(const Aws::String& value) { m_testHasBeenSet = true; m_test = value; } /** *The contents of the Qualification test that was presented to the Worker, if * the type has a test and the Worker has submitted answers. This value is * identical to the QuestionForm associated with the Qualification type at the time * the Worker requests the Qualification.
*/ inline void SetTest(Aws::String&& value) { m_testHasBeenSet = true; m_test = std::move(value); } /** *The contents of the Qualification test that was presented to the Worker, if * the type has a test and the Worker has submitted answers. This value is * identical to the QuestionForm associated with the Qualification type at the time * the Worker requests the Qualification.
*/ inline void SetTest(const char* value) { m_testHasBeenSet = true; m_test.assign(value); } /** *The contents of the Qualification test that was presented to the Worker, if * the type has a test and the Worker has submitted answers. This value is * identical to the QuestionForm associated with the Qualification type at the time * the Worker requests the Qualification.
*/ inline QualificationRequest& WithTest(const Aws::String& value) { SetTest(value); return *this;} /** *The contents of the Qualification test that was presented to the Worker, if * the type has a test and the Worker has submitted answers. This value is * identical to the QuestionForm associated with the Qualification type at the time * the Worker requests the Qualification.
*/ inline QualificationRequest& WithTest(Aws::String&& value) { SetTest(std::move(value)); return *this;} /** *The contents of the Qualification test that was presented to the Worker, if * the type has a test and the Worker has submitted answers. This value is * identical to the QuestionForm associated with the Qualification type at the time * the Worker requests the Qualification.
*/ inline QualificationRequest& WithTest(const char* value) { SetTest(value); return *this;} /** *The Worker's answers for the Qualification type's test contained in a * QuestionFormAnswers document, if the type has a test and the Worker has * submitted answers. If the Worker does not provide any answers, Answer may be * empty.
*/ inline const Aws::String& GetAnswer() const{ return m_answer; } /** *The Worker's answers for the Qualification type's test contained in a * QuestionFormAnswers document, if the type has a test and the Worker has * submitted answers. If the Worker does not provide any answers, Answer may be * empty.
*/ inline bool AnswerHasBeenSet() const { return m_answerHasBeenSet; } /** *The Worker's answers for the Qualification type's test contained in a * QuestionFormAnswers document, if the type has a test and the Worker has * submitted answers. If the Worker does not provide any answers, Answer may be * empty.
*/ inline void SetAnswer(const Aws::String& value) { m_answerHasBeenSet = true; m_answer = value; } /** *The Worker's answers for the Qualification type's test contained in a * QuestionFormAnswers document, if the type has a test and the Worker has * submitted answers. If the Worker does not provide any answers, Answer may be * empty.
*/ inline void SetAnswer(Aws::String&& value) { m_answerHasBeenSet = true; m_answer = std::move(value); } /** *The Worker's answers for the Qualification type's test contained in a * QuestionFormAnswers document, if the type has a test and the Worker has * submitted answers. If the Worker does not provide any answers, Answer may be * empty.
*/ inline void SetAnswer(const char* value) { m_answerHasBeenSet = true; m_answer.assign(value); } /** *The Worker's answers for the Qualification type's test contained in a * QuestionFormAnswers document, if the type has a test and the Worker has * submitted answers. If the Worker does not provide any answers, Answer may be * empty.
*/ inline QualificationRequest& WithAnswer(const Aws::String& value) { SetAnswer(value); return *this;} /** *The Worker's answers for the Qualification type's test contained in a * QuestionFormAnswers document, if the type has a test and the Worker has * submitted answers. If the Worker does not provide any answers, Answer may be * empty.
*/ inline QualificationRequest& WithAnswer(Aws::String&& value) { SetAnswer(std::move(value)); return *this;} /** *The Worker's answers for the Qualification type's test contained in a * QuestionFormAnswers document, if the type has a test and the Worker has * submitted answers. If the Worker does not provide any answers, Answer may be * empty.
*/ inline QualificationRequest& WithAnswer(const char* value) { SetAnswer(value); return *this;} /** *The date and time the Qualification request had a status of Submitted. This * is either the time the Worker submitted answers for a Qualification test, or the * time the Worker requested the Qualification if the Qualification type does not * have a test.
*/ inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; } /** *The date and time the Qualification request had a status of Submitted. This * is either the time the Worker submitted answers for a Qualification test, or the * time the Worker requested the Qualification if the Qualification type does not * have a test.
*/ inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; } /** *The date and time the Qualification request had a status of Submitted. This * is either the time the Worker submitted answers for a Qualification test, or the * time the Worker requested the Qualification if the Qualification type does not * have a test.
*/ inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; } /** *The date and time the Qualification request had a status of Submitted. This * is either the time the Worker submitted answers for a Qualification test, or the * time the Worker requested the Qualification if the Qualification type does not * have a test.
*/ inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); } /** *The date and time the Qualification request had a status of Submitted. This * is either the time the Worker submitted answers for a Qualification test, or the * time the Worker requested the Qualification if the Qualification type does not * have a test.
*/ inline QualificationRequest& WithSubmitTime(const Aws::Utils::DateTime& value) { SetSubmitTime(value); return *this;} /** *The date and time the Qualification request had a status of Submitted. This * is either the time the Worker submitted answers for a Qualification test, or the * time the Worker requested the Qualification if the Qualification type does not * have a test.
*/ inline QualificationRequest& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;} private: Aws::String m_qualificationRequestId; bool m_qualificationRequestIdHasBeenSet = false; Aws::String m_qualificationTypeId; bool m_qualificationTypeIdHasBeenSet = false; Aws::String m_workerId; bool m_workerIdHasBeenSet = false; Aws::String m_test; bool m_testHasBeenSet = false; Aws::String m_answer; bool m_answerHasBeenSet = false; Aws::Utils::DateTime m_submitTime; bool m_submitTimeHasBeenSet = false; }; } // namespace Model } // namespace MTurk } // namespace Aws