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>
58 inline void SetStepName(
const char* value) { m_stepNameHasBeenSet =
true; m_stepName.assign(value); }
73 inline void SetAction(
const char* value) { m_actionHasBeenSet =
true; m_action.assign(value); }
85 inline void SetTimeoutSeconds(
long long value) { m_timeoutSecondsHasBeenSet =
true; m_timeoutSeconds = value; }
98 inline void SetOnFailure(
const char* value) { m_onFailureHasBeenSet =
true; m_onFailure.assign(value); }
111 inline void SetMaxAttempts(
int value) { m_maxAttemptsHasBeenSet =
true; m_maxAttempts = value; }
161 inline void SetResponseCode(
const char* value) { m_responseCodeHasBeenSet =
true; m_responseCode.assign(value); }
183 inline StepExecution&
AddInputs(
const char* key,
const char* value) { m_inputsHasBeenSet =
true; m_inputs.emplace(key, value);
return *
this; }
212 inline void SetResponse(
const char* value) { m_responseHasBeenSet =
true; m_response.assign(value); }
226 inline void SetFailureMessage(
const char* value) { m_failureMessageHasBeenSet =
true; m_failureMessage.assign(value); }
252 inline void SetStepExecutionId(
const char* value) { m_stepExecutionIdHasBeenSet =
true; m_stepExecutionId.assign(value); }
283 inline void SetIsEnd(
bool value) { m_isEndHasBeenSet =
true; m_isEnd = value; }
295 inline void SetNextStep(
const char* value) { m_nextStepHasBeenSet =
true; m_nextStep.assign(value); }
308 inline void SetIsCritical(
bool value) { m_isCriticalHasBeenSet =
true; m_isCritical = value; }
386 bool m_stepNameHasBeenSet =
false;
389 bool m_actionHasBeenSet =
false;
391 long long m_timeoutSeconds;
392 bool m_timeoutSecondsHasBeenSet =
false;
395 bool m_onFailureHasBeenSet =
false;
398 bool m_maxAttemptsHasBeenSet =
false;
401 bool m_executionStartTimeHasBeenSet =
false;
404 bool m_executionEndTimeHasBeenSet =
false;
407 bool m_stepStatusHasBeenSet =
false;
410 bool m_responseCodeHasBeenSet =
false;
413 bool m_inputsHasBeenSet =
false;
416 bool m_outputsHasBeenSet =
false;
419 bool m_responseHasBeenSet =
false;
422 bool m_failureMessageHasBeenSet =
false;
425 bool m_failureDetailsHasBeenSet =
false;
428 bool m_stepExecutionIdHasBeenSet =
false;
431 bool m_overriddenParametersHasBeenSet =
false;
434 bool m_isEndHasBeenSet =
false;
437 bool m_nextStepHasBeenSet =
false;
440 bool m_isCriticalHasBeenSet =
false;
443 bool m_validNextStepsHasBeenSet =
false;
446 bool m_targetsHasBeenSet =
false;
449 bool m_targetLocationHasBeenSet =
false;
452 bool m_triggeredAlarmsHasBeenSet =
false;
455 bool m_parentStepDetailsHasBeenSet =
false;
void SetAction(const Aws::String &value)
StepExecution & WithParentStepDetails(ParentStepDetails &&value)
bool ParentStepDetailsHasBeenSet() const
StepExecution & WithStepName(const char *value)
StepExecution & WithNextStep(const char *value)
const TargetLocation & GetTargetLocation() const
bool InputsHasBeenSet() 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
bool FailureDetailsHasBeenSet() const
void SetParentStepDetails(const ParentStepDetails &value)
const Aws::String & GetOnFailure() const
const ParentStepDetails & GetParentStepDetails() const
void SetTargetLocation(const TargetLocation &value)
bool ExecutionEndTimeHasBeenSet() const
void SetFailureMessage(Aws::String &&value)
bool OutputsHasBeenSet() const
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)
bool NextStepHasBeenSet() const
StepExecution & WithTargets(const Aws::Vector< Target > &value)
void SetFailureMessage(const char *value)
StepExecution & AddInputs(const Aws::String &key, Aws::String &&value)
bool GetIsCritical() const
StepExecution & AddInputs(Aws::String &&key, const char *value)
bool StepStatusHasBeenSet() const
void SetExecutionEndTime(Aws::Utils::DateTime &&value)
StepExecution & AddInputs(Aws::String &&key, Aws::String &&value)
bool OnFailureHasBeenSet() const
void SetOverriddenParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetFailureDetails(const FailureDetails &value)
bool TimeoutSecondsHasBeenSet() const
StepExecution & AddOutputs(const Aws::String &key, Aws::Vector< Aws::String > &&value)
StepExecution & WithParentStepDetails(const ParentStepDetails &value)
bool StepExecutionIdHasBeenSet() const
void SetIsEnd(bool 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
AWS_SSM_API StepExecution()
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)
bool StepNameHasBeenSet() const
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)
int GetMaxAttempts() const
StepExecution & WithTargets(Aws::Vector< Target > &&value)
StepExecution & WithResponse(const char *value)
bool MaxAttemptsHasBeenSet() const
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
bool IsCriticalHasBeenSet() const
const Aws::String & GetNextStep() const
const Aws::String & GetResponse() const
void SetStepName(const Aws::String &value)
void SetFailureDetails(FailureDetails &&value)
bool IsEndHasBeenSet() const
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)
bool ResponseCodeHasBeenSet() const
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)
bool ResponseHasBeenSet() const
bool FailureMessageHasBeenSet() const
StepExecution & WithResponse(Aws::String &&value)
bool ExecutionStartTimeHasBeenSet() const
StepExecution & WithAction(Aws::String &&value)
void SetValidNextSteps(Aws::Vector< Aws::String > &&value)
void SetExecutionEndTime(const Aws::Utils::DateTime &value)
void SetOnFailure(const char *value)
bool ValidNextStepsHasBeenSet() const
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)
bool TargetsHasBeenSet() const
void SetFailureMessage(const Aws::String &value)
void SetStepName(Aws::String &&value)
StepExecution & WithTargetLocation(TargetLocation &&value)
const AutomationExecutionStatus & GetStepStatus() const
void SetMaxAttempts(int value)
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)
bool TriggeredAlarmsHasBeenSet() const
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)
bool TargetLocationHasBeenSet() const
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)
void SetIsCritical(bool 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)
bool ActionHasBeenSet() const
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)
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