/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the automation option of a single select
* question.See Also:
AWS
* API Reference
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