/** * 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 LexModelsV2 { namespace Model { /** *

The conversation level details of the conversation used in the test * set.

See Also:

AWS * API Reference

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

The success or failure of the streaming of the conversation.

*/ inline const TestResultMatchStatus& GetEndToEndResult() const{ return m_endToEndResult; } /** *

The success or failure of the streaming of the conversation.

*/ inline bool EndToEndResultHasBeenSet() const { return m_endToEndResultHasBeenSet; } /** *

The success or failure of the streaming of the conversation.

*/ inline void SetEndToEndResult(const TestResultMatchStatus& value) { m_endToEndResultHasBeenSet = true; m_endToEndResult = value; } /** *

The success or failure of the streaming of the conversation.

*/ inline void SetEndToEndResult(TestResultMatchStatus&& value) { m_endToEndResultHasBeenSet = true; m_endToEndResult = std::move(value); } /** *

The success or failure of the streaming of the conversation.

*/ inline ConversationLevelResultDetail& WithEndToEndResult(const TestResultMatchStatus& value) { SetEndToEndResult(value); return *this;} /** *

The success or failure of the streaming of the conversation.

*/ inline ConversationLevelResultDetail& WithEndToEndResult(TestResultMatchStatus&& value) { SetEndToEndResult(std::move(value)); return *this;} /** *

The speech transcription success or failure details of the conversation.

*/ inline const TestResultMatchStatus& GetSpeechTranscriptionResult() const{ return m_speechTranscriptionResult; } /** *

The speech transcription success or failure details of the conversation.

*/ inline bool SpeechTranscriptionResultHasBeenSet() const { return m_speechTranscriptionResultHasBeenSet; } /** *

The speech transcription success or failure details of the conversation.

*/ inline void SetSpeechTranscriptionResult(const TestResultMatchStatus& value) { m_speechTranscriptionResultHasBeenSet = true; m_speechTranscriptionResult = value; } /** *

The speech transcription success or failure details of the conversation.

*/ inline void SetSpeechTranscriptionResult(TestResultMatchStatus&& value) { m_speechTranscriptionResultHasBeenSet = true; m_speechTranscriptionResult = std::move(value); } /** *

The speech transcription success or failure details of the conversation.

*/ inline ConversationLevelResultDetail& WithSpeechTranscriptionResult(const TestResultMatchStatus& value) { SetSpeechTranscriptionResult(value); return *this;} /** *

The speech transcription success or failure details of the conversation.

*/ inline ConversationLevelResultDetail& WithSpeechTranscriptionResult(TestResultMatchStatus&& value) { SetSpeechTranscriptionResult(std::move(value)); return *this;} private: TestResultMatchStatus m_endToEndResult; bool m_endToEndResultHasBeenSet = false; TestResultMatchStatus m_speechTranscriptionResult; bool m_speechTranscriptionResultHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws