AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribedWorkflow.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Transfer
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_TRANSFER_API DescribedWorkflow() = default;
39 AWS_TRANSFER_API DescribedWorkflow(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const { return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
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>
53 DescribedWorkflow& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetDescription() const { return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
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>
65 DescribedWorkflow& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
67
69
72 inline const Aws::Vector<WorkflowStep>& GetSteps() const { return m_steps; }
73 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
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>>
77 DescribedWorkflow& WithSteps(StepsT&& value) { SetSteps(std::forward<StepsT>(value)); return *this;}
78 template<typename StepsT = WorkflowStep>
79 DescribedWorkflow& AddSteps(StepsT&& value) { m_stepsHasBeenSet = true; m_steps.emplace_back(std::forward<StepsT>(value)); return *this; }
81
83
87 inline const Aws::Vector<WorkflowStep>& GetOnExceptionSteps() const { return m_onExceptionSteps; }
88 inline bool OnExceptionStepsHasBeenSet() const { return m_onExceptionStepsHasBeenSet; }
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>>
92 DescribedWorkflow& WithOnExceptionSteps(OnExceptionStepsT&& value) { SetOnExceptionSteps(std::forward<OnExceptionStepsT>(value)); return *this;}
93 template<typename OnExceptionStepsT = WorkflowStep>
94 DescribedWorkflow& AddOnExceptionSteps(OnExceptionStepsT&& value) { m_onExceptionStepsHasBeenSet = true; m_onExceptionSteps.emplace_back(std::forward<OnExceptionStepsT>(value)); return *this; }
96
98
101 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
102 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
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>
106 DescribedWorkflow& WithWorkflowId(WorkflowIdT&& value) { SetWorkflowId(std::forward<WorkflowIdT>(value)); return *this;}
108
110
114 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
115 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
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>>
119 DescribedWorkflow& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
120 template<typename TagsT = Tag>
121 DescribedWorkflow& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
123 private:
124
125 Aws::String m_arn;
126 bool m_arnHasBeenSet = false;
127
128 Aws::String m_description;
129 bool m_descriptionHasBeenSet = false;
130
132 bool m_stepsHasBeenSet = false;
133
134 Aws::Vector<WorkflowStep> m_onExceptionSteps;
135 bool m_onExceptionStepsHasBeenSet = false;
136
137 Aws::String m_workflowId;
138 bool m_workflowIdHasBeenSet = false;
139
140 Aws::Vector<Tag> m_tags;
141 bool m_tagsHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Transfer
146} // namespace Aws
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
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)
const Aws::String & GetDescription() const
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue