AWS SDK for C++  1.9.108
AWS SDK for C++
ActionConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace CodePipeline
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Map<Aws::String, Aws::String>& GetConfiguration() const{ return m_configuration; }
46 
50  inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
51 
55  inline void SetConfiguration(const Aws::Map<Aws::String, Aws::String>& value) { m_configurationHasBeenSet = true; m_configuration = value; }
56 
60  inline void SetConfiguration(Aws::Map<Aws::String, Aws::String>&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
61 
65  inline ActionConfiguration& WithConfiguration(const Aws::Map<Aws::String, Aws::String>& value) { SetConfiguration(value); return *this;}
66 
70  inline ActionConfiguration& WithConfiguration(Aws::Map<Aws::String, Aws::String>&& value) { SetConfiguration(std::move(value)); return *this;}
71 
75  inline ActionConfiguration& AddConfiguration(const Aws::String& key, const Aws::String& value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, value); return *this; }
76 
80  inline ActionConfiguration& AddConfiguration(Aws::String&& key, const Aws::String& value) { m_configurationHasBeenSet = true; m_configuration.emplace(std::move(key), value); return *this; }
81 
85  inline ActionConfiguration& AddConfiguration(const Aws::String& key, Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, std::move(value)); return *this; }
86 
90  inline ActionConfiguration& AddConfiguration(Aws::String&& key, Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration.emplace(std::move(key), std::move(value)); return *this; }
91 
95  inline ActionConfiguration& AddConfiguration(const char* key, Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, std::move(value)); return *this; }
96 
100  inline ActionConfiguration& AddConfiguration(Aws::String&& key, const char* value) { m_configurationHasBeenSet = true; m_configuration.emplace(std::move(key), value); return *this; }
101 
105  inline ActionConfiguration& AddConfiguration(const char* key, const char* value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, value); return *this; }
106 
107  private:
108 
109  Aws::Map<Aws::String, Aws::String> m_configuration;
110  bool m_configurationHasBeenSet;
111  };
112 
113 } // namespace Model
114 } // namespace CodePipeline
115 } // namespace Aws
Aws::CodePipeline::Model::ActionConfiguration::ConfigurationHasBeenSet
bool ConfigurationHasBeenSet() const
Definition: ActionConfiguration.h:50
Aws::CodePipeline::Model::ActionConfiguration::AddConfiguration
ActionConfiguration & AddConfiguration(const Aws::String &key, Aws::String &&value)
Definition: ActionConfiguration.h:85
Aws::CodePipeline::Model::ActionConfiguration::SetConfiguration
void SetConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ActionConfiguration.h:60
Aws::CodePipeline::Model::ActionConfiguration::AddConfiguration
ActionConfiguration & AddConfiguration(const char *key, Aws::String &&value)
Definition: ActionConfiguration.h:95
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::ActionConfiguration
Definition: ActionConfiguration.h:34
Aws::CodePipeline::Model::ActionConfiguration::GetConfiguration
const Aws::Map< Aws::String, Aws::String > & GetConfiguration() const
Definition: ActionConfiguration.h:45
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::ActionConfiguration::AddConfiguration
ActionConfiguration & AddConfiguration(Aws::String &&key, const Aws::String &value)
Definition: ActionConfiguration.h:80
Aws::CodePipeline::Model::ActionConfiguration::operator=
ActionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::ActionConfiguration::AddConfiguration
ActionConfiguration & AddConfiguration(Aws::String &&key, Aws::String &&value)
Definition: ActionConfiguration.h:90
Aws::CodePipeline::Model::ActionConfiguration::ActionConfiguration
ActionConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::ActionConfiguration::AddConfiguration
ActionConfiguration & AddConfiguration(Aws::String &&key, const char *value)
Definition: ActionConfiguration.h:100
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::CodePipeline::Model::ActionConfiguration::SetConfiguration
void SetConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ActionConfiguration.h:55
Aws::CodePipeline::Model::ActionConfiguration::WithConfiguration
ActionConfiguration & WithConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ActionConfiguration.h:65
Aws::CodePipeline::Model::ActionConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodePipeline::Model::ActionConfiguration::AddConfiguration
ActionConfiguration & AddConfiguration(const char *key, const char *value)
Definition: ActionConfiguration.h:105
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::ActionConfiguration::WithConfiguration
ActionConfiguration & WithConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ActionConfiguration.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWSMap.h
Aws::CodePipeline::Model::ActionConfiguration::AddConfiguration
ActionConfiguration & AddConfiguration(const Aws::String &key, const Aws::String &value)
Definition: ActionConfiguration.h:75
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::CodePipeline::Model::ActionConfiguration::ActionConfiguration
ActionConfiguration()