/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the automation option based on a rule category for a single
* select question.See Also:
AWS
* API Reference
The category name, as defined in Rules.
*/ inline const Aws::String& GetCategory() const{ return m_category; } /** *The category name, as defined in Rules.
*/ inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } /** *The category name, as defined in Rules.
*/ inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; } /** *The category name, as defined in Rules.
*/ inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); } /** *The category name, as defined in Rules.
*/ inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); } /** *The category name, as defined in Rules.
*/ inline SingleSelectQuestionRuleCategoryAutomation& WithCategory(const Aws::String& value) { SetCategory(value); return *this;} /** *The category name, as defined in Rules.
*/ inline SingleSelectQuestionRuleCategoryAutomation& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;} /** *The category name, as defined in Rules.
*/ inline SingleSelectQuestionRuleCategoryAutomation& WithCategory(const char* value) { SetCategory(value); return *this;} /** *The condition to apply for the automation option. If the condition is
* PRESENT
, then the option is applied when the contact data includes
* the category. Similarly, if the condition is NOT_PRESENT
, then the
* option is applied when the contact data does not include the category.
The condition to apply for the automation option. If the condition is
* PRESENT
, then the option is applied when the contact data includes
* the category. Similarly, if the condition is NOT_PRESENT
, then the
* option is applied when the contact data does not include the category.
The condition to apply for the automation option. If the condition is
* PRESENT
, then the option is applied when the contact data includes
* the category. Similarly, if the condition is NOT_PRESENT
, then the
* option is applied when the contact data does not include the category.
The condition to apply for the automation option. If the condition is
* PRESENT
, then the option is applied when the contact data includes
* the category. Similarly, if the condition is NOT_PRESENT
, then the
* option is applied when the contact data does not include the category.
The condition to apply for the automation option. If the condition is
* PRESENT
, then the option is applied when the contact data includes
* the category. Similarly, if the condition is NOT_PRESENT
, then the
* option is applied when the contact data does not include the category.
The condition to apply for the automation option. If the condition is
* PRESENT
, then the option is applied when the contact data includes
* the category. Similarly, if the condition is NOT_PRESENT
, then the
* option is applied when the contact data does not include the category.
The identifier of the answer option.
*/ inline const Aws::String& GetOptionRefId() const{ return m_optionRefId; } /** *The identifier of the answer option.
*/ inline bool OptionRefIdHasBeenSet() const { return m_optionRefIdHasBeenSet; } /** *The identifier of the answer option.
*/ inline void SetOptionRefId(const Aws::String& value) { m_optionRefIdHasBeenSet = true; m_optionRefId = value; } /** *The identifier of the answer option.
*/ inline void SetOptionRefId(Aws::String&& value) { m_optionRefIdHasBeenSet = true; m_optionRefId = std::move(value); } /** *The identifier of the answer option.
*/ inline void SetOptionRefId(const char* value) { m_optionRefIdHasBeenSet = true; m_optionRefId.assign(value); } /** *The identifier of the answer option.
*/ inline SingleSelectQuestionRuleCategoryAutomation& WithOptionRefId(const Aws::String& value) { SetOptionRefId(value); return *this;} /** *The identifier of the answer option.
*/ inline SingleSelectQuestionRuleCategoryAutomation& WithOptionRefId(Aws::String&& value) { SetOptionRefId(std::move(value)); return *this;} /** *The identifier of the answer option.
*/ inline SingleSelectQuestionRuleCategoryAutomation& WithOptionRefId(const char* value) { SetOptionRefId(value); return *this;} private: Aws::String m_category; bool m_categoryHasBeenSet = false; SingleSelectQuestionRuleCategoryAutomationCondition m_condition; bool m_conditionHasBeenSet = false; Aws::String m_optionRefId; bool m_optionRefIdHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws