/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTDeviceAdvisor { namespace Model { /** *

Gets suite run configuration.

See Also:

AWS * API Reference

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

Sets the primary device for the test suite run. This requires a thing ARN or * a certificate ARN.

*/ inline const DeviceUnderTest& GetPrimaryDevice() const{ return m_primaryDevice; } /** *

Sets the primary device for the test suite run. This requires a thing ARN or * a certificate ARN.

*/ inline bool PrimaryDeviceHasBeenSet() const { return m_primaryDeviceHasBeenSet; } /** *

Sets the primary device for the test suite run. This requires a thing ARN or * a certificate ARN.

*/ inline void SetPrimaryDevice(const DeviceUnderTest& value) { m_primaryDeviceHasBeenSet = true; m_primaryDevice = value; } /** *

Sets the primary device for the test suite run. This requires a thing ARN or * a certificate ARN.

*/ inline void SetPrimaryDevice(DeviceUnderTest&& value) { m_primaryDeviceHasBeenSet = true; m_primaryDevice = std::move(value); } /** *

Sets the primary device for the test suite run. This requires a thing ARN or * a certificate ARN.

*/ inline SuiteRunConfiguration& WithPrimaryDevice(const DeviceUnderTest& value) { SetPrimaryDevice(value); return *this;} /** *

Sets the primary device for the test suite run. This requires a thing ARN or * a certificate ARN.

*/ inline SuiteRunConfiguration& WithPrimaryDevice(DeviceUnderTest&& value) { SetPrimaryDevice(std::move(value)); return *this;} /** *

Sets test case list.

*/ inline const Aws::Vector& GetSelectedTestList() const{ return m_selectedTestList; } /** *

Sets test case list.

*/ inline bool SelectedTestListHasBeenSet() const { return m_selectedTestListHasBeenSet; } /** *

Sets test case list.

*/ inline void SetSelectedTestList(const Aws::Vector& value) { m_selectedTestListHasBeenSet = true; m_selectedTestList = value; } /** *

Sets test case list.

*/ inline void SetSelectedTestList(Aws::Vector&& value) { m_selectedTestListHasBeenSet = true; m_selectedTestList = std::move(value); } /** *

Sets test case list.

*/ inline SuiteRunConfiguration& WithSelectedTestList(const Aws::Vector& value) { SetSelectedTestList(value); return *this;} /** *

Sets test case list.

*/ inline SuiteRunConfiguration& WithSelectedTestList(Aws::Vector&& value) { SetSelectedTestList(std::move(value)); return *this;} /** *

Sets test case list.

*/ inline SuiteRunConfiguration& AddSelectedTestList(const Aws::String& value) { m_selectedTestListHasBeenSet = true; m_selectedTestList.push_back(value); return *this; } /** *

Sets test case list.

*/ inline SuiteRunConfiguration& AddSelectedTestList(Aws::String&& value) { m_selectedTestListHasBeenSet = true; m_selectedTestList.push_back(std::move(value)); return *this; } /** *

Sets test case list.

*/ inline SuiteRunConfiguration& AddSelectedTestList(const char* value) { m_selectedTestListHasBeenSet = true; m_selectedTestList.push_back(value); return *this; } /** *

TRUE if multiple test suites run in parallel.

*/ inline bool GetParallelRun() const{ return m_parallelRun; } /** *

TRUE if multiple test suites run in parallel.

*/ inline bool ParallelRunHasBeenSet() const { return m_parallelRunHasBeenSet; } /** *

TRUE if multiple test suites run in parallel.

*/ inline void SetParallelRun(bool value) { m_parallelRunHasBeenSet = true; m_parallelRun = value; } /** *

TRUE if multiple test suites run in parallel.

*/ inline SuiteRunConfiguration& WithParallelRun(bool value) { SetParallelRun(value); return *this;} private: DeviceUnderTest m_primaryDevice; bool m_primaryDeviceHasBeenSet = false; Aws::Vector m_selectedTestList; bool m_selectedTestListHasBeenSet = false; bool m_parallelRun; bool m_parallelRunHasBeenSet = false; }; } // namespace Model } // namespace IoTDeviceAdvisor } // namespace Aws