/** * 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 about the overall test results.

See Also:

AWS * API Reference

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

A list of the overall test results.

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

A list of the overall test results.

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

A list of the overall test results.

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

A list of the overall test results.

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

A list of the overall test results.

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

A list of the overall test results.

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

A list of the overall test results.

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

A list of the overall test results.

*/ inline OverallTestResults& AddItems(OverallTestResultItem&& 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