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

Represents information about an action configuration.

See * Also:

AWS * API Reference

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

The configuration data for the action.

*/ inline const Aws::Map& GetConfiguration() const{ return m_configuration; } /** *

The configuration data for the action.

*/ inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } /** *

The configuration data for the action.

*/ inline void SetConfiguration(const Aws::Map& value) { m_configurationHasBeenSet = true; m_configuration = value; } /** *

The configuration data for the action.

*/ inline void SetConfiguration(Aws::Map&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } /** *

The configuration data for the action.

*/ inline ActionConfiguration& WithConfiguration(const Aws::Map& value) { SetConfiguration(value); return *this;} /** *

The configuration data for the action.

*/ inline ActionConfiguration& WithConfiguration(Aws::Map&& value) { SetConfiguration(std::move(value)); return *this;} /** *

The configuration data for the action.

*/ inline ActionConfiguration& AddConfiguration(const Aws::String& key, const Aws::String& value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, value); return *this; } /** *

The configuration data for the action.

*/ inline ActionConfiguration& AddConfiguration(Aws::String&& key, const Aws::String& value) { m_configurationHasBeenSet = true; m_configuration.emplace(std::move(key), value); return *this; } /** *

The configuration data for the action.

*/ inline ActionConfiguration& AddConfiguration(const Aws::String& key, Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, std::move(value)); return *this; } /** *

The configuration data for the action.

*/ inline ActionConfiguration& AddConfiguration(Aws::String&& key, Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration.emplace(std::move(key), std::move(value)); return *this; } /** *

The configuration data for the action.

*/ inline ActionConfiguration& AddConfiguration(const char* key, Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, std::move(value)); return *this; } /** *

The configuration data for the action.

*/ inline ActionConfiguration& AddConfiguration(Aws::String&& key, const char* value) { m_configurationHasBeenSet = true; m_configuration.emplace(std::move(key), value); return *this; } /** *

The configuration data for the action.

*/ inline ActionConfiguration& AddConfiguration(const char* key, const char* value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, value); return *this; } private: Aws::Map m_configuration; bool m_configurationHasBeenSet = false; }; } // namespace Model } // namespace CodePipeline } // namespace Aws