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>
296 template <
typename WarningMessageT = Aws::String>
298 m_warningMessageHasBeenSet =
true;
299 m_warningMessage = std::forward<WarningMessageT>(value);
301 template <
typename WarningMessageT = Aws::String>
314 template <
typename FailureDetailsT = FailureDetails>
316 m_failureDetailsHasBeenSet =
true;
317 m_failureDetails = std::forward<FailureDetailsT>(value);
319 template <
typename FailureDetailsT = FailureDetails>
332 template <
typename StepExecutionIdT = Aws::String>
334 m_stepExecutionIdHasBeenSet =
true;
335 m_stepExecutionId = std::forward<StepExecutionIdT>(value);
337 template <
typename StepExecutionIdT = Aws::String>
350 template <
typename Overr
iddenParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
352 m_overriddenParametersHasBeenSet =
true;
353 m_overriddenParameters = std::forward<OverriddenParametersT>(value);
355 template <
typename Overr
iddenParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
360 template <
typename Overr
iddenParametersKeyT = Aws::String,
typename Overr
iddenParametersValueT = Aws::Vector<Aws::String>>
362 m_overriddenParametersHasBeenSet =
true;
363 m_overriddenParameters.emplace(std::forward<OverriddenParametersKeyT>(key), std::forward<OverriddenParametersValueT>(value));
376 m_isEndHasBeenSet =
true;
391 template <
typename NextStepT = Aws::String>
393 m_nextStepHasBeenSet =
true;
394 m_nextStep = std::forward<NextStepT>(value);
396 template <
typename NextStepT = Aws::String>
411 m_isCriticalHasBeenSet =
true;
412 m_isCritical = value;
430 template <
typename Val
idNextStepsT = Aws::Vector<Aws::String>>
432 m_validNextStepsHasBeenSet =
true;
433 m_validNextSteps = std::forward<ValidNextStepsT>(value);
435 template <
typename Val
idNextStepsT = Aws::Vector<Aws::String>>
440 template <
typename Val
idNextStepsT = Aws::String>
442 m_validNextStepsHasBeenSet =
true;
443 m_validNextSteps.emplace_back(std::forward<ValidNextStepsT>(value));
454 template <
typename TargetsT = Aws::Vector<Target>>
456 m_targetsHasBeenSet =
true;
457 m_targets = std::forward<TargetsT>(value);
459 template <
typename TargetsT = Aws::Vector<Target>>
464 template <
typename TargetsT = Target>
466 m_targetsHasBeenSet =
true;
467 m_targets.emplace_back(std::forward<TargetsT>(value));
479 template <
typename TargetLocationT = TargetLocation>
481 m_targetLocationHasBeenSet =
true;
482 m_targetLocation = std::forward<TargetLocationT>(value);
484 template <
typename TargetLocationT = TargetLocation>
497 template <
typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
499 m_triggeredAlarmsHasBeenSet =
true;
500 m_triggeredAlarms = std::forward<TriggeredAlarmsT>(value);
502 template <
typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
507 template <
typename TriggeredAlarmsT = AlarmStateInformation>
509 m_triggeredAlarmsHasBeenSet =
true;
510 m_triggeredAlarms.emplace_back(std::forward<TriggeredAlarmsT>(value));
521 template <
typename ParentStepDetailsT = ParentStepDetails>
523 m_parentStepDetailsHasBeenSet =
true;
524 m_parentStepDetails = std::forward<ParentStepDetailsT>(value);
526 template <
typename ParentStepDetailsT = ParentStepDetails>
537 long long m_timeoutSeconds{0};
541 int m_maxAttempts{0};
561 FailureDetails m_failureDetails;
571 bool m_isCritical{
false};
577 TargetLocation m_targetLocation;
581 ParentStepDetails m_parentStepDetails;
582 bool m_stepNameHasBeenSet =
false;
583 bool m_actionHasBeenSet =
false;
584 bool m_timeoutSecondsHasBeenSet =
false;
585 bool m_onFailureHasBeenSet =
false;
586 bool m_maxAttemptsHasBeenSet =
false;
587 bool m_executionStartTimeHasBeenSet =
false;
588 bool m_executionEndTimeHasBeenSet =
false;
589 bool m_stepStatusHasBeenSet =
false;
590 bool m_responseCodeHasBeenSet =
false;
591 bool m_inputsHasBeenSet =
false;
592 bool m_outputsHasBeenSet =
false;
593 bool m_responseHasBeenSet =
false;
594 bool m_failureMessageHasBeenSet =
false;
595 bool m_warningMessageHasBeenSet =
false;
596 bool m_failureDetailsHasBeenSet =
false;
597 bool m_stepExecutionIdHasBeenSet =
false;
598 bool m_overriddenParametersHasBeenSet =
false;
599 bool m_isEndHasBeenSet =
false;
600 bool m_nextStepHasBeenSet =
false;
601 bool m_isCriticalHasBeenSet =
false;
602 bool m_validNextStepsHasBeenSet =
false;
603 bool m_targetsHasBeenSet =
false;
604 bool m_targetLocationHasBeenSet =
false;
605 bool m_triggeredAlarmsHasBeenSet =
false;
606 bool m_parentStepDetailsHasBeenSet =
false;
bool ParentStepDetailsHasBeenSet() const
void SetTargetLocation(TargetLocationT &&value)
const TargetLocation & GetTargetLocation() const
bool InputsHasBeenSet() const
StepExecution & WithTargets(TargetsT &&value)
bool WarningMessageHasBeenSet() const
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)
const Aws::String & GetWarningMessage() const
StepExecution & AddTargets(TargetsT &&value)
StepExecution & WithFailureDetails(FailureDetailsT &&value)
void SetWarningMessage(WarningMessageT &&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)
StepExecution & WithWarningMessage(WarningMessageT &&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