7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/ActionTypeId.h>
9#include <aws/codepipeline/model/EnvironmentVariable.h>
10#include <aws/codepipeline/model/InputArtifact.h>
11#include <aws/codepipeline/model/OutputArtifact.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
25namespace CodePipeline {
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
65 template <
typename ActionTypeIdT = ActionTypeId>
67 m_actionTypeIdHasBeenSet =
true;
68 m_actionTypeId = std::forward<ActionTypeIdT>(value);
70 template <
typename ActionTypeIdT = ActionTypeId>
84 m_runOrderHasBeenSet =
true;
112 template <
typename ConfigurationT = Aws::Map<Aws::String, Aws::String>>
114 m_configurationHasBeenSet =
true;
115 m_configuration = std::forward<ConfigurationT>(value);
117 template <
typename ConfigurationT = Aws::Map<Aws::String, Aws::String>>
122 template <
typename ConfigurationKeyT = Aws::String,
typename ConfigurationValueT = Aws::String>
124 m_configurationHasBeenSet =
true;
125 m_configuration.emplace(std::forward<ConfigurationKeyT>(key), std::forward<ConfigurationValueT>(value));
140 template <
typename CommandsT = Aws::Vector<Aws::String>>
142 m_commandsHasBeenSet =
true;
143 m_commands = std::forward<CommandsT>(value);
145 template <
typename CommandsT = Aws::Vector<Aws::String>>
150 template <
typename CommandsT = Aws::String>
152 m_commandsHasBeenSet =
true;
153 m_commands.emplace_back(std::forward<CommandsT>(value));
165 template <
typename OutputArtifactsT = Aws::Vector<OutputArtifact>>
167 m_outputArtifactsHasBeenSet =
true;
168 m_outputArtifacts = std::forward<OutputArtifactsT>(value);
170 template <
typename OutputArtifactsT = Aws::Vector<OutputArtifact>>
175 template <
typename OutputArtifactsT = OutputArtifact>
177 m_outputArtifactsHasBeenSet =
true;
178 m_outputArtifacts.emplace_back(std::forward<OutputArtifactsT>(value));
190 template <
typename InputArtifactsT = Aws::Vector<InputArtifact>>
192 m_inputArtifactsHasBeenSet =
true;
193 m_inputArtifacts = std::forward<InputArtifactsT>(value);
195 template <
typename InputArtifactsT = Aws::Vector<InputArtifact>>
200 template <
typename InputArtifactsT = InputArtifact>
202 m_inputArtifactsHasBeenSet =
true;
203 m_inputArtifacts.emplace_back(std::forward<InputArtifactsT>(value));
215 template <
typename OutputVariablesT = Aws::Vector<Aws::String>>
217 m_outputVariablesHasBeenSet =
true;
218 m_outputVariables = std::forward<OutputVariablesT>(value);
220 template <
typename OutputVariablesT = Aws::Vector<Aws::String>>
225 template <
typename OutputVariablesT = Aws::String>
227 m_outputVariablesHasBeenSet =
true;
228 m_outputVariables.emplace_back(std::forward<OutputVariablesT>(value));
240 template <
typename RoleArnT = Aws::String>
242 m_roleArnHasBeenSet =
true;
243 m_roleArn = std::forward<RoleArnT>(value);
245 template <
typename RoleArnT = Aws::String>
258 template <
typename RegionT = Aws::String>
260 m_regionHasBeenSet =
true;
261 m_region = std::forward<RegionT>(value);
263 template <
typename RegionT = Aws::String>
277 template <
typename NamespaceT = Aws::String>
279 m_namespaceHasBeenSet =
true;
280 m_namespace = std::forward<NamespaceT>(value);
282 template <
typename NamespaceT = Aws::String>
300 m_timeoutInMinutesHasBeenSet =
true;
301 m_timeoutInMinutes = value;
315 template <
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
317 m_environmentVariablesHasBeenSet =
true;
318 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
320 template <
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
325 template <
typename EnvironmentVariablesT = EnvironmentVariable>
327 m_environmentVariablesHasBeenSet =
true;
328 m_environmentVariables.emplace_back(std::forward<EnvironmentVariablesT>(value));
355 int m_timeoutInMinutes{0};
358 bool m_nameHasBeenSet =
false;
359 bool m_actionTypeIdHasBeenSet =
false;
360 bool m_runOrderHasBeenSet =
false;
361 bool m_configurationHasBeenSet =
false;
362 bool m_commandsHasBeenSet =
false;
363 bool m_outputArtifactsHasBeenSet =
false;
364 bool m_inputArtifactsHasBeenSet =
false;
365 bool m_outputVariablesHasBeenSet =
false;
366 bool m_roleArnHasBeenSet =
false;
367 bool m_regionHasBeenSet =
false;
368 bool m_namespaceHasBeenSet =
false;
369 bool m_timeoutInMinutesHasBeenSet =
false;
370 bool m_environmentVariablesHasBeenSet =
false;
const Aws::String & GetNamespace() const
const Aws::Vector< OutputArtifact > & GetOutputArtifacts() const
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
bool OutputArtifactsHasBeenSet() const
void SetTimeoutInMinutes(int value)
ActionDeclaration & AddOutputVariables(OutputVariablesT &&value)
const Aws::String & GetName() const
bool TimeoutInMinutesHasBeenSet() const
void SetActionTypeId(ActionTypeIdT &&value)
ActionDeclaration & WithNamespace(NamespaceT &&value)
bool CommandsHasBeenSet() const
ActionDeclaration & WithActionTypeId(ActionTypeIdT &&value)
void SetOutputArtifacts(OutputArtifactsT &&value)
bool RoleArnHasBeenSet() const
const Aws::String & GetRegion() const
ActionDeclaration & WithName(NameT &&value)
bool OutputVariablesHasBeenSet() const
const Aws::Vector< InputArtifact > & GetInputArtifacts() const
bool ActionTypeIdHasBeenSet() const
ActionDeclaration & WithInputArtifacts(InputArtifactsT &&value)
void SetName(NameT &&value)
void SetRegion(RegionT &&value)
bool NameHasBeenSet() const
const Aws::Vector< Aws::String > & GetCommands() const
bool EnvironmentVariablesHasBeenSet() const
ActionDeclaration & WithRoleArn(RoleArnT &&value)
bool RunOrderHasBeenSet() const
const Aws::Vector< Aws::String > & GetOutputVariables() const
const Aws::Vector< EnvironmentVariable > & GetEnvironmentVariables() const
ActionDeclaration & AddCommands(CommandsT &&value)
ActionDeclaration & WithRunOrder(int value)
void SetRunOrder(int value)
ActionDeclaration & AddInputArtifacts(InputArtifactsT &&value)
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
ActionDeclaration & AddEnvironmentVariables(EnvironmentVariablesT &&value)
AWS_CODEPIPELINE_API ActionDeclaration(Aws::Utils::Json::JsonView jsonValue)
ActionDeclaration & WithOutputVariables(OutputVariablesT &&value)
ActionDeclaration & AddOutputArtifacts(OutputArtifactsT &&value)
AWS_CODEPIPELINE_API ActionDeclaration()=default
void SetCommands(CommandsT &&value)
void SetInputArtifacts(InputArtifactsT &&value)
const Aws::String & GetRoleArn() const
void SetNamespace(NamespaceT &&value)
ActionDeclaration & WithOutputArtifacts(OutputArtifactsT &&value)
AWS_CODEPIPELINE_API ActionDeclaration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NamespaceHasBeenSet() const
ActionDeclaration & WithConfiguration(ConfigurationT &&value)
ActionDeclaration & WithTimeoutInMinutes(int value)
void SetOutputVariables(OutputVariablesT &&value)
void SetConfiguration(ConfigurationT &&value)
int GetTimeoutInMinutes() const
ActionDeclaration & WithEnvironmentVariables(EnvironmentVariablesT &&value)
ActionDeclaration & WithRegion(RegionT &&value)
ActionDeclaration & AddConfiguration(ConfigurationKeyT &&key, ConfigurationValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetConfiguration() const
bool RegionHasBeenSet() const
ActionDeclaration & WithCommands(CommandsT &&value)
void SetRoleArn(RoleArnT &&value)
bool InputArtifactsHasBeenSet() const
bool ConfigurationHasBeenSet() const
const ActionTypeId & GetActionTypeId() const
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