AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StepExecution.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ssm/model/AutomationExecutionStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/ssm/model/FailureDetails.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ssm/model/TargetLocation.h>
15#include <aws/ssm/model/ParentStepDetails.h>
16#include <aws/ssm/model/Target.h>
17#include <aws/ssm/model/AlarmStateInformation.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace SSM
31{
32namespace Model
33{
34
42 {
43 public:
44 AWS_SSM_API StepExecution();
48
49
51
54 inline const Aws::String& GetStepName() const{ return m_stepName; }
55 inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; }
56 inline void SetStepName(const Aws::String& value) { m_stepNameHasBeenSet = true; m_stepName = value; }
57 inline void SetStepName(Aws::String&& value) { m_stepNameHasBeenSet = true; m_stepName = std::move(value); }
58 inline void SetStepName(const char* value) { m_stepNameHasBeenSet = true; m_stepName.assign(value); }
59 inline StepExecution& WithStepName(const Aws::String& value) { SetStepName(value); return *this;}
60 inline StepExecution& WithStepName(Aws::String&& value) { SetStepName(std::move(value)); return *this;}
61 inline StepExecution& WithStepName(const char* value) { SetStepName(value); return *this;}
63
65
69 inline const Aws::String& GetAction() const{ return m_action; }
70 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
71 inline void SetAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action = value; }
72 inline void SetAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
73 inline void SetAction(const char* value) { m_actionHasBeenSet = true; m_action.assign(value); }
74 inline StepExecution& WithAction(const Aws::String& value) { SetAction(value); return *this;}
75 inline StepExecution& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;}
76 inline StepExecution& WithAction(const char* value) { SetAction(value); return *this;}
78
80
83 inline long long GetTimeoutSeconds() const{ return m_timeoutSeconds; }
84 inline bool TimeoutSecondsHasBeenSet() const { return m_timeoutSecondsHasBeenSet; }
85 inline void SetTimeoutSeconds(long long value) { m_timeoutSecondsHasBeenSet = true; m_timeoutSeconds = value; }
86 inline StepExecution& WithTimeoutSeconds(long long value) { SetTimeoutSeconds(value); return *this;}
88
90
94 inline const Aws::String& GetOnFailure() const{ return m_onFailure; }
95 inline bool OnFailureHasBeenSet() const { return m_onFailureHasBeenSet; }
96 inline void SetOnFailure(const Aws::String& value) { m_onFailureHasBeenSet = true; m_onFailure = value; }
97 inline void SetOnFailure(Aws::String&& value) { m_onFailureHasBeenSet = true; m_onFailure = std::move(value); }
98 inline void SetOnFailure(const char* value) { m_onFailureHasBeenSet = true; m_onFailure.assign(value); }
99 inline StepExecution& WithOnFailure(const Aws::String& value) { SetOnFailure(value); return *this;}
100 inline StepExecution& WithOnFailure(Aws::String&& value) { SetOnFailure(std::move(value)); return *this;}
101 inline StepExecution& WithOnFailure(const char* value) { SetOnFailure(value); return *this;}
103
105
109 inline int GetMaxAttempts() const{ return m_maxAttempts; }
110 inline bool MaxAttemptsHasBeenSet() const { return m_maxAttemptsHasBeenSet; }
111 inline void SetMaxAttempts(int value) { m_maxAttemptsHasBeenSet = true; m_maxAttempts = value; }
112 inline StepExecution& WithMaxAttempts(int value) { SetMaxAttempts(value); return *this;}
114
116
120 inline const Aws::Utils::DateTime& GetExecutionStartTime() const{ return m_executionStartTime; }
121 inline bool ExecutionStartTimeHasBeenSet() const { return m_executionStartTimeHasBeenSet; }
122 inline void SetExecutionStartTime(const Aws::Utils::DateTime& value) { m_executionStartTimeHasBeenSet = true; m_executionStartTime = value; }
123 inline void SetExecutionStartTime(Aws::Utils::DateTime&& value) { m_executionStartTimeHasBeenSet = true; m_executionStartTime = std::move(value); }
125 inline StepExecution& WithExecutionStartTime(Aws::Utils::DateTime&& value) { SetExecutionStartTime(std::move(value)); return *this;}
127
129
133 inline const Aws::Utils::DateTime& GetExecutionEndTime() const{ return m_executionEndTime; }
134 inline bool ExecutionEndTimeHasBeenSet() const { return m_executionEndTimeHasBeenSet; }
135 inline void SetExecutionEndTime(const Aws::Utils::DateTime& value) { m_executionEndTimeHasBeenSet = true; m_executionEndTime = value; }
136 inline void SetExecutionEndTime(Aws::Utils::DateTime&& value) { m_executionEndTimeHasBeenSet = true; m_executionEndTime = std::move(value); }
137 inline StepExecution& WithExecutionEndTime(const Aws::Utils::DateTime& value) { SetExecutionEndTime(value); return *this;}
138 inline StepExecution& WithExecutionEndTime(Aws::Utils::DateTime&& value) { SetExecutionEndTime(std::move(value)); return *this;}
140
142
145 inline const AutomationExecutionStatus& GetStepStatus() const{ return m_stepStatus; }
146 inline bool StepStatusHasBeenSet() const { return m_stepStatusHasBeenSet; }
147 inline void SetStepStatus(const AutomationExecutionStatus& value) { m_stepStatusHasBeenSet = true; m_stepStatus = value; }
148 inline void SetStepStatus(AutomationExecutionStatus&& value) { m_stepStatusHasBeenSet = true; m_stepStatus = std::move(value); }
149 inline StepExecution& WithStepStatus(const AutomationExecutionStatus& value) { SetStepStatus(value); return *this;}
150 inline StepExecution& WithStepStatus(AutomationExecutionStatus&& value) { SetStepStatus(std::move(value)); return *this;}
152
154
157 inline const Aws::String& GetResponseCode() const{ return m_responseCode; }
158 inline bool ResponseCodeHasBeenSet() const { return m_responseCodeHasBeenSet; }
159 inline void SetResponseCode(const Aws::String& value) { m_responseCodeHasBeenSet = true; m_responseCode = value; }
160 inline void SetResponseCode(Aws::String&& value) { m_responseCodeHasBeenSet = true; m_responseCode = std::move(value); }
161 inline void SetResponseCode(const char* value) { m_responseCodeHasBeenSet = true; m_responseCode.assign(value); }
162 inline StepExecution& WithResponseCode(const Aws::String& value) { SetResponseCode(value); return *this;}
163 inline StepExecution& WithResponseCode(Aws::String&& value) { SetResponseCode(std::move(value)); return *this;}
164 inline StepExecution& WithResponseCode(const char* value) { SetResponseCode(value); return *this;}
166
168
171 inline const Aws::Map<Aws::String, Aws::String>& GetInputs() const{ return m_inputs; }
172 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
173 inline void SetInputs(const Aws::Map<Aws::String, Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
174 inline void SetInputs(Aws::Map<Aws::String, Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
175 inline StepExecution& WithInputs(const Aws::Map<Aws::String, Aws::String>& value) { SetInputs(value); return *this;}
176 inline StepExecution& WithInputs(Aws::Map<Aws::String, Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
177 inline StepExecution& AddInputs(const Aws::String& key, const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.emplace(key, value); return *this; }
178 inline StepExecution& AddInputs(Aws::String&& key, const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.emplace(std::move(key), value); return *this; }
179 inline StepExecution& AddInputs(const Aws::String& key, Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.emplace(key, std::move(value)); return *this; }
180 inline StepExecution& AddInputs(Aws::String&& key, Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.emplace(std::move(key), std::move(value)); return *this; }
181 inline StepExecution& AddInputs(const char* key, Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.emplace(key, std::move(value)); return *this; }
182 inline StepExecution& AddInputs(Aws::String&& key, const char* value) { m_inputsHasBeenSet = true; m_inputs.emplace(std::move(key), value); return *this; }
183 inline StepExecution& AddInputs(const char* key, const char* value) { m_inputsHasBeenSet = true; m_inputs.emplace(key, value); return *this; }
185
187
190 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetOutputs() const{ return m_outputs; }
191 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
192 inline void SetOutputs(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
193 inline void SetOutputs(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
194 inline StepExecution& WithOutputs(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { SetOutputs(value); return *this;}
195 inline StepExecution& WithOutputs(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { SetOutputs(std::move(value)); return *this;}
196 inline StepExecution& AddOutputs(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, value); return *this; }
197 inline StepExecution& AddOutputs(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_outputsHasBeenSet = true; m_outputs.emplace(std::move(key), value); return *this; }
198 inline StepExecution& AddOutputs(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, std::move(value)); return *this; }
199 inline StepExecution& AddOutputs(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_outputsHasBeenSet = true; m_outputs.emplace(std::move(key), std::move(value)); return *this; }
200 inline StepExecution& AddOutputs(const char* key, Aws::Vector<Aws::String>&& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, std::move(value)); return *this; }
201 inline StepExecution& AddOutputs(const char* key, const Aws::Vector<Aws::String>& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, value); return *this; }
203
205
208 inline const Aws::String& GetResponse() const{ return m_response; }
209 inline bool ResponseHasBeenSet() const { return m_responseHasBeenSet; }
210 inline void SetResponse(const Aws::String& value) { m_responseHasBeenSet = true; m_response = value; }
211 inline void SetResponse(Aws::String&& value) { m_responseHasBeenSet = true; m_response = std::move(value); }
212 inline void SetResponse(const char* value) { m_responseHasBeenSet = true; m_response.assign(value); }
213 inline StepExecution& WithResponse(const Aws::String& value) { SetResponse(value); return *this;}
214 inline StepExecution& WithResponse(Aws::String&& value) { SetResponse(std::move(value)); return *this;}
215 inline StepExecution& WithResponse(const char* value) { SetResponse(value); return *this;}
217
219
222 inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
223 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
224 inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; }
225 inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); }
226 inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); }
227 inline StepExecution& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;}
228 inline StepExecution& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
229 inline StepExecution& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
231
233
236 inline const FailureDetails& GetFailureDetails() const{ return m_failureDetails; }
237 inline bool FailureDetailsHasBeenSet() const { return m_failureDetailsHasBeenSet; }
238 inline void SetFailureDetails(const FailureDetails& value) { m_failureDetailsHasBeenSet = true; m_failureDetails = value; }
239 inline void SetFailureDetails(FailureDetails&& value) { m_failureDetailsHasBeenSet = true; m_failureDetails = std::move(value); }
240 inline StepExecution& WithFailureDetails(const FailureDetails& value) { SetFailureDetails(value); return *this;}
241 inline StepExecution& WithFailureDetails(FailureDetails&& value) { SetFailureDetails(std::move(value)); return *this;}
243
245
248 inline const Aws::String& GetStepExecutionId() const{ return m_stepExecutionId; }
249 inline bool StepExecutionIdHasBeenSet() const { return m_stepExecutionIdHasBeenSet; }
250 inline void SetStepExecutionId(const Aws::String& value) { m_stepExecutionIdHasBeenSet = true; m_stepExecutionId = value; }
251 inline void SetStepExecutionId(Aws::String&& value) { m_stepExecutionIdHasBeenSet = true; m_stepExecutionId = std::move(value); }
252 inline void SetStepExecutionId(const char* value) { m_stepExecutionIdHasBeenSet = true; m_stepExecutionId.assign(value); }
253 inline StepExecution& WithStepExecutionId(const Aws::String& value) { SetStepExecutionId(value); return *this;}
254 inline StepExecution& WithStepExecutionId(Aws::String&& value) { SetStepExecutionId(std::move(value)); return *this;}
255 inline StepExecution& WithStepExecutionId(const char* value) { SetStepExecutionId(value); return *this;}
257
259
262 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetOverriddenParameters() const{ return m_overriddenParameters; }
263 inline bool OverriddenParametersHasBeenSet() const { return m_overriddenParametersHasBeenSet; }
264 inline void SetOverriddenParameters(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_overriddenParametersHasBeenSet = true; m_overriddenParameters = value; }
265 inline void SetOverriddenParameters(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_overriddenParametersHasBeenSet = true; m_overriddenParameters = std::move(value); }
268 inline StepExecution& AddOverriddenParameters(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_overriddenParametersHasBeenSet = true; m_overriddenParameters.emplace(key, value); return *this; }
269 inline StepExecution& AddOverriddenParameters(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_overriddenParametersHasBeenSet = true; m_overriddenParameters.emplace(std::move(key), value); return *this; }
270 inline StepExecution& AddOverriddenParameters(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_overriddenParametersHasBeenSet = true; m_overriddenParameters.emplace(key, std::move(value)); return *this; }
271 inline StepExecution& AddOverriddenParameters(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_overriddenParametersHasBeenSet = true; m_overriddenParameters.emplace(std::move(key), std::move(value)); return *this; }
272 inline StepExecution& AddOverriddenParameters(const char* key, Aws::Vector<Aws::String>&& value) { m_overriddenParametersHasBeenSet = true; m_overriddenParameters.emplace(key, std::move(value)); return *this; }
273 inline StepExecution& AddOverriddenParameters(const char* key, const Aws::Vector<Aws::String>& value) { m_overriddenParametersHasBeenSet = true; m_overriddenParameters.emplace(key, value); return *this; }
275
277
281 inline bool GetIsEnd() const{ return m_isEnd; }
282 inline bool IsEndHasBeenSet() const { return m_isEndHasBeenSet; }
283 inline void SetIsEnd(bool value) { m_isEndHasBeenSet = true; m_isEnd = value; }
284 inline StepExecution& WithIsEnd(bool value) { SetIsEnd(value); return *this;}
286
288
291 inline const Aws::String& GetNextStep() const{ return m_nextStep; }
292 inline bool NextStepHasBeenSet() const { return m_nextStepHasBeenSet; }
293 inline void SetNextStep(const Aws::String& value) { m_nextStepHasBeenSet = true; m_nextStep = value; }
294 inline void SetNextStep(Aws::String&& value) { m_nextStepHasBeenSet = true; m_nextStep = std::move(value); }
295 inline void SetNextStep(const char* value) { m_nextStepHasBeenSet = true; m_nextStep.assign(value); }
296 inline StepExecution& WithNextStep(const Aws::String& value) { SetNextStep(value); return *this;}
297 inline StepExecution& WithNextStep(Aws::String&& value) { SetNextStep(std::move(value)); return *this;}
298 inline StepExecution& WithNextStep(const char* value) { SetNextStep(value); return *this;}
300
302
306 inline bool GetIsCritical() const{ return m_isCritical; }
307 inline bool IsCriticalHasBeenSet() const { return m_isCriticalHasBeenSet; }
308 inline void SetIsCritical(bool value) { m_isCriticalHasBeenSet = true; m_isCritical = value; }
309 inline StepExecution& WithIsCritical(bool value) { SetIsCritical(value); return *this;}
311
313
320 inline const Aws::Vector<Aws::String>& GetValidNextSteps() const{ return m_validNextSteps; }
321 inline bool ValidNextStepsHasBeenSet() const { return m_validNextStepsHasBeenSet; }
322 inline void SetValidNextSteps(const Aws::Vector<Aws::String>& value) { m_validNextStepsHasBeenSet = true; m_validNextSteps = value; }
323 inline void SetValidNextSteps(Aws::Vector<Aws::String>&& value) { m_validNextStepsHasBeenSet = true; m_validNextSteps = std::move(value); }
324 inline StepExecution& WithValidNextSteps(const Aws::Vector<Aws::String>& value) { SetValidNextSteps(value); return *this;}
325 inline StepExecution& WithValidNextSteps(Aws::Vector<Aws::String>&& value) { SetValidNextSteps(std::move(value)); return *this;}
326 inline StepExecution& AddValidNextSteps(const Aws::String& value) { m_validNextStepsHasBeenSet = true; m_validNextSteps.push_back(value); return *this; }
327 inline StepExecution& AddValidNextSteps(Aws::String&& value) { m_validNextStepsHasBeenSet = true; m_validNextSteps.push_back(std::move(value)); return *this; }
328 inline StepExecution& AddValidNextSteps(const char* value) { m_validNextStepsHasBeenSet = true; m_validNextSteps.push_back(value); return *this; }
330
332
335 inline const Aws::Vector<Target>& GetTargets() const{ return m_targets; }
336 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
337 inline void SetTargets(const Aws::Vector<Target>& value) { m_targetsHasBeenSet = true; m_targets = value; }
338 inline void SetTargets(Aws::Vector<Target>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
339 inline StepExecution& WithTargets(const Aws::Vector<Target>& value) { SetTargets(value); return *this;}
340 inline StepExecution& WithTargets(Aws::Vector<Target>&& value) { SetTargets(std::move(value)); return *this;}
341 inline StepExecution& AddTargets(const Target& value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
342 inline StepExecution& AddTargets(Target&& value) { m_targetsHasBeenSet = true; m_targets.push_back(std::move(value)); return *this; }
344
346
350 inline const TargetLocation& GetTargetLocation() const{ return m_targetLocation; }
351 inline bool TargetLocationHasBeenSet() const { return m_targetLocationHasBeenSet; }
352 inline void SetTargetLocation(const TargetLocation& value) { m_targetLocationHasBeenSet = true; m_targetLocation = value; }
353 inline void SetTargetLocation(TargetLocation&& value) { m_targetLocationHasBeenSet = true; m_targetLocation = std::move(value); }
354 inline StepExecution& WithTargetLocation(const TargetLocation& value) { SetTargetLocation(value); return *this;}
355 inline StepExecution& WithTargetLocation(TargetLocation&& value) { SetTargetLocation(std::move(value)); return *this;}
357
359
362 inline const Aws::Vector<AlarmStateInformation>& GetTriggeredAlarms() const{ return m_triggeredAlarms; }
363 inline bool TriggeredAlarmsHasBeenSet() const { return m_triggeredAlarmsHasBeenSet; }
364 inline void SetTriggeredAlarms(const Aws::Vector<AlarmStateInformation>& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms = value; }
365 inline void SetTriggeredAlarms(Aws::Vector<AlarmStateInformation>&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms = std::move(value); }
368 inline StepExecution& AddTriggeredAlarms(const AlarmStateInformation& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms.push_back(value); return *this; }
369 inline StepExecution& AddTriggeredAlarms(AlarmStateInformation&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms.push_back(std::move(value)); return *this; }
371
373
376 inline const ParentStepDetails& GetParentStepDetails() const{ return m_parentStepDetails; }
377 inline bool ParentStepDetailsHasBeenSet() const { return m_parentStepDetailsHasBeenSet; }
378 inline void SetParentStepDetails(const ParentStepDetails& value) { m_parentStepDetailsHasBeenSet = true; m_parentStepDetails = value; }
379 inline void SetParentStepDetails(ParentStepDetails&& value) { m_parentStepDetailsHasBeenSet = true; m_parentStepDetails = std::move(value); }
380 inline StepExecution& WithParentStepDetails(const ParentStepDetails& value) { SetParentStepDetails(value); return *this;}
381 inline StepExecution& WithParentStepDetails(ParentStepDetails&& value) { SetParentStepDetails(std::move(value)); return *this;}
383 private:
384
385 Aws::String m_stepName;
386 bool m_stepNameHasBeenSet = false;
387
388 Aws::String m_action;
389 bool m_actionHasBeenSet = false;
390
391 long long m_timeoutSeconds;
392 bool m_timeoutSecondsHasBeenSet = false;
393
394 Aws::String m_onFailure;
395 bool m_onFailureHasBeenSet = false;
396
397 int m_maxAttempts;
398 bool m_maxAttemptsHasBeenSet = false;
399
400 Aws::Utils::DateTime m_executionStartTime;
401 bool m_executionStartTimeHasBeenSet = false;
402
403 Aws::Utils::DateTime m_executionEndTime;
404 bool m_executionEndTimeHasBeenSet = false;
405
406 AutomationExecutionStatus m_stepStatus;
407 bool m_stepStatusHasBeenSet = false;
408
409 Aws::String m_responseCode;
410 bool m_responseCodeHasBeenSet = false;
411
413 bool m_inputsHasBeenSet = false;
414
416 bool m_outputsHasBeenSet = false;
417
418 Aws::String m_response;
419 bool m_responseHasBeenSet = false;
420
421 Aws::String m_failureMessage;
422 bool m_failureMessageHasBeenSet = false;
423
424 FailureDetails m_failureDetails;
425 bool m_failureDetailsHasBeenSet = false;
426
427 Aws::String m_stepExecutionId;
428 bool m_stepExecutionIdHasBeenSet = false;
429
431 bool m_overriddenParametersHasBeenSet = false;
432
433 bool m_isEnd;
434 bool m_isEndHasBeenSet = false;
435
436 Aws::String m_nextStep;
437 bool m_nextStepHasBeenSet = false;
438
439 bool m_isCritical;
440 bool m_isCriticalHasBeenSet = false;
441
442 Aws::Vector<Aws::String> m_validNextSteps;
443 bool m_validNextStepsHasBeenSet = false;
444
445 Aws::Vector<Target> m_targets;
446 bool m_targetsHasBeenSet = false;
447
448 TargetLocation m_targetLocation;
449 bool m_targetLocationHasBeenSet = false;
450
451 Aws::Vector<AlarmStateInformation> m_triggeredAlarms;
452 bool m_triggeredAlarmsHasBeenSet = false;
453
454 ParentStepDetails m_parentStepDetails;
455 bool m_parentStepDetailsHasBeenSet = false;
456 };
457
458} // namespace Model
459} // namespace SSM
460} // namespace Aws
void SetAction(const Aws::String &value)
StepExecution & WithParentStepDetails(ParentStepDetails &&value)
StepExecution & WithStepName(const char *value)
StepExecution & WithNextStep(const char *value)
const TargetLocation & GetTargetLocation() const
StepExecution & AddOverriddenParameters(Aws::String &&key, const Aws::Vector< Aws::String > &value)
StepExecution & AddOverriddenParameters(Aws::String &&key, Aws::Vector< Aws::String > &&value)
StepExecution & WithAction(const char *value)
void SetAction(const char *value)
long long GetTimeoutSeconds() const
void SetResponse(const char *value)
const FailureDetails & GetFailureDetails() const
void SetParentStepDetails(const ParentStepDetails &value)
const Aws::String & GetOnFailure() const
const ParentStepDetails & GetParentStepDetails() const
void SetTargetLocation(const TargetLocation &value)
void SetFailureMessage(Aws::String &&value)
StepExecution & WithNextStep(Aws::String &&value)
const Aws::String & GetAction() const
void SetOverriddenParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
StepExecution & WithIsEnd(bool value)
StepExecution & WithStepStatus(AutomationExecutionStatus &&value)
void SetStepName(const char *value)
StepExecution & AddOverriddenParameters(const char *key, const Aws::Vector< Aws::String > &value)
StepExecution & WithExecutionStartTime(const Aws::Utils::DateTime &value)
void SetStepExecutionId(const Aws::String &value)
StepExecution & WithTargets(const Aws::Vector< Target > &value)
void SetFailureMessage(const char *value)
StepExecution & AddInputs(const Aws::String &key, Aws::String &&value)
StepExecution & AddInputs(Aws::String &&key, const char *value)
void SetExecutionEndTime(Aws::Utils::DateTime &&value)
StepExecution & AddInputs(Aws::String &&key, Aws::String &&value)
void SetOverriddenParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetFailureDetails(const FailureDetails &value)
StepExecution & AddOutputs(const Aws::String &key, Aws::Vector< Aws::String > &&value)
StepExecution & WithParentStepDetails(const ParentStepDetails &value)
StepExecution & WithNextStep(const Aws::String &value)
StepExecution & WithOverriddenParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
StepExecution & AddValidNextSteps(const char *value)
const Aws::Vector< Aws::String > & GetValidNextSteps() const
void SetTargetLocation(TargetLocation &&value)
void SetStepStatus(const AutomationExecutionStatus &value)
void SetTriggeredAlarms(Aws::Vector< AlarmStateInformation > &&value)
StepExecution & WithFailureMessage(const Aws::String &value)
void SetValidNextSteps(const Aws::Vector< Aws::String > &value)
StepExecution & WithStepName(Aws::String &&value)
void SetOutputs(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetStepStatus(AutomationExecutionStatus &&value)
void SetTimeoutSeconds(long long value)
const Aws::Vector< Target > & GetTargets() const
StepExecution & WithStepStatus(const AutomationExecutionStatus &value)
void SetParentStepDetails(ParentStepDetails &&value)
StepExecution & WithExecutionEndTime(Aws::Utils::DateTime &&value)
StepExecution & WithFailureDetails(FailureDetails &&value)
StepExecution & AddInputs(const char *key, Aws::String &&value)
StepExecution & WithOnFailure(Aws::String &&value)
StepExecution & AddInputs(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetInputs() const
StepExecution & WithStepName(const Aws::String &value)
void SetResponse(Aws::String &&value)
void SetOnFailure(const Aws::String &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetOverriddenParameters() const
const Aws::String & GetResponseCode() const
StepExecution & WithOnFailure(const Aws::String &value)
StepExecution & WithTargets(Aws::Vector< Target > &&value)
StepExecution & WithResponse(const char *value)
StepExecution & WithMaxAttempts(int value)
StepExecution & AddOutputs(const Aws::String &key, const Aws::Vector< Aws::String > &value)
void SetResponse(const Aws::String &value)
StepExecution & WithResponseCode(Aws::String &&value)
const Aws::String & GetStepName() const
const Aws::String & GetNextStep() const
const Aws::String & GetResponse() const
void SetStepName(const Aws::String &value)
void SetFailureDetails(FailureDetails &&value)
void SetExecutionStartTime(Aws::Utils::DateTime &&value)
StepExecution & AddOutputs(Aws::String &&key, const Aws::Vector< Aws::String > &value)
StepExecution & WithOverriddenParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetExecutionStartTime(const Aws::Utils::DateTime &value)
void SetResponseCode(Aws::String &&value)
StepExecution & AddOutputs(const char *key, Aws::Vector< Aws::String > &&value)
StepExecution & WithValidNextSteps(const Aws::Vector< Aws::String > &value)
void SetInputs(const Aws::Map< Aws::String, Aws::String > &value)
StepExecution & AddTriggeredAlarms(AlarmStateInformation &&value)
void SetNextStep(const char *value)
StepExecution & WithExecutionStartTime(Aws::Utils::DateTime &&value)
StepExecution & WithFailureDetails(const FailureDetails &value)
StepExecution & WithStepExecutionId(Aws::String &&value)
StepExecution & AddValidNextSteps(const Aws::String &value)
StepExecution & WithInputs(Aws::Map< Aws::String, Aws::String > &&value)
StepExecution & WithExecutionEndTime(const Aws::Utils::DateTime &value)
StepExecution & WithResponseCode(const Aws::String &value)
StepExecution & WithAction(const Aws::String &value)
StepExecution & AddInputs(const Aws::String &key, const Aws::String &value)
const Aws::Vector< AlarmStateInformation > & GetTriggeredAlarms() const
StepExecution & AddValidNextSteps(Aws::String &&value)
void SetResponseCode(const Aws::String &value)
StepExecution & WithResponse(Aws::String &&value)
StepExecution & WithAction(Aws::String &&value)
void SetValidNextSteps(Aws::Vector< Aws::String > &&value)
void SetExecutionEndTime(const Aws::Utils::DateTime &value)
void SetOnFailure(const char *value)
const Aws::Utils::DateTime & GetExecutionStartTime() const
void SetNextStep(Aws::String &&value)
StepExecution & WithFailureMessage(Aws::String &&value)
void SetAction(Aws::String &&value)
StepExecution & WithOutputs(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
StepExecution & WithTargetLocation(const TargetLocation &value)
void SetFailureMessage(const Aws::String &value)
void SetStepName(Aws::String &&value)
StepExecution & WithTargetLocation(TargetLocation &&value)
const AutomationExecutionStatus & GetStepStatus() const
StepExecution & AddOverriddenParameters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
StepExecution & AddInputs(const char *key, const char *value)
StepExecution & AddTriggeredAlarms(const AlarmStateInformation &value)
StepExecution & WithStepExecutionId(const char *value)
void SetResponseCode(const char *value)
void SetOnFailure(Aws::String &&value)
StepExecution & AddOutputs(Aws::String &&key, Aws::Vector< Aws::String > &&value)
AWS_SSM_API StepExecution(Aws::Utils::Json::JsonView jsonValue)
StepExecution & WithTriggeredAlarms(const Aws::Vector< AlarmStateInformation > &value)
void SetTriggeredAlarms(const Aws::Vector< AlarmStateInformation > &value)
StepExecution & AddOverriddenParameters(const Aws::String &key, Aws::Vector< Aws::String > &&value)
StepExecution & WithOutputs(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetOutputs() const
const Aws::String & GetFailureMessage() const
void SetInputs(Aws::Map< Aws::String, Aws::String > &&value)
StepExecution & WithOnFailure(const char *value)
StepExecution & AddTargets(Target &&value)
void SetStepExecutionId(const char *value)
StepExecution & WithFailureMessage(const char *value)
StepExecution & WithResponseCode(const char *value)
StepExecution & WithStepExecutionId(const Aws::String &value)
StepExecution & AddTargets(const Target &value)
StepExecution & WithTriggeredAlarms(Aws::Vector< AlarmStateInformation > &&value)
StepExecution & WithResponse(const Aws::String &value)
void SetNextStep(const Aws::String &value)
StepExecution & WithTimeoutSeconds(long long value)
const Aws::String & GetStepExecutionId() const
AWS_SSM_API StepExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTargets(Aws::Vector< Target > &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
StepExecution & AddOverriddenParameters(const char *key, Aws::Vector< Aws::String > &&value)
void SetOutputs(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetTargets(const Aws::Vector< Target > &value)
const Aws::Utils::DateTime & GetExecutionEndTime() const
StepExecution & AddOutputs(const char *key, const Aws::Vector< Aws::String > &value)
StepExecution & WithValidNextSteps(Aws::Vector< Aws::String > &&value)
StepExecution & WithInputs(const Aws::Map< Aws::String, Aws::String > &value)
bool OverriddenParametersHasBeenSet() const
void SetStepExecutionId(Aws::String &&value)
StepExecution & WithIsCritical(bool value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue