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

Information about the suite definition.

See Also:

AWS * API Reference

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

Suite definition ID of the test suite.

*/ inline const Aws::String& GetSuiteDefinitionId() const{ return m_suiteDefinitionId; } /** *

Suite definition ID of the test suite.

*/ inline bool SuiteDefinitionIdHasBeenSet() const { return m_suiteDefinitionIdHasBeenSet; } /** *

Suite definition ID of the test suite.

*/ inline void SetSuiteDefinitionId(const Aws::String& value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId = value; } /** *

Suite definition ID of the test suite.

*/ inline void SetSuiteDefinitionId(Aws::String&& value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId = std::move(value); } /** *

Suite definition ID of the test suite.

*/ inline void SetSuiteDefinitionId(const char* value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId.assign(value); } /** *

Suite definition ID of the test suite.

*/ inline SuiteDefinitionInformation& WithSuiteDefinitionId(const Aws::String& value) { SetSuiteDefinitionId(value); return *this;} /** *

Suite definition ID of the test suite.

*/ inline SuiteDefinitionInformation& WithSuiteDefinitionId(Aws::String&& value) { SetSuiteDefinitionId(std::move(value)); return *this;} /** *

Suite definition ID of the test suite.

*/ inline SuiteDefinitionInformation& WithSuiteDefinitionId(const char* value) { SetSuiteDefinitionId(value); return *this;} /** *

Suite name of the test suite.

*/ inline const Aws::String& GetSuiteDefinitionName() const{ return m_suiteDefinitionName; } /** *

Suite name of the test suite.

*/ inline bool SuiteDefinitionNameHasBeenSet() const { return m_suiteDefinitionNameHasBeenSet; } /** *

Suite name of the test suite.

*/ inline void SetSuiteDefinitionName(const Aws::String& value) { m_suiteDefinitionNameHasBeenSet = true; m_suiteDefinitionName = value; } /** *

Suite name of the test suite.

*/ inline void SetSuiteDefinitionName(Aws::String&& value) { m_suiteDefinitionNameHasBeenSet = true; m_suiteDefinitionName = std::move(value); } /** *

Suite name of the test suite.

*/ inline void SetSuiteDefinitionName(const char* value) { m_suiteDefinitionNameHasBeenSet = true; m_suiteDefinitionName.assign(value); } /** *

Suite name of the test suite.

*/ inline SuiteDefinitionInformation& WithSuiteDefinitionName(const Aws::String& value) { SetSuiteDefinitionName(value); return *this;} /** *

Suite name of the test suite.

*/ inline SuiteDefinitionInformation& WithSuiteDefinitionName(Aws::String&& value) { SetSuiteDefinitionName(std::move(value)); return *this;} /** *

Suite name of the test suite.

*/ inline SuiteDefinitionInformation& WithSuiteDefinitionName(const char* value) { SetSuiteDefinitionName(value); return *this;} /** *

Specifies the devices that are under test for the test suite.

*/ inline const Aws::Vector& GetDefaultDevices() const{ return m_defaultDevices; } /** *

Specifies the devices that are under test for the test suite.

*/ inline bool DefaultDevicesHasBeenSet() const { return m_defaultDevicesHasBeenSet; } /** *

Specifies the devices that are under test for the test suite.

*/ inline void SetDefaultDevices(const Aws::Vector& value) { m_defaultDevicesHasBeenSet = true; m_defaultDevices = value; } /** *

Specifies the devices that are under test for the test suite.

*/ inline void SetDefaultDevices(Aws::Vector&& value) { m_defaultDevicesHasBeenSet = true; m_defaultDevices = std::move(value); } /** *

Specifies the devices that are under test for the test suite.

*/ inline SuiteDefinitionInformation& WithDefaultDevices(const Aws::Vector& value) { SetDefaultDevices(value); return *this;} /** *

Specifies the devices that are under test for the test suite.

*/ inline SuiteDefinitionInformation& WithDefaultDevices(Aws::Vector&& value) { SetDefaultDevices(std::move(value)); return *this;} /** *

Specifies the devices that are under test for the test suite.

*/ inline SuiteDefinitionInformation& AddDefaultDevices(const DeviceUnderTest& value) { m_defaultDevicesHasBeenSet = true; m_defaultDevices.push_back(value); return *this; } /** *

Specifies the devices that are under test for the test suite.

*/ inline SuiteDefinitionInformation& AddDefaultDevices(DeviceUnderTest&& value) { m_defaultDevicesHasBeenSet = true; m_defaultDevices.push_back(std::move(value)); return *this; } /** *

Specifies if the test suite is intended for qualification.

*/ inline bool GetIntendedForQualification() const{ return m_intendedForQualification; } /** *

Specifies if the test suite is intended for qualification.

*/ inline bool IntendedForQualificationHasBeenSet() const { return m_intendedForQualificationHasBeenSet; } /** *

Specifies if the test suite is intended for qualification.

*/ inline void SetIntendedForQualification(bool value) { m_intendedForQualificationHasBeenSet = true; m_intendedForQualification = value; } /** *

Specifies if the test suite is intended for qualification.

*/ inline SuiteDefinitionInformation& WithIntendedForQualification(bool value) { SetIntendedForQualification(value); return *this;} /** *

Verifies if the test suite is a long duration test.

*/ inline bool GetIsLongDurationTest() const{ return m_isLongDurationTest; } /** *

Verifies if the test suite is a long duration test.

*/ inline bool IsLongDurationTestHasBeenSet() const { return m_isLongDurationTestHasBeenSet; } /** *

Verifies if the test suite is a long duration test.

*/ inline void SetIsLongDurationTest(bool value) { m_isLongDurationTestHasBeenSet = true; m_isLongDurationTest = value; } /** *

Verifies if the test suite is a long duration test.

*/ inline SuiteDefinitionInformation& WithIsLongDurationTest(bool value) { SetIsLongDurationTest(value); return *this;} /** *

Gets the MQTT protocol that is configured in the suite definition.

*/ inline const Protocol& GetProtocol() const{ return m_protocol; } /** *

Gets the MQTT protocol that is configured in the suite definition.

*/ inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; } /** *

Gets the MQTT protocol that is configured in the suite definition.

*/ inline void SetProtocol(const Protocol& value) { m_protocolHasBeenSet = true; m_protocol = value; } /** *

Gets the MQTT protocol that is configured in the suite definition.

*/ inline void SetProtocol(Protocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); } /** *

Gets the MQTT protocol that is configured in the suite definition.

*/ inline SuiteDefinitionInformation& WithProtocol(const Protocol& value) { SetProtocol(value); return *this;} /** *

Gets the MQTT protocol that is configured in the suite definition.

*/ inline SuiteDefinitionInformation& WithProtocol(Protocol&& value) { SetProtocol(std::move(value)); return *this;} /** *

Date (in Unix epoch time) when the test suite was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

Date (in Unix epoch time) when the test suite was created.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

Date (in Unix epoch time) when the test suite was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

Date (in Unix epoch time) when the test suite was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

Date (in Unix epoch time) when the test suite was created.

*/ inline SuiteDefinitionInformation& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

Date (in Unix epoch time) when the test suite was created.

*/ inline SuiteDefinitionInformation& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} private: Aws::String m_suiteDefinitionId; bool m_suiteDefinitionIdHasBeenSet = false; Aws::String m_suiteDefinitionName; bool m_suiteDefinitionNameHasBeenSet = false; Aws::Vector m_defaultDevices; bool m_defaultDevicesHasBeenSet = false; bool m_intendedForQualification; bool m_intendedForQualificationHasBeenSet = false; bool m_isLongDurationTest; bool m_isLongDurationTestHasBeenSet = false; Protocol m_protocol; bool m_protocolHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; }; } // namespace Model } // namespace IoTDeviceAdvisor } // namespace Aws