AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionExecutionInput.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/ActionTypeId.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codepipeline/model/ArtifactDetail.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace CodePipeline
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_CODEPIPELINE_API ActionExecutionInput();
39 AWS_CODEPIPELINE_API ActionExecutionInput(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
46 inline const ActionTypeId& GetActionTypeId() const{ return m_actionTypeId; }
47 inline bool ActionTypeIdHasBeenSet() const { return m_actionTypeIdHasBeenSet; }
48 inline void SetActionTypeId(const ActionTypeId& value) { m_actionTypeIdHasBeenSet = true; m_actionTypeId = value; }
49 inline void SetActionTypeId(ActionTypeId&& value) { m_actionTypeIdHasBeenSet = true; m_actionTypeId = std::move(value); }
50 inline ActionExecutionInput& WithActionTypeId(const ActionTypeId& value) { SetActionTypeId(value); return *this;}
51 inline ActionExecutionInput& WithActionTypeId(ActionTypeId&& value) { SetActionTypeId(std::move(value)); return *this;}
53
55
58 inline const Aws::Map<Aws::String, Aws::String>& GetConfiguration() const{ return m_configuration; }
59 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
60 inline void SetConfiguration(const Aws::Map<Aws::String, Aws::String>& value) { m_configurationHasBeenSet = true; m_configuration = value; }
61 inline void SetConfiguration(Aws::Map<Aws::String, Aws::String>&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
64 inline ActionExecutionInput& AddConfiguration(const Aws::String& key, const Aws::String& value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, value); return *this; }
65 inline ActionExecutionInput& AddConfiguration(Aws::String&& key, const Aws::String& value) { m_configurationHasBeenSet = true; m_configuration.emplace(std::move(key), value); return *this; }
66 inline ActionExecutionInput& AddConfiguration(const Aws::String& key, Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, std::move(value)); return *this; }
67 inline ActionExecutionInput& AddConfiguration(Aws::String&& key, Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration.emplace(std::move(key), std::move(value)); return *this; }
68 inline ActionExecutionInput& AddConfiguration(const char* key, Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, std::move(value)); return *this; }
69 inline ActionExecutionInput& AddConfiguration(Aws::String&& key, const char* value) { m_configurationHasBeenSet = true; m_configuration.emplace(std::move(key), value); return *this; }
70 inline ActionExecutionInput& AddConfiguration(const char* key, const char* value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, value); return *this; }
72
74
78 inline const Aws::Map<Aws::String, Aws::String>& GetResolvedConfiguration() const{ return m_resolvedConfiguration; }
79 inline bool ResolvedConfigurationHasBeenSet() const { return m_resolvedConfigurationHasBeenSet; }
80 inline void SetResolvedConfiguration(const Aws::Map<Aws::String, Aws::String>& value) { m_resolvedConfigurationHasBeenSet = true; m_resolvedConfiguration = value; }
81 inline void SetResolvedConfiguration(Aws::Map<Aws::String, Aws::String>&& value) { m_resolvedConfigurationHasBeenSet = true; m_resolvedConfiguration = std::move(value); }
84 inline ActionExecutionInput& AddResolvedConfiguration(const Aws::String& key, const Aws::String& value) { m_resolvedConfigurationHasBeenSet = true; m_resolvedConfiguration.emplace(key, value); return *this; }
85 inline ActionExecutionInput& AddResolvedConfiguration(Aws::String&& key, const Aws::String& value) { m_resolvedConfigurationHasBeenSet = true; m_resolvedConfiguration.emplace(std::move(key), value); return *this; }
86 inline ActionExecutionInput& AddResolvedConfiguration(const Aws::String& key, Aws::String&& value) { m_resolvedConfigurationHasBeenSet = true; m_resolvedConfiguration.emplace(key, std::move(value)); return *this; }
87 inline ActionExecutionInput& AddResolvedConfiguration(Aws::String&& key, Aws::String&& value) { m_resolvedConfigurationHasBeenSet = true; m_resolvedConfiguration.emplace(std::move(key), std::move(value)); return *this; }
88 inline ActionExecutionInput& AddResolvedConfiguration(const char* key, Aws::String&& value) { m_resolvedConfigurationHasBeenSet = true; m_resolvedConfiguration.emplace(key, std::move(value)); return *this; }
89 inline ActionExecutionInput& AddResolvedConfiguration(Aws::String&& key, const char* value) { m_resolvedConfigurationHasBeenSet = true; m_resolvedConfiguration.emplace(std::move(key), value); return *this; }
90 inline ActionExecutionInput& AddResolvedConfiguration(const char* key, const char* value) { m_resolvedConfigurationHasBeenSet = true; m_resolvedConfiguration.emplace(key, value); return *this; }
92
94
98 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
99 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
100 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
101 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
102 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
103 inline ActionExecutionInput& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
104 inline ActionExecutionInput& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
105 inline ActionExecutionInput& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
107
109
112 inline const Aws::String& GetRegion() const{ return m_region; }
113 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
114 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
115 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
116 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
117 inline ActionExecutionInput& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
118 inline ActionExecutionInput& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
119 inline ActionExecutionInput& WithRegion(const char* value) { SetRegion(value); return *this;}
121
123
127 inline const Aws::Vector<ArtifactDetail>& GetInputArtifacts() const{ return m_inputArtifacts; }
128 inline bool InputArtifactsHasBeenSet() const { return m_inputArtifactsHasBeenSet; }
129 inline void SetInputArtifacts(const Aws::Vector<ArtifactDetail>& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts = value; }
130 inline void SetInputArtifacts(Aws::Vector<ArtifactDetail>&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts = std::move(value); }
133 inline ActionExecutionInput& AddInputArtifacts(const ArtifactDetail& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.push_back(value); return *this; }
134 inline ActionExecutionInput& AddInputArtifacts(ArtifactDetail&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.push_back(std::move(value)); return *this; }
136
138
142 inline const Aws::String& GetNamespace() const{ return m_namespace; }
143 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
144 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
145 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
146 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
147 inline ActionExecutionInput& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
148 inline ActionExecutionInput& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
149 inline ActionExecutionInput& WithNamespace(const char* value) { SetNamespace(value); return *this;}
151 private:
152
153 ActionTypeId m_actionTypeId;
154 bool m_actionTypeIdHasBeenSet = false;
155
157 bool m_configurationHasBeenSet = false;
158
159 Aws::Map<Aws::String, Aws::String> m_resolvedConfiguration;
160 bool m_resolvedConfigurationHasBeenSet = false;
161
162 Aws::String m_roleArn;
163 bool m_roleArnHasBeenSet = false;
164
165 Aws::String m_region;
166 bool m_regionHasBeenSet = false;
167
168 Aws::Vector<ArtifactDetail> m_inputArtifacts;
169 bool m_inputArtifactsHasBeenSet = false;
170
171 Aws::String m_namespace;
172 bool m_namespaceHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace CodePipeline
177} // namespace Aws
ActionExecutionInput & AddConfiguration(const Aws::String &key, const Aws::String &value)
ActionExecutionInput & AddResolvedConfiguration(const char *key, const char *value)
ActionExecutionInput & AddConfiguration(Aws::String &&key, const char *value)
ActionExecutionInput & WithRegion(const char *value)
ActionExecutionInput & AddResolvedConfiguration(const Aws::String &key, Aws::String &&value)
ActionExecutionInput & AddConfiguration(const char *key, Aws::String &&value)
ActionExecutionInput & WithRoleArn(Aws::String &&value)
ActionExecutionInput & WithInputArtifacts(const Aws::Vector< ArtifactDetail > &value)
ActionExecutionInput & WithNamespace(Aws::String &&value)
ActionExecutionInput & WithNamespace(const char *value)
ActionExecutionInput & WithRoleArn(const char *value)
ActionExecutionInput & WithResolvedConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
ActionExecutionInput & WithActionTypeId(ActionTypeId &&value)
ActionExecutionInput & AddConfiguration(Aws::String &&key, const Aws::String &value)
ActionExecutionInput & WithActionTypeId(const ActionTypeId &value)
const Aws::Map< Aws::String, Aws::String > & GetResolvedConfiguration() const
ActionExecutionInput & WithConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
ActionExecutionInput & WithRegion(Aws::String &&value)
ActionExecutionInput & WithRoleArn(const Aws::String &value)
AWS_CODEPIPELINE_API ActionExecutionInput & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionExecutionInput & AddResolvedConfiguration(const char *key, Aws::String &&value)
ActionExecutionInput & WithConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
ActionExecutionInput & WithRegion(const Aws::String &value)
ActionExecutionInput & AddResolvedConfiguration(const Aws::String &key, const Aws::String &value)
ActionExecutionInput & WithInputArtifacts(Aws::Vector< ArtifactDetail > &&value)
const Aws::Vector< ArtifactDetail > & GetInputArtifacts() const
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
ActionExecutionInput & AddInputArtifacts(ArtifactDetail &&value)
void SetConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CODEPIPELINE_API ActionExecutionInput(Aws::Utils::Json::JsonView jsonValue)
ActionExecutionInput & AddResolvedConfiguration(Aws::String &&key, const char *value)
ActionExecutionInput & WithNamespace(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetConfiguration() const
void SetConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
void SetResolvedConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
ActionExecutionInput & AddConfiguration(const Aws::String &key, Aws::String &&value)
ActionExecutionInput & AddInputArtifacts(const ArtifactDetail &value)
void SetInputArtifacts(Aws::Vector< ArtifactDetail > &&value)
ActionExecutionInput & AddResolvedConfiguration(Aws::String &&key, const Aws::String &value)
void SetInputArtifacts(const Aws::Vector< ArtifactDetail > &value)
void SetResolvedConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
ActionExecutionInput & WithResolvedConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
ActionExecutionInput & AddResolvedConfiguration(Aws::String &&key, Aws::String &&value)
ActionExecutionInput & AddConfiguration(const char *key, const char *value)
ActionExecutionInput & AddConfiguration(Aws::String &&key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue