/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This data structure is the data type for the AnswerKey parameter of the
* ScoreMyKnownAnswers/2011-09-01 Review Policy. See Also:
AWS
* API Reference
The QuestionID from the HIT that is used to identify which question requires * Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review * Policy.
*/ inline const Aws::String& GetKey() const{ return m_key; } /** *The QuestionID from the HIT that is used to identify which question requires * Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review * Policy.
*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *The QuestionID from the HIT that is used to identify which question requires * Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review * Policy.
*/ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** *The QuestionID from the HIT that is used to identify which question requires * Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review * Policy.
*/ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *The QuestionID from the HIT that is used to identify which question requires * Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review * Policy.
*/ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** *The QuestionID from the HIT that is used to identify which question requires * Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review * Policy.
*/ inline ParameterMapEntry& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** *The QuestionID from the HIT that is used to identify which question requires * Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review * Policy.
*/ inline ParameterMapEntry& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** *The QuestionID from the HIT that is used to identify which question requires * Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review * Policy.
*/ inline ParameterMapEntry& WithKey(const char* value) { SetKey(value); return *this;} /** *The list of answers to the question specified in the MapEntry Key element. * The Worker must match all values in order for the answer to be scored correctly. *
*/ inline const Aws::VectorThe list of answers to the question specified in the MapEntry Key element. * The Worker must match all values in order for the answer to be scored correctly. *
*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *The list of answers to the question specified in the MapEntry Key element. * The Worker must match all values in order for the answer to be scored correctly. *
*/ inline void SetValues(const Aws::VectorThe list of answers to the question specified in the MapEntry Key element. * The Worker must match all values in order for the answer to be scored correctly. *
*/ inline void SetValues(Aws::VectorThe list of answers to the question specified in the MapEntry Key element. * The Worker must match all values in order for the answer to be scored correctly. *
*/ inline ParameterMapEntry& WithValues(const Aws::VectorThe list of answers to the question specified in the MapEntry Key element. * The Worker must match all values in order for the answer to be scored correctly. *
*/ inline ParameterMapEntry& WithValues(Aws::VectorThe list of answers to the question specified in the MapEntry Key element. * The Worker must match all values in order for the answer to be scored correctly. *
*/ inline ParameterMapEntry& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *The list of answers to the question specified in the MapEntry Key element. * The Worker must match all values in order for the answer to be scored correctly. *
*/ inline ParameterMapEntry& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } /** *The list of answers to the question specified in the MapEntry Key element. * The Worker must match all values in order for the answer to be scored correctly. *
*/ inline ParameterMapEntry& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } private: Aws::String m_key; bool m_keyHasBeenSet = false; Aws::Vector