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

See Also:

AWS * API Reference

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

Contains information about an utterance in the results of the test set * execution.

*/ inline const Aws::Vector& GetItems() const{ return m_items; } /** *

Contains information about an utterance in the results of the test set * execution.

*/ inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; } /** *

Contains information about an utterance in the results of the test set * execution.

*/ inline void SetItems(const Aws::Vector& value) { m_itemsHasBeenSet = true; m_items = value; } /** *

Contains information about an utterance in the results of the test set * execution.

*/ inline void SetItems(Aws::Vector&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); } /** *

Contains information about an utterance in the results of the test set * execution.

*/ inline UtteranceLevelTestResults& WithItems(const Aws::Vector& value) { SetItems(value); return *this;} /** *

Contains information about an utterance in the results of the test set * execution.

*/ inline UtteranceLevelTestResults& WithItems(Aws::Vector&& value) { SetItems(std::move(value)); return *this;} /** *

Contains information about an utterance in the results of the test set * execution.

*/ inline UtteranceLevelTestResults& AddItems(const UtteranceLevelTestResultItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } /** *

Contains information about an utterance in the results of the test set * execution.

*/ inline UtteranceLevelTestResults& AddItems(UtteranceLevelTestResultItem&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; } private: Aws::Vector m_items; bool m_itemsHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws