/** * 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 CreateSuiteDefinitionRequest : public IoTDeviceAdvisorRequest { public: AWS_IOTDEVICEADVISOR_API CreateSuiteDefinitionRequest(); // 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 "CreateSuiteDefinition"; } AWS_IOTDEVICEADVISOR_API Aws::String SerializePayload() const override; /** *

Creates a Device Advisor test suite with suite definition configuration.

*/ inline const SuiteDefinitionConfiguration& GetSuiteDefinitionConfiguration() const{ return m_suiteDefinitionConfiguration; } /** *

Creates a Device Advisor test suite with suite definition configuration.

*/ inline bool SuiteDefinitionConfigurationHasBeenSet() const { return m_suiteDefinitionConfigurationHasBeenSet; } /** *

Creates a Device Advisor test suite with suite definition configuration.

*/ inline void SetSuiteDefinitionConfiguration(const SuiteDefinitionConfiguration& value) { m_suiteDefinitionConfigurationHasBeenSet = true; m_suiteDefinitionConfiguration = value; } /** *

Creates a Device Advisor test suite with suite definition configuration.

*/ inline void SetSuiteDefinitionConfiguration(SuiteDefinitionConfiguration&& value) { m_suiteDefinitionConfigurationHasBeenSet = true; m_suiteDefinitionConfiguration = std::move(value); } /** *

Creates a Device Advisor test suite with suite definition configuration.

*/ inline CreateSuiteDefinitionRequest& WithSuiteDefinitionConfiguration(const SuiteDefinitionConfiguration& value) { SetSuiteDefinitionConfiguration(value); return *this;} /** *

Creates a Device Advisor test suite with suite definition configuration.

*/ inline CreateSuiteDefinitionRequest& WithSuiteDefinitionConfiguration(SuiteDefinitionConfiguration&& value) { SetSuiteDefinitionConfiguration(std::move(value)); return *this;} /** *

The tags to be attached to the suite definition.

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

The tags to be attached to the suite definition.

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

The tags to be attached to the suite definition.

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

The tags to be attached to the suite definition.

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

The tags to be attached to the suite definition.

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

The tags to be attached to the suite definition.

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

The tags to be attached to the suite definition.

*/ inline CreateSuiteDefinitionRequest& 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 definition.

*/ inline CreateSuiteDefinitionRequest& 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 definition.

*/ inline CreateSuiteDefinitionRequest& 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 definition.

*/ inline CreateSuiteDefinitionRequest& 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 definition.

*/ inline CreateSuiteDefinitionRequest& 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 definition.

*/ inline CreateSuiteDefinitionRequest& 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 definition.

*/ inline CreateSuiteDefinitionRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: SuiteDefinitionConfiguration m_suiteDefinitionConfiguration; bool m_suiteDefinitionConfigurationHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace IoTDeviceAdvisor } // namespace Aws