AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodePipeline {
21namespace Model {
22
30 public:
31 AWS_CODEPIPELINE_API ActionConfiguration() = default;
32 AWS_CODEPIPELINE_API ActionConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Map<Aws::String, Aws::String>& GetConfiguration() const { return m_configuration; }
41 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
42 template <typename ConfigurationT = Aws::Map<Aws::String, Aws::String>>
43 void SetConfiguration(ConfigurationT&& value) {
44 m_configurationHasBeenSet = true;
45 m_configuration = std::forward<ConfigurationT>(value);
46 }
47 template <typename ConfigurationT = Aws::Map<Aws::String, Aws::String>>
48 ActionConfiguration& WithConfiguration(ConfigurationT&& value) {
49 SetConfiguration(std::forward<ConfigurationT>(value));
50 return *this;
51 }
52 template <typename ConfigurationKeyT = Aws::String, typename ConfigurationValueT = Aws::String>
53 ActionConfiguration& AddConfiguration(ConfigurationKeyT&& key, ConfigurationValueT&& value) {
54 m_configurationHasBeenSet = true;
55 m_configuration.emplace(std::forward<ConfigurationKeyT>(key), std::forward<ConfigurationValueT>(value));
56 return *this;
57 }
59 private:
61 bool m_configurationHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace CodePipeline
66} // 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