/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the results for the user turn by the test execution.See
* Also:
AWS
* API Reference
Contains information about the user messages in the turn in the input.
*/ inline const UserTurnInputSpecification& GetInput() const{ return m_input; } /** *Contains information about the user messages in the turn in the input.
*/ inline bool InputHasBeenSet() const { return m_inputHasBeenSet; } /** *Contains information about the user messages in the turn in the input.
*/ inline void SetInput(const UserTurnInputSpecification& value) { m_inputHasBeenSet = true; m_input = value; } /** *Contains information about the user messages in the turn in the input.
*/ inline void SetInput(UserTurnInputSpecification&& value) { m_inputHasBeenSet = true; m_input = std::move(value); } /** *Contains information about the user messages in the turn in the input.
*/ inline UserTurnResult& WithInput(const UserTurnInputSpecification& value) { SetInput(value); return *this;} /** *Contains information about the user messages in the turn in the input.
*/ inline UserTurnResult& WithInput(UserTurnInputSpecification&& value) { SetInput(std::move(value)); return *this;} /** *Contains information about the expected output for the user turn.
*/ inline const UserTurnOutputSpecification& GetExpectedOutput() const{ return m_expectedOutput; } /** *Contains information about the expected output for the user turn.
*/ inline bool ExpectedOutputHasBeenSet() const { return m_expectedOutputHasBeenSet; } /** *Contains information about the expected output for the user turn.
*/ inline void SetExpectedOutput(const UserTurnOutputSpecification& value) { m_expectedOutputHasBeenSet = true; m_expectedOutput = value; } /** *Contains information about the expected output for the user turn.
*/ inline void SetExpectedOutput(UserTurnOutputSpecification&& value) { m_expectedOutputHasBeenSet = true; m_expectedOutput = std::move(value); } /** *Contains information about the expected output for the user turn.
*/ inline UserTurnResult& WithExpectedOutput(const UserTurnOutputSpecification& value) { SetExpectedOutput(value); return *this;} /** *Contains information about the expected output for the user turn.
*/ inline UserTurnResult& WithExpectedOutput(UserTurnOutputSpecification&& value) { SetExpectedOutput(std::move(value)); return *this;} /** *Contains information about the actual output for the user turn.
*/ inline const UserTurnOutputSpecification& GetActualOutput() const{ return m_actualOutput; } /** *Contains information about the actual output for the user turn.
*/ inline bool ActualOutputHasBeenSet() const { return m_actualOutputHasBeenSet; } /** *Contains information about the actual output for the user turn.
*/ inline void SetActualOutput(const UserTurnOutputSpecification& value) { m_actualOutputHasBeenSet = true; m_actualOutput = value; } /** *Contains information about the actual output for the user turn.
*/ inline void SetActualOutput(UserTurnOutputSpecification&& value) { m_actualOutputHasBeenSet = true; m_actualOutput = std::move(value); } /** *Contains information about the actual output for the user turn.
*/ inline UserTurnResult& WithActualOutput(const UserTurnOutputSpecification& value) { SetActualOutput(value); return *this;} /** *Contains information about the actual output for the user turn.
*/ inline UserTurnResult& WithActualOutput(UserTurnOutputSpecification&& value) { SetActualOutput(std::move(value)); return *this;} inline const ExecutionErrorDetails& GetErrorDetails() const{ return m_errorDetails; } inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; } inline void SetErrorDetails(const ExecutionErrorDetails& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = value; } inline void SetErrorDetails(ExecutionErrorDetails&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::move(value); } inline UserTurnResult& WithErrorDetails(const ExecutionErrorDetails& value) { SetErrorDetails(value); return *this;} inline UserTurnResult& WithErrorDetails(ExecutionErrorDetails&& value) { SetErrorDetails(std::move(value)); return *this;} /** *Specifies whether the expected and actual outputs match or not, or if there * is an error in execution.
*/ inline const TestResultMatchStatus& GetEndToEndResult() const{ return m_endToEndResult; } /** *Specifies whether the expected and actual outputs match or not, or if there * is an error in execution.
*/ inline bool EndToEndResultHasBeenSet() const { return m_endToEndResultHasBeenSet; } /** *Specifies whether the expected and actual outputs match or not, or if there * is an error in execution.
*/ inline void SetEndToEndResult(const TestResultMatchStatus& value) { m_endToEndResultHasBeenSet = true; m_endToEndResult = value; } /** *Specifies whether the expected and actual outputs match or not, or if there * is an error in execution.
*/ inline void SetEndToEndResult(TestResultMatchStatus&& value) { m_endToEndResultHasBeenSet = true; m_endToEndResult = std::move(value); } /** *Specifies whether the expected and actual outputs match or not, or if there * is an error in execution.
*/ inline UserTurnResult& WithEndToEndResult(const TestResultMatchStatus& value) { SetEndToEndResult(value); return *this;} /** *Specifies whether the expected and actual outputs match or not, or if there * is an error in execution.
*/ inline UserTurnResult& WithEndToEndResult(TestResultMatchStatus&& value) { SetEndToEndResult(std::move(value)); return *this;} /** *Specifies whether the expected and actual intents match or not.
*/ inline const TestResultMatchStatus& GetIntentMatchResult() const{ return m_intentMatchResult; } /** *Specifies whether the expected and actual intents match or not.
*/ inline bool IntentMatchResultHasBeenSet() const { return m_intentMatchResultHasBeenSet; } /** *Specifies whether the expected and actual intents match or not.
*/ inline void SetIntentMatchResult(const TestResultMatchStatus& value) { m_intentMatchResultHasBeenSet = true; m_intentMatchResult = value; } /** *Specifies whether the expected and actual intents match or not.
*/ inline void SetIntentMatchResult(TestResultMatchStatus&& value) { m_intentMatchResultHasBeenSet = true; m_intentMatchResult = std::move(value); } /** *Specifies whether the expected and actual intents match or not.
*/ inline UserTurnResult& WithIntentMatchResult(const TestResultMatchStatus& value) { SetIntentMatchResult(value); return *this;} /** *Specifies whether the expected and actual intents match or not.
*/ inline UserTurnResult& WithIntentMatchResult(TestResultMatchStatus&& value) { SetIntentMatchResult(std::move(value)); return *this;} /** *Specifies whether the expected and actual slots match or not.
*/ inline const TestResultMatchStatus& GetSlotMatchResult() const{ return m_slotMatchResult; } /** *Specifies whether the expected and actual slots match or not.
*/ inline bool SlotMatchResultHasBeenSet() const { return m_slotMatchResultHasBeenSet; } /** *Specifies whether the expected and actual slots match or not.
*/ inline void SetSlotMatchResult(const TestResultMatchStatus& value) { m_slotMatchResultHasBeenSet = true; m_slotMatchResult = value; } /** *Specifies whether the expected and actual slots match or not.
*/ inline void SetSlotMatchResult(TestResultMatchStatus&& value) { m_slotMatchResultHasBeenSet = true; m_slotMatchResult = std::move(value); } /** *Specifies whether the expected and actual slots match or not.
*/ inline UserTurnResult& WithSlotMatchResult(const TestResultMatchStatus& value) { SetSlotMatchResult(value); return *this;} /** *Specifies whether the expected and actual slots match or not.
*/ inline UserTurnResult& WithSlotMatchResult(TestResultMatchStatus&& value) { SetSlotMatchResult(std::move(value)); return *this;} /** *Specifies whether the expected and actual speech transcriptions match or not, * or if there is an error in execution.
*/ inline const TestResultMatchStatus& GetSpeechTranscriptionResult() const{ return m_speechTranscriptionResult; } /** *Specifies whether the expected and actual speech transcriptions match or not, * or if there is an error in execution.
*/ inline bool SpeechTranscriptionResultHasBeenSet() const { return m_speechTranscriptionResultHasBeenSet; } /** *Specifies whether the expected and actual speech transcriptions match or not, * or if there is an error in execution.
*/ inline void SetSpeechTranscriptionResult(const TestResultMatchStatus& value) { m_speechTranscriptionResultHasBeenSet = true; m_speechTranscriptionResult = value; } /** *Specifies whether the expected and actual speech transcriptions match or not, * or if there is an error in execution.
*/ inline void SetSpeechTranscriptionResult(TestResultMatchStatus&& value) { m_speechTranscriptionResultHasBeenSet = true; m_speechTranscriptionResult = std::move(value); } /** *Specifies whether the expected and actual speech transcriptions match or not, * or if there is an error in execution.
*/ inline UserTurnResult& WithSpeechTranscriptionResult(const TestResultMatchStatus& value) { SetSpeechTranscriptionResult(value); return *this;} /** *Specifies whether the expected and actual speech transcriptions match or not, * or if there is an error in execution.
*/ inline UserTurnResult& WithSpeechTranscriptionResult(TestResultMatchStatus&& value) { SetSpeechTranscriptionResult(std::move(value)); return *this;} /** *Contains information about the results related to the conversation associated * with the user turn.
*/ inline const ConversationLevelResultDetail& GetConversationLevelResult() const{ return m_conversationLevelResult; } /** *Contains information about the results related to the conversation associated * with the user turn.
*/ inline bool ConversationLevelResultHasBeenSet() const { return m_conversationLevelResultHasBeenSet; } /** *Contains information about the results related to the conversation associated * with the user turn.
*/ inline void SetConversationLevelResult(const ConversationLevelResultDetail& value) { m_conversationLevelResultHasBeenSet = true; m_conversationLevelResult = value; } /** *Contains information about the results related to the conversation associated * with the user turn.
*/ inline void SetConversationLevelResult(ConversationLevelResultDetail&& value) { m_conversationLevelResultHasBeenSet = true; m_conversationLevelResult = std::move(value); } /** *Contains information about the results related to the conversation associated * with the user turn.
*/ inline UserTurnResult& WithConversationLevelResult(const ConversationLevelResultDetail& value) { SetConversationLevelResult(value); return *this;} /** *Contains information about the results related to the conversation associated * with the user turn.
*/ inline UserTurnResult& WithConversationLevelResult(ConversationLevelResultDetail&& value) { SetConversationLevelResult(std::move(value)); return *this;} private: UserTurnInputSpecification m_input; bool m_inputHasBeenSet = false; UserTurnOutputSpecification m_expectedOutput; bool m_expectedOutputHasBeenSet = false; UserTurnOutputSpecification m_actualOutput; bool m_actualOutputHasBeenSet = false; ExecutionErrorDetails m_errorDetails; bool m_errorDetailsHasBeenSet = false; TestResultMatchStatus m_endToEndResult; bool m_endToEndResultHasBeenSet = false; TestResultMatchStatus m_intentMatchResult; bool m_intentMatchResultHasBeenSet = false; TestResultMatchStatus m_slotMatchResult; bool m_slotMatchResultHasBeenSet = false; TestResultMatchStatus m_speechTranscriptionResult; bool m_speechTranscriptionResultHasBeenSet = false; ConversationLevelResultDetail m_conversationLevelResult; bool m_conversationLevelResultHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws