/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace IoTDeviceAdvisor { namespace Model { /** */ class StartSuiteRunRequest : public IoTDeviceAdvisorRequest { public: AWS_IOTDEVICEADVISOR_API StartSuiteRunRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "StartSuiteRun"; } AWS_IOTDEVICEADVISOR_API Aws::String SerializePayload() const override; /** *

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 StartSuiteRunRequest& WithSuiteDefinitionId(const Aws::String& value) { SetSuiteDefinitionId(value); return *this;} /** *

Suite definition ID of the test suite.

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

Suite definition ID of the test suite.

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

Suite definition version of the test suite.

*/ inline const Aws::String& GetSuiteDefinitionVersion() const{ return m_suiteDefinitionVersion; } /** *

Suite definition version of the test suite.

*/ inline bool SuiteDefinitionVersionHasBeenSet() const { return m_suiteDefinitionVersionHasBeenSet; } /** *

Suite definition version of the test suite.

*/ inline void SetSuiteDefinitionVersion(const Aws::String& value) { m_suiteDefinitionVersionHasBeenSet = true; m_suiteDefinitionVersion = value; } /** *

Suite definition version of the test suite.

*/ inline void SetSuiteDefinitionVersion(Aws::String&& value) { m_suiteDefinitionVersionHasBeenSet = true; m_suiteDefinitionVersion = std::move(value); } /** *

Suite definition version of the test suite.

*/ inline void SetSuiteDefinitionVersion(const char* value) { m_suiteDefinitionVersionHasBeenSet = true; m_suiteDefinitionVersion.assign(value); } /** *

Suite definition version of the test suite.

*/ inline StartSuiteRunRequest& WithSuiteDefinitionVersion(const Aws::String& value) { SetSuiteDefinitionVersion(value); return *this;} /** *

Suite definition version of the test suite.

*/ inline StartSuiteRunRequest& WithSuiteDefinitionVersion(Aws::String&& value) { SetSuiteDefinitionVersion(std::move(value)); return *this;} /** *

Suite definition version of the test suite.

*/ inline StartSuiteRunRequest& WithSuiteDefinitionVersion(const char* value) { SetSuiteDefinitionVersion(value); return *this;} /** *

Suite run configuration.

*/ inline const SuiteRunConfiguration& GetSuiteRunConfiguration() const{ return m_suiteRunConfiguration; } /** *

Suite run configuration.

*/ inline bool SuiteRunConfigurationHasBeenSet() const { return m_suiteRunConfigurationHasBeenSet; } /** *

Suite run configuration.

*/ inline void SetSuiteRunConfiguration(const SuiteRunConfiguration& value) { m_suiteRunConfigurationHasBeenSet = true; m_suiteRunConfiguration = value; } /** *

Suite run configuration.

*/ inline void SetSuiteRunConfiguration(SuiteRunConfiguration&& value) { m_suiteRunConfigurationHasBeenSet = true; m_suiteRunConfiguration = std::move(value); } /** *

Suite run configuration.

*/ inline StartSuiteRunRequest& WithSuiteRunConfiguration(const SuiteRunConfiguration& value) { SetSuiteRunConfiguration(value); return *this;} /** *

Suite run configuration.

*/ inline StartSuiteRunRequest& WithSuiteRunConfiguration(SuiteRunConfiguration&& value) { SetSuiteRunConfiguration(std::move(value)); return *this;} /** *

The tags to be attached to the suite run.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags to be attached to the suite run.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags to be attached to the suite run.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags to be attached to the suite run.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags to be attached to the suite run.

*/ inline StartSuiteRunRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags to be attached to the suite run.

*/ inline StartSuiteRunRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags to be attached to the suite run.

*/ inline StartSuiteRunRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The tags to be attached to the suite run.

*/ inline StartSuiteRunRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags to be attached to the suite run.

*/ inline StartSuiteRunRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags to be attached to the suite run.

*/ inline StartSuiteRunRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags to be attached to the suite run.

*/ inline StartSuiteRunRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags to be attached to the suite run.

*/ inline StartSuiteRunRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags to be attached to the suite run.

*/ inline StartSuiteRunRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_suiteDefinitionId; bool m_suiteDefinitionIdHasBeenSet = false; Aws::String m_suiteDefinitionVersion; bool m_suiteDefinitionVersionHasBeenSet = false; SuiteRunConfiguration m_suiteRunConfiguration; bool m_suiteRunConfigurationHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace IoTDeviceAdvisor } // namespace Aws