7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
10#include <aws/imagebuilder/model/OnWorkflowFailure.h>
11#include <aws/imagebuilder/model/WorkflowParameter.h>
22namespace imagebuilder {
44 template <
typename WorkflowArnT = Aws::String>
46 m_workflowArnHasBeenSet =
true;
47 m_workflowArn = std::forward<WorkflowArnT>(value);
49 template <
typename WorkflowArnT = Aws::String>
63 template <
typename ParametersT = Aws::Vector<WorkflowParameter>>
65 m_parametersHasBeenSet =
true;
66 m_parameters = std::forward<ParametersT>(value);
68 template <
typename ParametersT = Aws::Vector<WorkflowParameter>>
73 template <
typename ParametersT = WorkflowParameter>
75 m_parametersHasBeenSet =
true;
76 m_parameters.emplace_back(std::forward<ParametersT>(value));
92 template <
typename ParallelGroupT = Aws::String>
94 m_parallelGroupHasBeenSet =
true;
95 m_parallelGroup = std::forward<ParallelGroupT>(value);
97 template <
typename ParallelGroupT = Aws::String>
111 m_onFailureHasBeenSet =
true;
127 bool m_workflowArnHasBeenSet =
false;
128 bool m_parametersHasBeenSet =
false;
129 bool m_parallelGroupHasBeenSet =
false;
130 bool m_onFailureHasBeenSet =
false;
void SetOnFailure(OnWorkflowFailure value)
const Aws::Vector< WorkflowParameter > & GetParameters() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowConfiguration & WithWorkflowArn(WorkflowArnT &&value)
AWS_IMAGEBUILDER_API WorkflowConfiguration()=default
void SetWorkflowArn(WorkflowArnT &&value)
OnWorkflowFailure GetOnFailure() const
const Aws::String & GetParallelGroup() const
bool ParametersHasBeenSet() const
WorkflowConfiguration & WithParallelGroup(ParallelGroupT &&value)
WorkflowConfiguration & WithOnFailure(OnWorkflowFailure value)
WorkflowConfiguration & WithParameters(ParametersT &&value)
WorkflowConfiguration & AddParameters(ParametersT &&value)
AWS_IMAGEBUILDER_API WorkflowConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool OnFailureHasBeenSet() const
void SetParallelGroup(ParallelGroupT &&value)
void SetParameters(ParametersT &&value)
AWS_IMAGEBUILDER_API WorkflowConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool WorkflowArnHasBeenSet() const
const Aws::String & GetWorkflowArn() const
bool ParallelGroupHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue