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

Information about the automation option of a single select * question.

See Also:

AWS * API Reference

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

The automation option based on a rule category for the single select * question.

*/ inline const SingleSelectQuestionRuleCategoryAutomation& GetRuleCategory() const{ return m_ruleCategory; } /** *

The automation option based on a rule category for the single select * question.

*/ inline bool RuleCategoryHasBeenSet() const { return m_ruleCategoryHasBeenSet; } /** *

The automation option based on a rule category for the single select * question.

*/ inline void SetRuleCategory(const SingleSelectQuestionRuleCategoryAutomation& value) { m_ruleCategoryHasBeenSet = true; m_ruleCategory = value; } /** *

The automation option based on a rule category for the single select * question.

*/ inline void SetRuleCategory(SingleSelectQuestionRuleCategoryAutomation&& value) { m_ruleCategoryHasBeenSet = true; m_ruleCategory = std::move(value); } /** *

The automation option based on a rule category for the single select * question.

*/ inline EvaluationFormSingleSelectQuestionAutomationOption& WithRuleCategory(const SingleSelectQuestionRuleCategoryAutomation& value) { SetRuleCategory(value); return *this;} /** *

The automation option based on a rule category for the single select * question.

*/ inline EvaluationFormSingleSelectQuestionAutomationOption& WithRuleCategory(SingleSelectQuestionRuleCategoryAutomation&& value) { SetRuleCategory(std::move(value)); return *this;} private: SingleSelectQuestionRuleCategoryAutomation m_ruleCategory; bool m_ruleCategoryHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws