AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkflowStep.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/WorkflowStepType.h>
9#include <aws/awstransfer/model/CopyStepDetails.h>
10#include <aws/awstransfer/model/CustomStepDetails.h>
11#include <aws/awstransfer/model/DeleteStepDetails.h>
12#include <aws/awstransfer/model/TagStepDetails.h>
13#include <aws/awstransfer/model/DecryptStepDetails.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Transfer
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_TRANSFER_API WorkflowStep();
40 AWS_TRANSFER_API WorkflowStep(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
55 inline const WorkflowStepType& GetType() const{ return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 inline void SetType(const WorkflowStepType& value) { m_typeHasBeenSet = true; m_type = value; }
58 inline void SetType(WorkflowStepType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
59 inline WorkflowStep& WithType(const WorkflowStepType& value) { SetType(value); return *this;}
60 inline WorkflowStep& WithType(WorkflowStepType&& value) { SetType(std::move(value)); return *this;}
62
64
71 inline const CopyStepDetails& GetCopyStepDetails() const{ return m_copyStepDetails; }
72 inline bool CopyStepDetailsHasBeenSet() const { return m_copyStepDetailsHasBeenSet; }
73 inline void SetCopyStepDetails(const CopyStepDetails& value) { m_copyStepDetailsHasBeenSet = true; m_copyStepDetails = value; }
74 inline void SetCopyStepDetails(CopyStepDetails&& value) { m_copyStepDetailsHasBeenSet = true; m_copyStepDetails = std::move(value); }
75 inline WorkflowStep& WithCopyStepDetails(const CopyStepDetails& value) { SetCopyStepDetails(value); return *this;}
76 inline WorkflowStep& WithCopyStepDetails(CopyStepDetails&& value) { SetCopyStepDetails(std::move(value)); return *this;}
78
80
84 inline const CustomStepDetails& GetCustomStepDetails() const{ return m_customStepDetails; }
85 inline bool CustomStepDetailsHasBeenSet() const { return m_customStepDetailsHasBeenSet; }
86 inline void SetCustomStepDetails(const CustomStepDetails& value) { m_customStepDetailsHasBeenSet = true; m_customStepDetails = value; }
87 inline void SetCustomStepDetails(CustomStepDetails&& value) { m_customStepDetailsHasBeenSet = true; m_customStepDetails = std::move(value); }
88 inline WorkflowStep& WithCustomStepDetails(const CustomStepDetails& value) { SetCustomStepDetails(value); return *this;}
89 inline WorkflowStep& WithCustomStepDetails(CustomStepDetails&& value) { SetCustomStepDetails(std::move(value)); return *this;}
91
93
96 inline const DeleteStepDetails& GetDeleteStepDetails() const{ return m_deleteStepDetails; }
97 inline bool DeleteStepDetailsHasBeenSet() const { return m_deleteStepDetailsHasBeenSet; }
98 inline void SetDeleteStepDetails(const DeleteStepDetails& value) { m_deleteStepDetailsHasBeenSet = true; m_deleteStepDetails = value; }
99 inline void SetDeleteStepDetails(DeleteStepDetails&& value) { m_deleteStepDetailsHasBeenSet = true; m_deleteStepDetails = std::move(value); }
100 inline WorkflowStep& WithDeleteStepDetails(const DeleteStepDetails& value) { SetDeleteStepDetails(value); return *this;}
101 inline WorkflowStep& WithDeleteStepDetails(DeleteStepDetails&& value) { SetDeleteStepDetails(std::move(value)); return *this;}
103
105
109 inline const TagStepDetails& GetTagStepDetails() const{ return m_tagStepDetails; }
110 inline bool TagStepDetailsHasBeenSet() const { return m_tagStepDetailsHasBeenSet; }
111 inline void SetTagStepDetails(const TagStepDetails& value) { m_tagStepDetailsHasBeenSet = true; m_tagStepDetails = value; }
112 inline void SetTagStepDetails(TagStepDetails&& value) { m_tagStepDetailsHasBeenSet = true; m_tagStepDetails = std::move(value); }
113 inline WorkflowStep& WithTagStepDetails(const TagStepDetails& value) { SetTagStepDetails(value); return *this;}
114 inline WorkflowStep& WithTagStepDetails(TagStepDetails&& value) { SetTagStepDetails(std::move(value)); return *this;}
116
118
128 inline const DecryptStepDetails& GetDecryptStepDetails() const{ return m_decryptStepDetails; }
129 inline bool DecryptStepDetailsHasBeenSet() const { return m_decryptStepDetailsHasBeenSet; }
130 inline void SetDecryptStepDetails(const DecryptStepDetails& value) { m_decryptStepDetailsHasBeenSet = true; m_decryptStepDetails = value; }
131 inline void SetDecryptStepDetails(DecryptStepDetails&& value) { m_decryptStepDetailsHasBeenSet = true; m_decryptStepDetails = std::move(value); }
133 inline WorkflowStep& WithDecryptStepDetails(DecryptStepDetails&& value) { SetDecryptStepDetails(std::move(value)); return *this;}
135 private:
136
137 WorkflowStepType m_type;
138 bool m_typeHasBeenSet = false;
139
140 CopyStepDetails m_copyStepDetails;
141 bool m_copyStepDetailsHasBeenSet = false;
142
143 CustomStepDetails m_customStepDetails;
144 bool m_customStepDetailsHasBeenSet = false;
145
146 DeleteStepDetails m_deleteStepDetails;
147 bool m_deleteStepDetailsHasBeenSet = false;
148
149 TagStepDetails m_tagStepDetails;
150 bool m_tagStepDetailsHasBeenSet = false;
151
152 DecryptStepDetails m_decryptStepDetails;
153 bool m_decryptStepDetailsHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace Transfer
158} // namespace Aws
WorkflowStep & WithDecryptStepDetails(const DecryptStepDetails &value)
WorkflowStep & WithCustomStepDetails(CustomStepDetails &&value)
void SetType(const WorkflowStepType &value)
WorkflowStep & WithType(const WorkflowStepType &value)
void SetCopyStepDetails(const CopyStepDetails &value)
void SetDeleteStepDetails(DeleteStepDetails &&value)
const DecryptStepDetails & GetDecryptStepDetails() const
void SetCustomStepDetails(CustomStepDetails &&value)
void SetDecryptStepDetails(DecryptStepDetails &&value)
const WorkflowStepType & GetType() const
const DeleteStepDetails & GetDeleteStepDetails() const
void SetTagStepDetails(const TagStepDetails &value)
WorkflowStep & WithDecryptStepDetails(DecryptStepDetails &&value)
AWS_TRANSFER_API WorkflowStep(Aws::Utils::Json::JsonView jsonValue)
void SetCustomStepDetails(const CustomStepDetails &value)
WorkflowStep & WithDeleteStepDetails(const DeleteStepDetails &value)
WorkflowStep & WithCopyStepDetails(const CopyStepDetails &value)
WorkflowStep & WithDeleteStepDetails(DeleteStepDetails &&value)
void SetDeleteStepDetails(const DeleteStepDetails &value)
WorkflowStep & WithTagStepDetails(const TagStepDetails &value)
void SetCopyStepDetails(CopyStepDetails &&value)
void SetDecryptStepDetails(const DecryptStepDetails &value)
AWS_TRANSFER_API WorkflowStep & operator=(Aws::Utils::Json::JsonView jsonValue)
const TagStepDetails & GetTagStepDetails() const
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowStep & WithCopyStepDetails(CopyStepDetails &&value)
const CustomStepDetails & GetCustomStepDetails() const
void SetTagStepDetails(TagStepDetails &&value)
void SetType(WorkflowStepType &&value)
const CopyStepDetails & GetCopyStepDetails() const
WorkflowStep & WithCustomStepDetails(const CustomStepDetails &value)
WorkflowStep & WithType(WorkflowStepType &&value)
WorkflowStep & WithTagStepDetails(TagStepDetails &&value)
Aws::Utils::Json::JsonValue JsonValue