AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ActionConfiguration.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodePipeline
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CODEPIPELINE_API ActionConfiguration() = default;
37 AWS_CODEPIPELINE_API ActionConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Map<Aws::String, Aws::String>& GetConfiguration() const { return m_configuration; }
47 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
48 template<typename ConfigurationT = Aws::Map<Aws::String, Aws::String>>
49 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
50 template<typename ConfigurationT = Aws::Map<Aws::String, Aws::String>>
51 ActionConfiguration& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
52 template<typename ConfigurationKeyT = Aws::String, typename ConfigurationValueT = Aws::String>
53 ActionConfiguration& AddConfiguration(ConfigurationKeyT&& key, ConfigurationValueT&& value) {
54 m_configurationHasBeenSet = true; m_configuration.emplace(std::forward<ConfigurationKeyT>(key), std::forward<ConfigurationValueT>(value)); return *this;
55 }
57 private:
58
60 bool m_configurationHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace CodePipeline
65} // namespace Aws
ActionConfiguration & AddConfiguration(ConfigurationKeyT &&key, ConfigurationValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetConfiguration() const
AWS_CODEPIPELINE_API ActionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionConfiguration & WithConfiguration(ConfigurationT &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEPIPELINE_API ActionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API ActionConfiguration()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue