7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/SSM_EXPORTS.h>
12#include <aws/ssm/model/AlarmStateInformation.h>
13#include <aws/ssm/model/AutomationExecutionStatus.h>
14#include <aws/ssm/model/FailureDetails.h>
15#include <aws/ssm/model/ParentStepDetails.h>
16#include <aws/ssm/model/Target.h>
17#include <aws/ssm/model/TargetLocation.h>
50 template <
typename StepNameT = Aws::String>
52 m_stepNameHasBeenSet =
true;
53 m_stepName = std::forward<StepNameT>(value);
55 template <
typename StepNameT = Aws::String>
69 template <
typename ActionT = Aws::String>
71 m_actionHasBeenSet =
true;
72 m_action = std::forward<ActionT>(value);
74 template <
typename ActionT = Aws::String>
88 m_timeoutSecondsHasBeenSet =
true;
89 m_timeoutSeconds = value;
104 template <
typename OnFailureT = Aws::String>
106 m_onFailureHasBeenSet =
true;
107 m_onFailure = std::forward<OnFailureT>(value);
109 template <
typename OnFailureT = Aws::String>
124 m_maxAttemptsHasBeenSet =
true;
125 m_maxAttempts = value;
140 template <
typename ExecutionStartTimeT = Aws::Utils::DateTime>
142 m_executionStartTimeHasBeenSet =
true;
143 m_executionStartTime = std::forward<ExecutionStartTimeT>(value);
145 template <
typename ExecutionStartTimeT = Aws::Utils::DateTime>
159 template <
typename ExecutionEndTimeT = Aws::Utils::DateTime>
161 m_executionEndTimeHasBeenSet =
true;
162 m_executionEndTime = std::forward<ExecutionEndTimeT>(value);
164 template <
typename ExecutionEndTimeT = Aws::Utils::DateTime>
178 m_stepStatusHasBeenSet =
true;
179 m_stepStatus = value;
193 template <
typename ResponseCodeT = Aws::String>
195 m_responseCodeHasBeenSet =
true;
196 m_responseCode = std::forward<ResponseCodeT>(value);
198 template <
typename ResponseCodeT = Aws::String>
211 template <
typename InputsT = Aws::Map<Aws::String, Aws::String>>
213 m_inputsHasBeenSet =
true;
214 m_inputs = std::forward<InputsT>(value);
216 template <
typename InputsT = Aws::Map<Aws::String, Aws::String>>
221 template <
typename InputsKeyT = Aws::String,
typename InputsValueT = Aws::String>
223 m_inputsHasBeenSet =
true;
224 m_inputs.emplace(std::forward<InputsKeyT>(key), std::forward<InputsValueT>(value));
235 template <
typename OutputsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
237 m_outputsHasBeenSet =
true;
238 m_outputs = std::forward<OutputsT>(value);
240 template <
typename OutputsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
245 template <
typename OutputsKeyT = Aws::String,
typename OutputsValueT = Aws::Vector<Aws::String>>
247 m_outputsHasBeenSet =
true;
248 m_outputs.emplace(std::forward<OutputsKeyT>(key), std::forward<OutputsValueT>(value));
259 template <
typename ResponseT = Aws::String>
261 m_responseHasBeenSet =
true;
262 m_response = std::forward<ResponseT>(value);
264 template <
typename ResponseT = Aws::String>
277 template <
typename FailureMessageT = Aws::String>
279 m_failureMessageHasBeenSet =
true;
280 m_failureMessage = std::forward<FailureMessageT>(value);
282 template <
typename FailureMessageT = Aws::String>
295 template <
typename FailureDetailsT = FailureDetails>
297 m_failureDetailsHasBeenSet =
true;
298 m_failureDetails = std::forward<FailureDetailsT>(value);
300 template <
typename FailureDetailsT = FailureDetails>
313 template <
typename StepExecutionIdT = Aws::String>
315 m_stepExecutionIdHasBeenSet =
true;
316 m_stepExecutionId = std::forward<StepExecutionIdT>(value);
318 template <
typename StepExecutionIdT = Aws::String>
331 template <
typename Overr
iddenParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
333 m_overriddenParametersHasBeenSet =
true;
334 m_overriddenParameters = std::forward<OverriddenParametersT>(value);
336 template <
typename Overr
iddenParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
341 template <
typename Overr
iddenParametersKeyT = Aws::String,
typename Overr
iddenParametersValueT = Aws::Vector<Aws::String>>
343 m_overriddenParametersHasBeenSet =
true;
344 m_overriddenParameters.emplace(std::forward<OverriddenParametersKeyT>(key), std::forward<OverriddenParametersValueT>(value));
357 m_isEndHasBeenSet =
true;
372 template <
typename NextStepT = Aws::String>
374 m_nextStepHasBeenSet =
true;
375 m_nextStep = std::forward<NextStepT>(value);
377 template <
typename NextStepT = Aws::String>
392 m_isCriticalHasBeenSet =
true;
393 m_isCritical = value;
411 template <
typename Val
idNextStepsT = Aws::Vector<Aws::String>>
413 m_validNextStepsHasBeenSet =
true;
414 m_validNextSteps = std::forward<ValidNextStepsT>(value);
416 template <
typename Val
idNextStepsT = Aws::Vector<Aws::String>>
421 template <
typename Val
idNextStepsT = Aws::String>
423 m_validNextStepsHasBeenSet =
true;
424 m_validNextSteps.emplace_back(std::forward<ValidNextStepsT>(value));
435 template <
typename TargetsT = Aws::Vector<Target>>
437 m_targetsHasBeenSet =
true;
438 m_targets = std::forward<TargetsT>(value);
440 template <
typename TargetsT = Aws::Vector<Target>>
445 template <
typename TargetsT = Target>
447 m_targetsHasBeenSet =
true;
448 m_targets.emplace_back(std::forward<TargetsT>(value));
460 template <
typename TargetLocationT = TargetLocation>
462 m_targetLocationHasBeenSet =
true;
463 m_targetLocation = std::forward<TargetLocationT>(value);
465 template <
typename TargetLocationT = TargetLocation>
478 template <
typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
480 m_triggeredAlarmsHasBeenSet =
true;
481 m_triggeredAlarms = std::forward<TriggeredAlarmsT>(value);
483 template <
typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
488 template <
typename TriggeredAlarmsT = AlarmStateInformation>
490 m_triggeredAlarmsHasBeenSet =
true;
491 m_triggeredAlarms.emplace_back(std::forward<TriggeredAlarmsT>(value));
502 template <
typename ParentStepDetailsT = ParentStepDetails>
504 m_parentStepDetailsHasBeenSet =
true;
505 m_parentStepDetails = std::forward<ParentStepDetailsT>(value);
507 template <
typename ParentStepDetailsT = ParentStepDetails>
518 long long m_timeoutSeconds{0};
522 int m_maxAttempts{0};
540 FailureDetails m_failureDetails;
550 bool m_isCritical{
false};
556 TargetLocation m_targetLocation;
560 ParentStepDetails m_parentStepDetails;
561 bool m_stepNameHasBeenSet =
false;
562 bool m_actionHasBeenSet =
false;
563 bool m_timeoutSecondsHasBeenSet =
false;
564 bool m_onFailureHasBeenSet =
false;
565 bool m_maxAttemptsHasBeenSet =
false;
566 bool m_executionStartTimeHasBeenSet =
false;
567 bool m_executionEndTimeHasBeenSet =
false;
568 bool m_stepStatusHasBeenSet =
false;
569 bool m_responseCodeHasBeenSet =
false;
570 bool m_inputsHasBeenSet =
false;
571 bool m_outputsHasBeenSet =
false;
572 bool m_responseHasBeenSet =
false;
573 bool m_failureMessageHasBeenSet =
false;
574 bool m_failureDetailsHasBeenSet =
false;
575 bool m_stepExecutionIdHasBeenSet =
false;
576 bool m_overriddenParametersHasBeenSet =
false;
577 bool m_isEndHasBeenSet =
false;
578 bool m_nextStepHasBeenSet =
false;
579 bool m_isCriticalHasBeenSet =
false;
580 bool m_validNextStepsHasBeenSet =
false;
581 bool m_targetsHasBeenSet =
false;
582 bool m_targetLocationHasBeenSet =
false;
583 bool m_triggeredAlarmsHasBeenSet =
false;
584 bool m_parentStepDetailsHasBeenSet =
false;
bool ParentStepDetailsHasBeenSet() const
void SetTargetLocation(TargetLocationT &&value)
const TargetLocation & GetTargetLocation() const
bool InputsHasBeenSet() const
StepExecution & WithTargets(TargetsT &&value)
long long GetTimeoutSeconds() const
StepExecution & WithValidNextSteps(ValidNextStepsT &&value)
const FailureDetails & GetFailureDetails() const
bool FailureDetailsHasBeenSet() const
void SetAction(ActionT &&value)
const Aws::String & GetOnFailure() const
const ParentStepDetails & GetParentStepDetails() const
bool ExecutionEndTimeHasBeenSet() const
bool OutputsHasBeenSet() const
const Aws::String & GetAction() const
StepExecution & WithIsEnd(bool value)
StepExecution & AddOverriddenParameters(OverriddenParametersKeyT &&key, OverriddenParametersValueT &&value)
StepExecution & WithParentStepDetails(ParentStepDetailsT &&value)
void SetTriggeredAlarms(TriggeredAlarmsT &&value)
bool NextStepHasBeenSet() const
StepExecution & AddValidNextSteps(ValidNextStepsT &&value)
bool GetIsCritical() const
bool StepStatusHasBeenSet() const
void SetOverriddenParameters(OverriddenParametersT &&value)
AutomationExecutionStatus GetStepStatus() const
bool OnFailureHasBeenSet() const
void SetValidNextSteps(ValidNextStepsT &&value)
bool TimeoutSecondsHasBeenSet() const
StepExecution & WithResponse(ResponseT &&value)
StepExecution & WithAction(ActionT &&value)
bool StepExecutionIdHasBeenSet() const
void SetIsEnd(bool value)
const Aws::Vector< Aws::String > & GetValidNextSteps() const
StepExecution & WithStepName(StepNameT &&value)
StepExecution & WithStepExecutionId(StepExecutionIdT &&value)
StepExecution & WithExecutionEndTime(ExecutionEndTimeT &&value)
StepExecution & AddInputs(InputsKeyT &&key, InputsValueT &&value)
AWS_SSM_API StepExecution()=default
void SetFailureDetails(FailureDetailsT &&value)
void SetTimeoutSeconds(long long value)
const Aws::Vector< Target > & GetTargets() const
void SetParentStepDetails(ParentStepDetailsT &&value)
void SetResponse(ResponseT &&value)
bool StepNameHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetInputs() const
StepExecution & WithOnFailure(OnFailureT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetOverriddenParameters() const
const Aws::String & GetResponseCode() const
int GetMaxAttempts() const
bool MaxAttemptsHasBeenSet() const
StepExecution & WithMaxAttempts(int value)
const Aws::String & GetStepName() const
bool IsCriticalHasBeenSet() const
const Aws::String & GetNextStep() const
const Aws::String & GetResponse() const
bool IsEndHasBeenSet() const
void SetStepStatus(AutomationExecutionStatus value)
void SetResponseCode(ResponseCodeT &&value)
bool ResponseCodeHasBeenSet() const
StepExecution & WithOutputs(OutputsT &&value)
StepExecution & WithNextStep(NextStepT &&value)
void SetExecutionStartTime(ExecutionStartTimeT &&value)
StepExecution & AddTargets(TargetsT &&value)
StepExecution & WithFailureDetails(FailureDetailsT &&value)
StepExecution & AddOutputs(OutputsKeyT &&key, OutputsValueT &&value)
StepExecution & AddTriggeredAlarms(TriggeredAlarmsT &&value)
void SetExecutionEndTime(ExecutionEndTimeT &&value)
void SetFailureMessage(FailureMessageT &&value)
const Aws::Vector< AlarmStateInformation > & GetTriggeredAlarms() const
StepExecution & WithTriggeredAlarms(TriggeredAlarmsT &&value)
StepExecution & WithFailureMessage(FailureMessageT &&value)
bool ResponseHasBeenSet() const
bool FailureMessageHasBeenSet() const
bool ExecutionStartTimeHasBeenSet() const
bool ValidNextStepsHasBeenSet() const
const Aws::Utils::DateTime & GetExecutionStartTime() const
void SetOutputs(OutputsT &&value)
bool TargetsHasBeenSet() const
StepExecution & WithInputs(InputsT &&value)
void SetMaxAttempts(int value)
StepExecution & WithOverriddenParameters(OverriddenParametersT &&value)
void SetOnFailure(OnFailureT &&value)
bool TriggeredAlarmsHasBeenSet() const
StepExecution & WithResponseCode(ResponseCodeT &&value)
void SetNextStep(NextStepT &&value)
AWS_SSM_API StepExecution(Aws::Utils::Json::JsonView jsonValue)
void SetInputs(InputsT &&value)
bool TargetLocationHasBeenSet() const
StepExecution & WithStepStatus(AutomationExecutionStatus value)
void SetStepName(StepNameT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetOutputs() const
const Aws::String & GetFailureMessage() const
void SetIsCritical(bool value)
StepExecution & WithTimeoutSeconds(long long value)
const Aws::String & GetStepExecutionId() const
AWS_SSM_API StepExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStepExecutionId(StepExecutionIdT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetExecutionEndTime() const
StepExecution & WithExecutionStartTime(ExecutionStartTimeT &&value)
void SetTargets(TargetsT &&value)
StepExecution & WithTargetLocation(TargetLocationT &&value)
bool ActionHasBeenSet() const
bool OverriddenParametersHasBeenSet() const
StepExecution & WithIsCritical(bool value)
AutomationExecutionStatus
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