AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkflowStepMetadata.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/WorkflowStepExecutionStatus.h>
10#include <aws/imagebuilder/model/WorkflowStepExecutionRollbackStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace imagebuilder
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IMAGEBUILDER_API WorkflowStepMetadata();
38 AWS_IMAGEBUILDER_API WorkflowStepMetadata(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetStepExecutionId() const{ return m_stepExecutionId; }
48 inline bool StepExecutionIdHasBeenSet() const { return m_stepExecutionIdHasBeenSet; }
49 inline void SetStepExecutionId(const Aws::String& value) { m_stepExecutionIdHasBeenSet = true; m_stepExecutionId = value; }
50 inline void SetStepExecutionId(Aws::String&& value) { m_stepExecutionIdHasBeenSet = true; m_stepExecutionId = std::move(value); }
51 inline void SetStepExecutionId(const char* value) { m_stepExecutionIdHasBeenSet = true; m_stepExecutionId.assign(value); }
52 inline WorkflowStepMetadata& WithStepExecutionId(const Aws::String& value) { SetStepExecutionId(value); return *this;}
53 inline WorkflowStepMetadata& WithStepExecutionId(Aws::String&& value) { SetStepExecutionId(std::move(value)); return *this;}
54 inline WorkflowStepMetadata& WithStepExecutionId(const char* value) { SetStepExecutionId(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline WorkflowStepMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline WorkflowStepMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline WorkflowStepMetadata& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline WorkflowStepMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline WorkflowStepMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline WorkflowStepMetadata& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const Aws::String& GetAction() const{ return m_action; }
90 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
91 inline void SetAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action = value; }
92 inline void SetAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
93 inline void SetAction(const char* value) { m_actionHasBeenSet = true; m_action.assign(value); }
94 inline WorkflowStepMetadata& WithAction(const Aws::String& value) { SetAction(value); return *this;}
95 inline WorkflowStepMetadata& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;}
96 inline WorkflowStepMetadata& WithAction(const char* value) { SetAction(value); return *this;}
98
100
103 inline const WorkflowStepExecutionStatus& GetStatus() const{ return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(const WorkflowStepExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
106 inline void SetStatus(WorkflowStepExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
107 inline WorkflowStepMetadata& WithStatus(const WorkflowStepExecutionStatus& value) { SetStatus(value); return *this;}
108 inline WorkflowStepMetadata& WithStatus(WorkflowStepExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
110
112
115 inline const WorkflowStepExecutionRollbackStatus& GetRollbackStatus() const{ return m_rollbackStatus; }
116 inline bool RollbackStatusHasBeenSet() const { return m_rollbackStatusHasBeenSet; }
117 inline void SetRollbackStatus(const WorkflowStepExecutionRollbackStatus& value) { m_rollbackStatusHasBeenSet = true; m_rollbackStatus = value; }
118 inline void SetRollbackStatus(WorkflowStepExecutionRollbackStatus&& value) { m_rollbackStatusHasBeenSet = true; m_rollbackStatus = std::move(value); }
122
124
127 inline const Aws::String& GetMessage() const{ return m_message; }
128 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
129 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
130 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
131 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
132 inline WorkflowStepMetadata& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
133 inline WorkflowStepMetadata& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
134 inline WorkflowStepMetadata& WithMessage(const char* value) { SetMessage(value); return *this;}
136
138
141 inline const Aws::String& GetInputs() const{ return m_inputs; }
142 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
143 inline void SetInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs = value; }
144 inline void SetInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
145 inline void SetInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.assign(value); }
146 inline WorkflowStepMetadata& WithInputs(const Aws::String& value) { SetInputs(value); return *this;}
147 inline WorkflowStepMetadata& WithInputs(Aws::String&& value) { SetInputs(std::move(value)); return *this;}
148 inline WorkflowStepMetadata& WithInputs(const char* value) { SetInputs(value); return *this;}
150
152
156 inline const Aws::String& GetOutputs() const{ return m_outputs; }
157 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
158 inline void SetOutputs(const Aws::String& value) { m_outputsHasBeenSet = true; m_outputs = value; }
159 inline void SetOutputs(Aws::String&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
160 inline void SetOutputs(const char* value) { m_outputsHasBeenSet = true; m_outputs.assign(value); }
161 inline WorkflowStepMetadata& WithOutputs(const Aws::String& value) { SetOutputs(value); return *this;}
162 inline WorkflowStepMetadata& WithOutputs(Aws::String&& value) { SetOutputs(std::move(value)); return *this;}
163 inline WorkflowStepMetadata& WithOutputs(const char* value) { SetOutputs(value); return *this;}
165
167
170 inline const Aws::String& GetStartTime() const{ return m_startTime; }
171 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
172 inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
173 inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
174 inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); }
175 inline WorkflowStepMetadata& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;}
176 inline WorkflowStepMetadata& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;}
177 inline WorkflowStepMetadata& WithStartTime(const char* value) { SetStartTime(value); return *this;}
179
181
184 inline const Aws::String& GetEndTime() const{ return m_endTime; }
185 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
186 inline void SetEndTime(const Aws::String& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
187 inline void SetEndTime(Aws::String&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
188 inline void SetEndTime(const char* value) { m_endTimeHasBeenSet = true; m_endTime.assign(value); }
189 inline WorkflowStepMetadata& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;}
190 inline WorkflowStepMetadata& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;}
191 inline WorkflowStepMetadata& WithEndTime(const char* value) { SetEndTime(value); return *this;}
193 private:
194
195 Aws::String m_stepExecutionId;
196 bool m_stepExecutionIdHasBeenSet = false;
197
198 Aws::String m_name;
199 bool m_nameHasBeenSet = false;
200
201 Aws::String m_description;
202 bool m_descriptionHasBeenSet = false;
203
204 Aws::String m_action;
205 bool m_actionHasBeenSet = false;
206
208 bool m_statusHasBeenSet = false;
209
211 bool m_rollbackStatusHasBeenSet = false;
212
213 Aws::String m_message;
214 bool m_messageHasBeenSet = false;
215
216 Aws::String m_inputs;
217 bool m_inputsHasBeenSet = false;
218
219 Aws::String m_outputs;
220 bool m_outputsHasBeenSet = false;
221
222 Aws::String m_startTime;
223 bool m_startTimeHasBeenSet = false;
224
225 Aws::String m_endTime;
226 bool m_endTimeHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace imagebuilder
231} // namespace Aws
WorkflowStepMetadata & WithName(const Aws::String &value)
const WorkflowStepExecutionStatus & GetStatus() const
WorkflowStepMetadata & WithStartTime(const char *value)
WorkflowStepMetadata & WithRollbackStatus(const WorkflowStepExecutionRollbackStatus &value)
void SetStatus(WorkflowStepExecutionStatus &&value)
void SetRollbackStatus(WorkflowStepExecutionRollbackStatus &&value)
WorkflowStepMetadata & WithInputs(const char *value)
WorkflowStepMetadata & WithName(const char *value)
WorkflowStepMetadata & WithEndTime(const Aws::String &value)
WorkflowStepMetadata & WithStatus(const WorkflowStepExecutionStatus &value)
WorkflowStepMetadata & WithRollbackStatus(WorkflowStepExecutionRollbackStatus &&value)
WorkflowStepMetadata & WithOutputs(const Aws::String &value)
WorkflowStepMetadata & WithStartTime(const Aws::String &value)
WorkflowStepMetadata & WithInputs(Aws::String &&value)
WorkflowStepMetadata & WithInputs(const Aws::String &value)
WorkflowStepMetadata & WithMessage(const Aws::String &value)
WorkflowStepMetadata & WithAction(const Aws::String &value)
WorkflowStepMetadata & WithMessage(const char *value)
WorkflowStepMetadata & WithDescription(const char *value)
WorkflowStepMetadata & WithStepExecutionId(const Aws::String &value)
WorkflowStepMetadata & WithName(Aws::String &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowStepMetadata & WithOutputs(Aws::String &&value)
WorkflowStepMetadata & WithEndTime(const char *value)
AWS_IMAGEBUILDER_API WorkflowStepMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowStepMetadata & WithAction(const char *value)
WorkflowStepMetadata & WithMessage(Aws::String &&value)
WorkflowStepMetadata & WithDescription(const Aws::String &value)
WorkflowStepMetadata & WithStartTime(Aws::String &&value)
WorkflowStepMetadata & WithStepExecutionId(const char *value)
WorkflowStepMetadata & WithStepExecutionId(Aws::String &&value)
WorkflowStepMetadata & WithOutputs(const char *value)
void SetRollbackStatus(const WorkflowStepExecutionRollbackStatus &value)
void SetStatus(const WorkflowStepExecutionStatus &value)
const WorkflowStepExecutionRollbackStatus & GetRollbackStatus() const
WorkflowStepMetadata & WithDescription(Aws::String &&value)
WorkflowStepMetadata & WithEndTime(Aws::String &&value)
WorkflowStepMetadata & WithAction(Aws::String &&value)
AWS_IMAGEBUILDER_API WorkflowStepMetadata(Aws::Utils::Json::JsonView jsonValue)
WorkflowStepMetadata & WithStatus(WorkflowStepExecutionStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue