/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Connect { namespace Model { /** *

Information about properties for a numeric question in an evaluation * form.

See Also:

AWS * API Reference

*/ class EvaluationFormNumericQuestionProperties { public: AWS_CONNECT_API EvaluationFormNumericQuestionProperties(); AWS_CONNECT_API EvaluationFormNumericQuestionProperties(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECT_API EvaluationFormNumericQuestionProperties& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The minimum answer value.

*/ inline int GetMinValue() const{ return m_minValue; } /** *

The minimum answer value.

*/ inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; } /** *

The minimum answer value.

*/ inline void SetMinValue(int value) { m_minValueHasBeenSet = true; m_minValue = value; } /** *

The minimum answer value.

*/ inline EvaluationFormNumericQuestionProperties& WithMinValue(int value) { SetMinValue(value); return *this;} /** *

The maximum answer value.

*/ inline int GetMaxValue() const{ return m_maxValue; } /** *

The maximum answer value.

*/ inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; } /** *

The maximum answer value.

*/ inline void SetMaxValue(int value) { m_maxValueHasBeenSet = true; m_maxValue = value; } /** *

The maximum answer value.

*/ inline EvaluationFormNumericQuestionProperties& WithMaxValue(int value) { SetMaxValue(value); return *this;} /** *

The scoring options of the numeric question.

*/ inline const Aws::Vector& GetOptions() const{ return m_options; } /** *

The scoring options of the numeric question.

*/ inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; } /** *

The scoring options of the numeric question.

*/ inline void SetOptions(const Aws::Vector& value) { m_optionsHasBeenSet = true; m_options = value; } /** *

The scoring options of the numeric question.

*/ inline void SetOptions(Aws::Vector&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); } /** *

The scoring options of the numeric question.

*/ inline EvaluationFormNumericQuestionProperties& WithOptions(const Aws::Vector& value) { SetOptions(value); return *this;} /** *

The scoring options of the numeric question.

*/ inline EvaluationFormNumericQuestionProperties& WithOptions(Aws::Vector&& value) { SetOptions(std::move(value)); return *this;} /** *

The scoring options of the numeric question.

*/ inline EvaluationFormNumericQuestionProperties& AddOptions(const EvaluationFormNumericQuestionOption& value) { m_optionsHasBeenSet = true; m_options.push_back(value); return *this; } /** *

The scoring options of the numeric question.

*/ inline EvaluationFormNumericQuestionProperties& AddOptions(EvaluationFormNumericQuestionOption&& value) { m_optionsHasBeenSet = true; m_options.push_back(std::move(value)); return *this; } /** *

The automation properties of the numeric question.

*/ inline const EvaluationFormNumericQuestionAutomation& GetAutomation() const{ return m_automation; } /** *

The automation properties of the numeric question.

*/ inline bool AutomationHasBeenSet() const { return m_automationHasBeenSet; } /** *

The automation properties of the numeric question.

*/ inline void SetAutomation(const EvaluationFormNumericQuestionAutomation& value) { m_automationHasBeenSet = true; m_automation = value; } /** *

The automation properties of the numeric question.

*/ inline void SetAutomation(EvaluationFormNumericQuestionAutomation&& value) { m_automationHasBeenSet = true; m_automation = std::move(value); } /** *

The automation properties of the numeric question.

*/ inline EvaluationFormNumericQuestionProperties& WithAutomation(const EvaluationFormNumericQuestionAutomation& value) { SetAutomation(value); return *this;} /** *

The automation properties of the numeric question.

*/ inline EvaluationFormNumericQuestionProperties& WithAutomation(EvaluationFormNumericQuestionAutomation&& value) { SetAutomation(std::move(value)); return *this;} private: int m_minValue; bool m_minValueHasBeenSet = false; int m_maxValue; bool m_maxValueHasBeenSet = false; Aws::Vector m_options; bool m_optionsHasBeenSet = false; EvaluationFormNumericQuestionAutomation m_automation; bool m_automationHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws