7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/awstransfer/model/WorkflowStep.h>
11#include <aws/awstransfer/model/Tag.h>
50 template<
typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
52 template<
typename ArnT = Aws::String>
62 template<
typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
64 template<
typename DescriptionT = Aws::String>
74 template<
typename StepsT = Aws::Vector<WorkflowStep>>
75 void SetSteps(StepsT&& value) { m_stepsHasBeenSet =
true; m_steps = std::forward<StepsT>(value); }
76 template<
typename StepsT = Aws::Vector<WorkflowStep>>
78 template<
typename StepsT = WorkflowStep>
79 DescribedWorkflow&
AddSteps(StepsT&& value) { m_stepsHasBeenSet =
true; m_steps.emplace_back(std::forward<StepsT>(value));
return *
this; }
89 template<
typename OnExceptionStepsT = Aws::Vector<WorkflowStep>>
90 void SetOnExceptionSteps(OnExceptionStepsT&& value) { m_onExceptionStepsHasBeenSet =
true; m_onExceptionSteps = std::forward<OnExceptionStepsT>(value); }
91 template<
typename OnExceptionStepsT = Aws::Vector<WorkflowStep>>
93 template<
typename OnExceptionStepsT = WorkflowStep>
94 DescribedWorkflow&
AddOnExceptionSteps(OnExceptionStepsT&& value) { m_onExceptionStepsHasBeenSet =
true; m_onExceptionSteps.emplace_back(std::forward<OnExceptionStepsT>(value));
return *
this; }
103 template<
typename WorkflowIdT = Aws::String>
104 void SetWorkflowId(WorkflowIdT&& value) { m_workflowIdHasBeenSet =
true; m_workflowId = std::forward<WorkflowIdT>(value); }
105 template<
typename WorkflowIdT = Aws::String>
116 template<
typename TagsT = Aws::Vector<Tag>>
117 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
118 template<
typename TagsT = Aws::Vector<Tag>>
120 template<
typename TagsT = Tag>
121 DescribedWorkflow&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
126 bool m_arnHasBeenSet =
false;
129 bool m_descriptionHasBeenSet =
false;
132 bool m_stepsHasBeenSet =
false;
135 bool m_onExceptionStepsHasBeenSet =
false;
138 bool m_workflowIdHasBeenSet =
false;
141 bool m_tagsHasBeenSet =
false;
DescribedWorkflow & AddSteps(StepsT &&value)
void SetOnExceptionSteps(OnExceptionStepsT &&value)
const Aws::String & GetWorkflowId() const
DescribedWorkflow & WithOnExceptionSteps(OnExceptionStepsT &&value)
AWS_TRANSFER_API DescribedWorkflow()=default
const Aws::Vector< WorkflowStep > & GetOnExceptionSteps() const
bool TagsHasBeenSet() const
bool ArnHasBeenSet() const
void SetWorkflowId(WorkflowIdT &&value)
const Aws::String & GetArn() const
void SetTags(TagsT &&value)
bool OnExceptionStepsHasBeenSet() const
const Aws::Vector< WorkflowStep > & GetSteps() const
DescribedWorkflow & WithSteps(StepsT &&value)
DescribedWorkflow & WithWorkflowId(WorkflowIdT &&value)
void SetDescription(DescriptionT &&value)
AWS_TRANSFER_API DescribedWorkflow(Aws::Utils::Json::JsonView jsonValue)
DescribedWorkflow & AddTags(TagsT &&value)
bool StepsHasBeenSet() const
void SetArn(ArnT &&value)
bool WorkflowIdHasBeenSet() const
const Aws::String & GetDescription() const
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSteps(StepsT &&value)
DescribedWorkflow & AddOnExceptionSteps(OnExceptionStepsT &&value)
const Aws::Vector< Tag > & GetTags() const
DescribedWorkflow & WithArn(ArnT &&value)
AWS_TRANSFER_API DescribedWorkflow & operator=(Aws::Utils::Json::JsonView jsonValue)
DescribedWorkflow & WithTags(TagsT &&value)
DescribedWorkflow & WithDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() 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