/** * 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 IoTDeviceAdvisor { namespace Model { /** *

Show each group result.

See Also:

AWS * API Reference

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

Show each group of test results.

*/ inline const Aws::Vector& GetGroups() const{ return m_groups; } /** *

Show each group of test results.

*/ inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; } /** *

Show each group of test results.

*/ inline void SetGroups(const Aws::Vector& value) { m_groupsHasBeenSet = true; m_groups = value; } /** *

Show each group of test results.

*/ inline void SetGroups(Aws::Vector&& value) { m_groupsHasBeenSet = true; m_groups = std::move(value); } /** *

Show each group of test results.

*/ inline TestResult& WithGroups(const Aws::Vector& value) { SetGroups(value); return *this;} /** *

Show each group of test results.

*/ inline TestResult& WithGroups(Aws::Vector&& value) { SetGroups(std::move(value)); return *this;} /** *

Show each group of test results.

*/ inline TestResult& AddGroups(const GroupResult& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; } /** *

Show each group of test results.

*/ inline TestResult& AddGroups(GroupResult&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; } private: Aws::Vector m_groups; bool m_groupsHasBeenSet = false; }; } // namespace Model } // namespace IoTDeviceAdvisor } // namespace Aws