/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This data structure is returned multiple times for each result specified in
* the Review Policy. See Also:
AWS
* API Reference
A unique identifier of the Review action result.
*/ inline const Aws::String& GetActionId() const{ return m_actionId; } /** *A unique identifier of the Review action result.
*/ inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; } /** *A unique identifier of the Review action result.
*/ inline void SetActionId(const Aws::String& value) { m_actionIdHasBeenSet = true; m_actionId = value; } /** *A unique identifier of the Review action result.
*/ inline void SetActionId(Aws::String&& value) { m_actionIdHasBeenSet = true; m_actionId = std::move(value); } /** *A unique identifier of the Review action result.
*/ inline void SetActionId(const char* value) { m_actionIdHasBeenSet = true; m_actionId.assign(value); } /** *A unique identifier of the Review action result.
*/ inline ReviewResultDetail& WithActionId(const Aws::String& value) { SetActionId(value); return *this;} /** *A unique identifier of the Review action result.
*/ inline ReviewResultDetail& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;} /** *A unique identifier of the Review action result.
*/ inline ReviewResultDetail& WithActionId(const char* value) { SetActionId(value); return *this;} /** *The HITID or AssignmentId about which this result was taken. Note that * HIT-level Review Policies will often emit results about both the HIT itself and * its Assignments, while Assignment-level review policies generally only emit * results about the Assignment itself.
*/ inline const Aws::String& GetSubjectId() const{ return m_subjectId; } /** *The HITID or AssignmentId about which this result was taken. Note that * HIT-level Review Policies will often emit results about both the HIT itself and * its Assignments, while Assignment-level review policies generally only emit * results about the Assignment itself.
*/ inline bool SubjectIdHasBeenSet() const { return m_subjectIdHasBeenSet; } /** *The HITID or AssignmentId about which this result was taken. Note that * HIT-level Review Policies will often emit results about both the HIT itself and * its Assignments, while Assignment-level review policies generally only emit * results about the Assignment itself.
*/ inline void SetSubjectId(const Aws::String& value) { m_subjectIdHasBeenSet = true; m_subjectId = value; } /** *The HITID or AssignmentId about which this result was taken. Note that * HIT-level Review Policies will often emit results about both the HIT itself and * its Assignments, while Assignment-level review policies generally only emit * results about the Assignment itself.
*/ inline void SetSubjectId(Aws::String&& value) { m_subjectIdHasBeenSet = true; m_subjectId = std::move(value); } /** *The HITID or AssignmentId about which this result was taken. Note that * HIT-level Review Policies will often emit results about both the HIT itself and * its Assignments, while Assignment-level review policies generally only emit * results about the Assignment itself.
*/ inline void SetSubjectId(const char* value) { m_subjectIdHasBeenSet = true; m_subjectId.assign(value); } /** *The HITID or AssignmentId about which this result was taken. Note that * HIT-level Review Policies will often emit results about both the HIT itself and * its Assignments, while Assignment-level review policies generally only emit * results about the Assignment itself.
*/ inline ReviewResultDetail& WithSubjectId(const Aws::String& value) { SetSubjectId(value); return *this;} /** *The HITID or AssignmentId about which this result was taken. Note that * HIT-level Review Policies will often emit results about both the HIT itself and * its Assignments, while Assignment-level review policies generally only emit * results about the Assignment itself.
*/ inline ReviewResultDetail& WithSubjectId(Aws::String&& value) { SetSubjectId(std::move(value)); return *this;} /** *The HITID or AssignmentId about which this result was taken. Note that * HIT-level Review Policies will often emit results about both the HIT itself and * its Assignments, while Assignment-level review policies generally only emit * results about the Assignment itself.
*/ inline ReviewResultDetail& WithSubjectId(const char* value) { SetSubjectId(value); return *this;} /** *The type of the object from the SubjectId field.
*/ inline const Aws::String& GetSubjectType() const{ return m_subjectType; } /** *The type of the object from the SubjectId field.
*/ inline bool SubjectTypeHasBeenSet() const { return m_subjectTypeHasBeenSet; } /** *The type of the object from the SubjectId field.
*/ inline void SetSubjectType(const Aws::String& value) { m_subjectTypeHasBeenSet = true; m_subjectType = value; } /** *The type of the object from the SubjectId field.
*/ inline void SetSubjectType(Aws::String&& value) { m_subjectTypeHasBeenSet = true; m_subjectType = std::move(value); } /** *The type of the object from the SubjectId field.
*/ inline void SetSubjectType(const char* value) { m_subjectTypeHasBeenSet = true; m_subjectType.assign(value); } /** *The type of the object from the SubjectId field.
*/ inline ReviewResultDetail& WithSubjectType(const Aws::String& value) { SetSubjectType(value); return *this;} /** *The type of the object from the SubjectId field.
*/ inline ReviewResultDetail& WithSubjectType(Aws::String&& value) { SetSubjectType(std::move(value)); return *this;} /** *The type of the object from the SubjectId field.
*/ inline ReviewResultDetail& WithSubjectType(const char* value) { SetSubjectType(value); return *this;} /** *Specifies the QuestionId the result is describing. Depending on whether the * TargetType is a HIT or Assignment this results could specify multiple values. If * TargetType is HIT and QuestionId is absent, then the result describes results of * the HIT, including the HIT agreement score. If ObjectType is Assignment and * QuestionId is absent, then the result describes the Worker's performance on the * HIT.
*/ inline const Aws::String& GetQuestionId() const{ return m_questionId; } /** *Specifies the QuestionId the result is describing. Depending on whether the * TargetType is a HIT or Assignment this results could specify multiple values. If * TargetType is HIT and QuestionId is absent, then the result describes results of * the HIT, including the HIT agreement score. If ObjectType is Assignment and * QuestionId is absent, then the result describes the Worker's performance on the * HIT.
*/ inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; } /** *Specifies the QuestionId the result is describing. Depending on whether the * TargetType is a HIT or Assignment this results could specify multiple values. If * TargetType is HIT and QuestionId is absent, then the result describes results of * the HIT, including the HIT agreement score. If ObjectType is Assignment and * QuestionId is absent, then the result describes the Worker's performance on the * HIT.
*/ inline void SetQuestionId(const Aws::String& value) { m_questionIdHasBeenSet = true; m_questionId = value; } /** *Specifies the QuestionId the result is describing. Depending on whether the * TargetType is a HIT or Assignment this results could specify multiple values. If * TargetType is HIT and QuestionId is absent, then the result describes results of * the HIT, including the HIT agreement score. If ObjectType is Assignment and * QuestionId is absent, then the result describes the Worker's performance on the * HIT.
*/ inline void SetQuestionId(Aws::String&& value) { m_questionIdHasBeenSet = true; m_questionId = std::move(value); } /** *Specifies the QuestionId the result is describing. Depending on whether the * TargetType is a HIT or Assignment this results could specify multiple values. If * TargetType is HIT and QuestionId is absent, then the result describes results of * the HIT, including the HIT agreement score. If ObjectType is Assignment and * QuestionId is absent, then the result describes the Worker's performance on the * HIT.
*/ inline void SetQuestionId(const char* value) { m_questionIdHasBeenSet = true; m_questionId.assign(value); } /** *Specifies the QuestionId the result is describing. Depending on whether the * TargetType is a HIT or Assignment this results could specify multiple values. If * TargetType is HIT and QuestionId is absent, then the result describes results of * the HIT, including the HIT agreement score. If ObjectType is Assignment and * QuestionId is absent, then the result describes the Worker's performance on the * HIT.
*/ inline ReviewResultDetail& WithQuestionId(const Aws::String& value) { SetQuestionId(value); return *this;} /** *Specifies the QuestionId the result is describing. Depending on whether the * TargetType is a HIT or Assignment this results could specify multiple values. If * TargetType is HIT and QuestionId is absent, then the result describes results of * the HIT, including the HIT agreement score. If ObjectType is Assignment and * QuestionId is absent, then the result describes the Worker's performance on the * HIT.
*/ inline ReviewResultDetail& WithQuestionId(Aws::String&& value) { SetQuestionId(std::move(value)); return *this;} /** *Specifies the QuestionId the result is describing. Depending on whether the * TargetType is a HIT or Assignment this results could specify multiple values. If * TargetType is HIT and QuestionId is absent, then the result describes results of * the HIT, including the HIT agreement score. If ObjectType is Assignment and * QuestionId is absent, then the result describes the Worker's performance on the * HIT.
*/ inline ReviewResultDetail& WithQuestionId(const char* value) { SetQuestionId(value); return *this;} /** *Key identifies the particular piece of reviewed information.
*/ inline const Aws::String& GetKey() const{ return m_key; } /** *Key identifies the particular piece of reviewed information.
*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *Key identifies the particular piece of reviewed information.
*/ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** *Key identifies the particular piece of reviewed information.
*/ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *Key identifies the particular piece of reviewed information.
*/ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** *Key identifies the particular piece of reviewed information.
*/ inline ReviewResultDetail& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** *Key identifies the particular piece of reviewed information.
*/ inline ReviewResultDetail& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** *Key identifies the particular piece of reviewed information.
*/ inline ReviewResultDetail& WithKey(const char* value) { SetKey(value); return *this;} /** *The values of Key provided by the review policies you have selected.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *The values of Key provided by the review policies you have selected.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The values of Key provided by the review policies you have selected.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *The values of Key provided by the review policies you have selected.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The values of Key provided by the review policies you have selected.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *The values of Key provided by the review policies you have selected.
*/ inline ReviewResultDetail& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *The values of Key provided by the review policies you have selected.
*/ inline ReviewResultDetail& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *The values of Key provided by the review policies you have selected.
*/ inline ReviewResultDetail& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_actionId; bool m_actionIdHasBeenSet = false; Aws::String m_subjectId; bool m_subjectIdHasBeenSet = false; Aws::String m_subjectType; bool m_subjectTypeHasBeenSet = false; Aws::String m_questionId; bool m_questionIdHasBeenSet = false; Aws::String m_key; bool m_keyHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace MTurk } // namespace Aws