/** * 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 { /** *

Information for the results of the intent classification test.

See * Also:

AWS * API Reference

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

A list of the results for the intent classification test.

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

A list of the results for the intent classification test.

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

A list of the results for the intent classification test.

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

A list of the results for the intent classification test.

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

A list of the results for the intent classification test.

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

A list of the results for the intent classification test.

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

A list of the results for the intent classification test.

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

A list of the results for the intent classification test.

*/ inline IntentClassificationTestResults& AddItems(IntentClassificationTestResultItem&& 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