AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline DescribedWorkflow& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline DescribedWorkflow& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline DescribedWorkflow& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::String& GetDescription() const{ return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
65 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
66 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
67 inline DescribedWorkflow& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
68 inline DescribedWorkflow& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
69 inline DescribedWorkflow& WithDescription(const char* value) { SetDescription(value); return *this;}
71
73
76 inline const Aws::Vector<WorkflowStep>& GetSteps() const{ return m_steps; }
77 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
78 inline void SetSteps(const Aws::Vector<WorkflowStep>& value) { m_stepsHasBeenSet = true; m_steps = value; }
79 inline void SetSteps(Aws::Vector<WorkflowStep>&& value) { m_stepsHasBeenSet = true; m_steps = std::move(value); }
80 inline DescribedWorkflow& WithSteps(const Aws::Vector<WorkflowStep>& value) { SetSteps(value); return *this;}
81 inline DescribedWorkflow& WithSteps(Aws::Vector<WorkflowStep>&& value) { SetSteps(std::move(value)); return *this;}
82 inline DescribedWorkflow& AddSteps(const WorkflowStep& value) { m_stepsHasBeenSet = true; m_steps.push_back(value); return *this; }
83 inline DescribedWorkflow& AddSteps(WorkflowStep&& value) { m_stepsHasBeenSet = true; m_steps.push_back(std::move(value)); return *this; }
85
87
91 inline const Aws::Vector<WorkflowStep>& GetOnExceptionSteps() const{ return m_onExceptionSteps; }
92 inline bool OnExceptionStepsHasBeenSet() const { return m_onExceptionStepsHasBeenSet; }
93 inline void SetOnExceptionSteps(const Aws::Vector<WorkflowStep>& value) { m_onExceptionStepsHasBeenSet = true; m_onExceptionSteps = value; }
94 inline void SetOnExceptionSteps(Aws::Vector<WorkflowStep>&& value) { m_onExceptionStepsHasBeenSet = true; m_onExceptionSteps = std::move(value); }
96 inline DescribedWorkflow& WithOnExceptionSteps(Aws::Vector<WorkflowStep>&& value) { SetOnExceptionSteps(std::move(value)); return *this;}
97 inline DescribedWorkflow& AddOnExceptionSteps(const WorkflowStep& value) { m_onExceptionStepsHasBeenSet = true; m_onExceptionSteps.push_back(value); return *this; }
98 inline DescribedWorkflow& AddOnExceptionSteps(WorkflowStep&& value) { m_onExceptionStepsHasBeenSet = true; m_onExceptionSteps.push_back(std::move(value)); return *this; }
100
102
105 inline const Aws::String& GetWorkflowId() const{ return m_workflowId; }
106 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
107 inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; }
108 inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::move(value); }
109 inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); }
110 inline DescribedWorkflow& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;}
111 inline DescribedWorkflow& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;}
112 inline DescribedWorkflow& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;}
114
116
120 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
121 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
122 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
123 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
124 inline DescribedWorkflow& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
125 inline DescribedWorkflow& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
126 inline DescribedWorkflow& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
127 inline DescribedWorkflow& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
129 private:
130
131 Aws::String m_arn;
132 bool m_arnHasBeenSet = false;
133
134 Aws::String m_description;
135 bool m_descriptionHasBeenSet = false;
136
138 bool m_stepsHasBeenSet = false;
139
140 Aws::Vector<WorkflowStep> m_onExceptionSteps;
141 bool m_onExceptionStepsHasBeenSet = false;
142
143 Aws::String m_workflowId;
144 bool m_workflowIdHasBeenSet = false;
145
146 Aws::Vector<Tag> m_tags;
147 bool m_tagsHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace Transfer
152} // namespace Aws
void SetSteps(Aws::Vector< WorkflowStep > &&value)
DescribedWorkflow & AddTags(Tag &&value)
DescribedWorkflow & WithWorkflowId(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetWorkflowId() const
DescribedWorkflow & WithArn(const Aws::String &value)
DescribedWorkflow & WithDescription(const char *value)
void SetArn(const Aws::String &value)
DescribedWorkflow & AddSteps(const WorkflowStep &value)
DescribedWorkflow & WithOnExceptionSteps(const Aws::Vector< WorkflowStep > &value)
DescribedWorkflow & WithDescription(const Aws::String &value)
DescribedWorkflow & AddOnExceptionSteps(WorkflowStep &&value)
void SetTags(Aws::Vector< Tag > &&value)
DescribedWorkflow & WithArn(Aws::String &&value)
const Aws::Vector< WorkflowStep > & GetOnExceptionSteps() const
void SetOnExceptionSteps(const Aws::Vector< WorkflowStep > &value)
DescribedWorkflow & WithDescription(Aws::String &&value)
DescribedWorkflow & WithOnExceptionSteps(Aws::Vector< WorkflowStep > &&value)
const Aws::Vector< WorkflowStep > & GetSteps() const
void SetWorkflowId(const Aws::String &value)
DescribedWorkflow & WithTags(Aws::Vector< Tag > &&value)
AWS_TRANSFER_API DescribedWorkflow(Aws::Utils::Json::JsonView jsonValue)
DescribedWorkflow & WithTags(const Aws::Vector< Tag > &value)
void SetDescription(const Aws::String &value)
void SetOnExceptionSteps(Aws::Vector< WorkflowStep > &&value)
const Aws::String & GetDescription() const
DescribedWorkflow & AddOnExceptionSteps(const WorkflowStep &value)
void SetSteps(const Aws::Vector< WorkflowStep > &value)
DescribedWorkflow & WithWorkflowId(const Aws::String &value)
DescribedWorkflow & WithSteps(const Aws::Vector< WorkflowStep > &value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
DescribedWorkflow & WithArn(const char *value)
DescribedWorkflow & WithSteps(Aws::Vector< WorkflowStep > &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_TRANSFER_API DescribedWorkflow & operator=(Aws::Utils::Json::JsonView jsonValue)
DescribedWorkflow & AddSteps(WorkflowStep &&value)
DescribedWorkflow & AddTags(const Tag &value)
DescribedWorkflow & WithWorkflowId(Aws::String &&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