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

Contains information about the results of the analysis of a turn in the test * set.

See Also:

AWS * API Reference

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

Contains information about the agent messages in the turn.

*/ inline const AgentTurnResult& GetAgent() const{ return m_agent; } /** *

Contains information about the agent messages in the turn.

*/ inline bool AgentHasBeenSet() const { return m_agentHasBeenSet; } /** *

Contains information about the agent messages in the turn.

*/ inline void SetAgent(const AgentTurnResult& value) { m_agentHasBeenSet = true; m_agent = value; } /** *

Contains information about the agent messages in the turn.

*/ inline void SetAgent(AgentTurnResult&& value) { m_agentHasBeenSet = true; m_agent = std::move(value); } /** *

Contains information about the agent messages in the turn.

*/ inline TestSetTurnResult& WithAgent(const AgentTurnResult& value) { SetAgent(value); return *this;} /** *

Contains information about the agent messages in the turn.

*/ inline TestSetTurnResult& WithAgent(AgentTurnResult&& value) { SetAgent(std::move(value)); return *this;} /** *

Contains information about the user messages in the turn.

*/ inline const UserTurnResult& GetUser() const{ return m_user; } /** *

Contains information about the user messages in the turn.

*/ inline bool UserHasBeenSet() const { return m_userHasBeenSet; } /** *

Contains information about the user messages in the turn.

*/ inline void SetUser(const UserTurnResult& value) { m_userHasBeenSet = true; m_user = value; } /** *

Contains information about the user messages in the turn.

*/ inline void SetUser(UserTurnResult&& value) { m_userHasBeenSet = true; m_user = std::move(value); } /** *

Contains information about the user messages in the turn.

*/ inline TestSetTurnResult& WithUser(const UserTurnResult& value) { SetUser(value); return *this;} /** *

Contains information about the user messages in the turn.

*/ inline TestSetTurnResult& WithUser(UserTurnResult&& value) { SetUser(std::move(value)); return *this;} private: AgentTurnResult m_agent; bool m_agentHasBeenSet = false; UserTurnResult m_user; bool m_userHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws