/** * 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 a turn in a test set.

See Also:

* AWS * API Reference

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

The record number associated with the turn.

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

The record number associated with the turn.

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

The record number associated with the turn.

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

The record number associated with the turn.

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

The unique identifier for the conversation associated with the turn.

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

The unique identifier for the conversation associated with the turn.

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

The unique identifier for the conversation associated with the turn.

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

The unique identifier for the conversation associated with the turn.

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

The unique identifier for the conversation associated with the turn.

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

The unique identifier for the conversation associated with the turn.

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

The unique identifier for the conversation associated with the turn.

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

The unique identifier for the conversation associated with the turn.

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

The number of turns that has elapsed up to that turn.

*/ inline int GetTurnNumber() const{ return m_turnNumber; } /** *

The number of turns that has elapsed up to that turn.

*/ inline bool TurnNumberHasBeenSet() const { return m_turnNumberHasBeenSet; } /** *

The number of turns that has elapsed up to that turn.

*/ inline void SetTurnNumber(int value) { m_turnNumberHasBeenSet = true; m_turnNumber = value; } /** *

The number of turns that has elapsed up to that turn.

*/ inline TestSetTurnRecord& WithTurnNumber(int value) { SetTurnNumber(value); return *this;} /** *

Contains information about the agent or user turn depending upon type of * turn.

*/ inline const TurnSpecification& GetTurnSpecification() const{ return m_turnSpecification; } /** *

Contains information about the agent or user turn depending upon type of * turn.

*/ inline bool TurnSpecificationHasBeenSet() const { return m_turnSpecificationHasBeenSet; } /** *

Contains information about the agent or user turn depending upon type of * turn.

*/ inline void SetTurnSpecification(const TurnSpecification& value) { m_turnSpecificationHasBeenSet = true; m_turnSpecification = value; } /** *

Contains information about the agent or user turn depending upon type of * turn.

*/ inline void SetTurnSpecification(TurnSpecification&& value) { m_turnSpecificationHasBeenSet = true; m_turnSpecification = std::move(value); } /** *

Contains information about the agent or user turn depending upon type of * turn.

*/ inline TestSetTurnRecord& WithTurnSpecification(const TurnSpecification& value) { SetTurnSpecification(value); return *this;} /** *

Contains information about the agent or user turn depending upon type of * turn.

*/ inline TestSetTurnRecord& WithTurnSpecification(TurnSpecification&& value) { SetTurnSpecification(std::move(value)); return *this;} private: long long m_recordNumber; bool m_recordNumberHasBeenSet = false; Aws::String m_conversationId; bool m_conversationIdHasBeenSet = false; int m_turnNumber; bool m_turnNumberHasBeenSet = false; TurnSpecification m_turnSpecification; bool m_turnSpecificationHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws