/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the option range used for scoring in numeric
* questions.See Also:
AWS
* API Reference
The minimum answer value of the range option.
*/ inline int GetMinValue() const{ return m_minValue; } /** *The minimum answer value of the range option.
*/ inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; } /** *The minimum answer value of the range option.
*/ inline void SetMinValue(int value) { m_minValueHasBeenSet = true; m_minValue = value; } /** *The minimum answer value of the range option.
*/ inline EvaluationFormNumericQuestionOption& WithMinValue(int value) { SetMinValue(value); return *this;} /** *The maximum answer value of the range option.
*/ inline int GetMaxValue() const{ return m_maxValue; } /** *The maximum answer value of the range option.
*/ inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; } /** *The maximum answer value of the range option.
*/ inline void SetMaxValue(int value) { m_maxValueHasBeenSet = true; m_maxValue = value; } /** *The maximum answer value of the range option.
*/ inline EvaluationFormNumericQuestionOption& WithMaxValue(int value) { SetMaxValue(value); return *this;} /** *The score assigned to answer values within the range option.
*/ inline int GetScore() const{ return m_score; } /** *The score assigned to answer values within the range option.
*/ inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; } /** *The score assigned to answer values within the range option.
*/ inline void SetScore(int value) { m_scoreHasBeenSet = true; m_score = value; } /** *The score assigned to answer values within the range option.
*/ inline EvaluationFormNumericQuestionOption& WithScore(int value) { SetScore(value); return *this;} /** *The flag to mark the option as automatic fail. If an automatic fail answer is * provided, the overall evaluation gets a score of 0.
*/ inline bool GetAutomaticFail() const{ return m_automaticFail; } /** *The flag to mark the option as automatic fail. If an automatic fail answer is * provided, the overall evaluation gets a score of 0.
*/ inline bool AutomaticFailHasBeenSet() const { return m_automaticFailHasBeenSet; } /** *The flag to mark the option as automatic fail. If an automatic fail answer is * provided, the overall evaluation gets a score of 0.
*/ inline void SetAutomaticFail(bool value) { m_automaticFailHasBeenSet = true; m_automaticFail = value; } /** *The flag to mark the option as automatic fail. If an automatic fail answer is * provided, the overall evaluation gets a score of 0.
*/ inline EvaluationFormNumericQuestionOption& WithAutomaticFail(bool value) { SetAutomaticFail(value); return *this;} private: int m_minValue; bool m_minValueHasBeenSet = false; int m_maxValue; bool m_maxValueHasBeenSet = false; int m_score; bool m_scoreHasBeenSet = false; bool m_automaticFail; bool m_automaticFailHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws