/** * 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 property value used in automation of a numeric * questions. Label values are associated with minimum and maximum values for the * numeric question.

  • Sentiment scores have a minimum value of -5 * and maximum value of 5.

  • Duration labels, such as * NON_TALK_TIME, CONTACT_DURATION, * AGENT_INTERACTION_DURATION, CUSTOMER_HOLD_TIME have a * minimum value of 0 and maximum value of 28800.

  • Percentages * have a minimum value of 0 and maximum value of 100.

  • * NUMBER_OF_INTERRUPTIONS has a minimum value of 0 and maximum value * of 1000.

See Also:

AWS * API Reference

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

The property label of the automation.

*/ inline const NumericQuestionPropertyAutomationLabel& GetLabel() const{ return m_label; } /** *

The property label of the automation.

*/ inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } /** *

The property label of the automation.

*/ inline void SetLabel(const NumericQuestionPropertyAutomationLabel& value) { m_labelHasBeenSet = true; m_label = value; } /** *

The property label of the automation.

*/ inline void SetLabel(NumericQuestionPropertyAutomationLabel&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } /** *

The property label of the automation.

*/ inline NumericQuestionPropertyValueAutomation& WithLabel(const NumericQuestionPropertyAutomationLabel& value) { SetLabel(value); return *this;} /** *

The property label of the automation.

*/ inline NumericQuestionPropertyValueAutomation& WithLabel(NumericQuestionPropertyAutomationLabel&& value) { SetLabel(std::move(value)); return *this;} private: NumericQuestionPropertyAutomationLabel m_label; bool m_labelHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws