/** * 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 input answers for a contact evaluation.

See * Also:

AWS * API Reference

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

The value for an answer in a contact evaluation.

*/ inline const EvaluationAnswerData& GetValue() const{ return m_value; } /** *

The value for an answer in a contact evaluation.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The value for an answer in a contact evaluation.

*/ inline void SetValue(const EvaluationAnswerData& value) { m_valueHasBeenSet = true; m_value = value; } /** *

The value for an answer in a contact evaluation.

*/ inline void SetValue(EvaluationAnswerData&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *

The value for an answer in a contact evaluation.

*/ inline EvaluationAnswerInput& WithValue(const EvaluationAnswerData& value) { SetValue(value); return *this;} /** *

The value for an answer in a contact evaluation.

*/ inline EvaluationAnswerInput& WithValue(EvaluationAnswerData&& value) { SetValue(std::move(value)); return *this;} private: EvaluationAnswerData m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws