/** * 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 multiple utterances in the results of a test set * execution.

See Also:

AWS * API Reference

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

The record number of the result.

*/ inline long long GetRecordNumber() const{ return m_recordNumber; } /** *

The record number of the result.

*/ inline bool RecordNumberHasBeenSet() const { return m_recordNumberHasBeenSet; } /** *

The record number of the result.

*/ inline void SetRecordNumber(long long value) { m_recordNumberHasBeenSet = true; m_recordNumber = value; } /** *

The record number of the result.

*/ inline UtteranceLevelTestResultItem& WithRecordNumber(long long value) { SetRecordNumber(value); return *this;} /** *

The unique identifier for the conversation associated with the result.

*/ inline const Aws::String& GetConversationId() const{ return m_conversationId; } /** *

The unique identifier for the conversation associated with the result.

*/ inline bool ConversationIdHasBeenSet() const { return m_conversationIdHasBeenSet; } /** *

The unique identifier for the conversation associated with the result.

*/ inline void SetConversationId(const Aws::String& value) { m_conversationIdHasBeenSet = true; m_conversationId = value; } /** *

The unique identifier for the conversation associated with the result.

*/ inline void SetConversationId(Aws::String&& value) { m_conversationIdHasBeenSet = true; m_conversationId = std::move(value); } /** *

The unique identifier for the conversation associated with the result.

*/ inline void SetConversationId(const char* value) { m_conversationIdHasBeenSet = true; m_conversationId.assign(value); } /** *

The unique identifier for the conversation associated with the result.

*/ inline UtteranceLevelTestResultItem& WithConversationId(const Aws::String& value) { SetConversationId(value); return *this;} /** *

The unique identifier for the conversation associated with the result.

*/ inline UtteranceLevelTestResultItem& WithConversationId(Aws::String&& value) { SetConversationId(std::move(value)); return *this;} /** *

The unique identifier for the conversation associated with the result.

*/ inline UtteranceLevelTestResultItem& WithConversationId(const char* value) { SetConversationId(value); return *this;} /** *

Contains information about the turn associated with the result.

*/ inline const TestSetTurnResult& GetTurnResult() const{ return m_turnResult; } /** *

Contains information about the turn associated with the result.

*/ inline bool TurnResultHasBeenSet() const { return m_turnResultHasBeenSet; } /** *

Contains information about the turn associated with the result.

*/ inline void SetTurnResult(const TestSetTurnResult& value) { m_turnResultHasBeenSet = true; m_turnResult = value; } /** *

Contains information about the turn associated with the result.

*/ inline void SetTurnResult(TestSetTurnResult&& value) { m_turnResultHasBeenSet = true; m_turnResult = std::move(value); } /** *

Contains information about the turn associated with the result.

*/ inline UtteranceLevelTestResultItem& WithTurnResult(const TestSetTurnResult& value) { SetTurnResult(value); return *this;} /** *

Contains information about the turn associated with the result.

*/ inline UtteranceLevelTestResultItem& WithTurnResult(TestSetTurnResult&& value) { SetTurnResult(std::move(value)); return *this;} private: long long m_recordNumber; bool m_recordNumberHasBeenSet = false; Aws::String m_conversationId; bool m_conversationIdHasBeenSet = false; TestSetTurnResult m_turnResult; bool m_turnResultHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws