AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename StepExecutionIdT = Aws::String>
50 void SetStepExecutionId(StepExecutionIdT&& value) { m_stepExecutionIdHasBeenSet = true; m_stepExecutionId = std::forward<StepExecutionIdT>(value); }
51 template<typename StepExecutionIdT = Aws::String>
52 WorkflowStepMetadata& WithStepExecutionId(StepExecutionIdT&& value) { SetStepExecutionId(std::forward<StepExecutionIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 WorkflowStepMetadata& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 WorkflowStepMetadata& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78
80
83 inline const Aws::String& GetAction() const { return m_action; }
84 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
85 template<typename ActionT = Aws::String>
86 void SetAction(ActionT&& value) { m_actionHasBeenSet = true; m_action = std::forward<ActionT>(value); }
87 template<typename ActionT = Aws::String>
88 WorkflowStepMetadata& WithAction(ActionT&& value) { SetAction(std::forward<ActionT>(value)); return *this;}
90
92
95 inline WorkflowStepExecutionStatus GetStatus() const { return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(WorkflowStepExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
100
102
105 inline WorkflowStepExecutionRollbackStatus GetRollbackStatus() const { return m_rollbackStatus; }
106 inline bool RollbackStatusHasBeenSet() const { return m_rollbackStatusHasBeenSet; }
107 inline void SetRollbackStatus(WorkflowStepExecutionRollbackStatus value) { m_rollbackStatusHasBeenSet = true; m_rollbackStatus = value; }
110
112
115 inline const Aws::String& GetMessage() const { return m_message; }
116 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
117 template<typename MessageT = Aws::String>
118 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
119 template<typename MessageT = Aws::String>
120 WorkflowStepMetadata& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
122
124
127 inline const Aws::String& GetInputs() const { return m_inputs; }
128 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
129 template<typename InputsT = Aws::String>
130 void SetInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs = std::forward<InputsT>(value); }
131 template<typename InputsT = Aws::String>
132 WorkflowStepMetadata& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
134
136
140 inline const Aws::String& GetOutputs() const { return m_outputs; }
141 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
142 template<typename OutputsT = Aws::String>
143 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet = true; m_outputs = std::forward<OutputsT>(value); }
144 template<typename OutputsT = Aws::String>
145 WorkflowStepMetadata& WithOutputs(OutputsT&& value) { SetOutputs(std::forward<OutputsT>(value)); return *this;}
147
149
152 inline const Aws::String& GetStartTime() const { return m_startTime; }
153 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
154 template<typename StartTimeT = Aws::String>
155 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
156 template<typename StartTimeT = Aws::String>
157 WorkflowStepMetadata& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
159
161
164 inline const Aws::String& GetEndTime() const { return m_endTime; }
165 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
166 template<typename EndTimeT = Aws::String>
167 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
168 template<typename EndTimeT = Aws::String>
169 WorkflowStepMetadata& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
171 private:
172
173 Aws::String m_stepExecutionId;
174 bool m_stepExecutionIdHasBeenSet = false;
175
176 Aws::String m_name;
177 bool m_nameHasBeenSet = false;
178
179 Aws::String m_description;
180 bool m_descriptionHasBeenSet = false;
181
182 Aws::String m_action;
183 bool m_actionHasBeenSet = false;
184
186 bool m_statusHasBeenSet = false;
187
189 bool m_rollbackStatusHasBeenSet = false;
190
191 Aws::String m_message;
192 bool m_messageHasBeenSet = false;
193
194 Aws::String m_inputs;
195 bool m_inputsHasBeenSet = false;
196
197 Aws::String m_outputs;
198 bool m_outputsHasBeenSet = false;
199
200 Aws::String m_startTime;
201 bool m_startTimeHasBeenSet = false;
202
203 Aws::String m_endTime;
204 bool m_endTimeHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace imagebuilder
209} // namespace Aws
WorkflowStepMetadata & WithOutputs(OutputsT &&value)
WorkflowStepExecutionStatus GetStatus() const
WorkflowStepMetadata & WithEndTime(EndTimeT &&value)
WorkflowStepMetadata & WithInputs(InputsT &&value)
WorkflowStepMetadata & WithStatus(WorkflowStepExecutionStatus value)
WorkflowStepMetadata & WithName(NameT &&value)
WorkflowStepMetadata & WithStartTime(StartTimeT &&value)
WorkflowStepMetadata & WithMessage(MessageT &&value)
void SetStatus(WorkflowStepExecutionStatus value)
WorkflowStepMetadata & WithRollbackStatus(WorkflowStepExecutionRollbackStatus value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowStepMetadata & WithStepExecutionId(StepExecutionIdT &&value)
WorkflowStepMetadata & WithDescription(DescriptionT &&value)
AWS_IMAGEBUILDER_API WorkflowStepMetadata()=default
AWS_IMAGEBUILDER_API WorkflowStepMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowStepExecutionRollbackStatus GetRollbackStatus() const
WorkflowStepMetadata & WithAction(ActionT &&value)
void SetRollbackStatus(WorkflowStepExecutionRollbackStatus value)
AWS_IMAGEBUILDER_API WorkflowStepMetadata(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue