7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codepipeline/model/ActionTypeId.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codepipeline/model/OutputArtifact.h>
13#include <aws/codepipeline/model/InputArtifact.h>
14#include <aws/codepipeline/model/EnvironmentVariable.h>
53 template<
typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
55 template<
typename NameT = Aws::String>
65 template<
typename ActionTypeIdT = ActionTypeId>
66 void SetActionTypeId(ActionTypeIdT&& value) { m_actionTypeIdHasBeenSet =
true; m_actionTypeId = std::forward<ActionTypeIdT>(value); }
67 template<
typename ActionTypeIdT = ActionTypeId>
77 inline void SetRunOrder(
int value) { m_runOrderHasBeenSet =
true; m_runOrder = value; }
100 template<
typename ConfigurationT = Aws::Map<Aws::String, Aws::String>>
101 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
102 template<
typename ConfigurationT = Aws::Map<Aws::String, Aws::String>>
104 template<
typename ConfigurationKeyT = Aws::String,
typename ConfigurationValueT = Aws::String>
106 m_configurationHasBeenSet =
true; m_configuration.emplace(std::forward<ConfigurationKeyT>(key), std::forward<ConfigurationValueT>(value));
return *
this;
120 template<
typename CommandsT = Aws::Vector<Aws::String>>
121 void SetCommands(CommandsT&& value) { m_commandsHasBeenSet =
true; m_commands = std::forward<CommandsT>(value); }
122 template<
typename CommandsT = Aws::Vector<Aws::String>>
124 template<
typename CommandsT = Aws::String>
125 ActionDeclaration&
AddCommands(CommandsT&& value) { m_commandsHasBeenSet =
true; m_commands.emplace_back(std::forward<CommandsT>(value));
return *
this; }
135 template<
typename OutputArtifactsT = Aws::Vector<OutputArtifact>>
136 void SetOutputArtifacts(OutputArtifactsT&& value) { m_outputArtifactsHasBeenSet =
true; m_outputArtifacts = std::forward<OutputArtifactsT>(value); }
137 template<
typename OutputArtifactsT = Aws::Vector<OutputArtifact>>
139 template<
typename OutputArtifactsT = OutputArtifact>
140 ActionDeclaration&
AddOutputArtifacts(OutputArtifactsT&& value) { m_outputArtifactsHasBeenSet =
true; m_outputArtifacts.emplace_back(std::forward<OutputArtifactsT>(value));
return *
this; }
150 template<
typename InputArtifactsT = Aws::Vector<InputArtifact>>
151 void SetInputArtifacts(InputArtifactsT&& value) { m_inputArtifactsHasBeenSet =
true; m_inputArtifacts = std::forward<InputArtifactsT>(value); }
152 template<
typename InputArtifactsT = Aws::Vector<InputArtifact>>
154 template<
typename InputArtifactsT = InputArtifact>
155 ActionDeclaration&
AddInputArtifacts(InputArtifactsT&& value) { m_inputArtifactsHasBeenSet =
true; m_inputArtifacts.emplace_back(std::forward<InputArtifactsT>(value));
return *
this; }
165 template<
typename OutputVariablesT = Aws::Vector<Aws::String>>
166 void SetOutputVariables(OutputVariablesT&& value) { m_outputVariablesHasBeenSet =
true; m_outputVariables = std::forward<OutputVariablesT>(value); }
167 template<
typename OutputVariablesT = Aws::Vector<Aws::String>>
169 template<
typename OutputVariablesT = Aws::String>
170 ActionDeclaration&
AddOutputVariables(OutputVariablesT&& value) { m_outputVariablesHasBeenSet =
true; m_outputVariables.emplace_back(std::forward<OutputVariablesT>(value));
return *
this; }
180 template<
typename RoleArnT = Aws::String>
181 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
182 template<
typename RoleArnT = Aws::String>
192 template<
typename RegionT = Aws::String>
193 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
194 template<
typename RegionT = Aws::String>
205 template<
typename NamespaceT = Aws::String>
206 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
207 template<
typename NamespaceT = Aws::String>
221 inline void SetTimeoutInMinutes(
int value) { m_timeoutInMinutesHasBeenSet =
true; m_timeoutInMinutes = value; }
231 template<
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
232 void SetEnvironmentVariables(EnvironmentVariablesT&& value) { m_environmentVariablesHasBeenSet =
true; m_environmentVariables = std::forward<EnvironmentVariablesT>(value); }
233 template<
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
235 template<
typename EnvironmentVariablesT = EnvironmentVariable>
236 ActionDeclaration&
AddEnvironmentVariables(EnvironmentVariablesT&& value) { m_environmentVariablesHasBeenSet =
true; m_environmentVariables.emplace_back(std::forward<EnvironmentVariablesT>(value));
return *
this; }
241 bool m_nameHasBeenSet =
false;
244 bool m_actionTypeIdHasBeenSet =
false;
247 bool m_runOrderHasBeenSet =
false;
250 bool m_configurationHasBeenSet =
false;
253 bool m_commandsHasBeenSet =
false;
256 bool m_outputArtifactsHasBeenSet =
false;
259 bool m_inputArtifactsHasBeenSet =
false;
262 bool m_outputVariablesHasBeenSet =
false;
265 bool m_roleArnHasBeenSet =
false;
268 bool m_regionHasBeenSet =
false;
271 bool m_namespaceHasBeenSet =
false;
273 int m_timeoutInMinutes{0};
274 bool m_timeoutInMinutesHasBeenSet =
false;
277 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