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/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/ssm/model/ExecutionMode.h>
14#include <aws/ssm/model/ResolvedTargets.h>
15#include <aws/ssm/model/ProgressCounters.h>
16#include <aws/ssm/model/AlarmConfiguration.h>
17#include <aws/ssm/model/AutomationSubtype.h>
18#include <aws/ssm/model/StepExecution.h>
19#include <aws/ssm/model/Target.h>
20#include <aws/ssm/model/TargetLocation.h>
21#include <aws/ssm/model/AlarmStateInformation.h>
22#include <aws/ssm/model/Runbook.h>
63 inline void SetAutomationExecutionId(
const char* value) { m_automationExecutionIdHasBeenSet =
true; m_automationExecutionId.assign(value); }
77 inline void SetDocumentName(
const char* value) { m_documentNameHasBeenSet =
true; m_documentName.assign(value); }
91 inline void SetDocumentVersion(
const char* value) { m_documentVersionHasBeenSet =
true; m_documentVersion.assign(value); }
207 inline void SetFailureMessage(
const char* value) { m_failureMessageHasBeenSet =
true; m_failureMessage.assign(value); }
247 inline void SetExecutedBy(
const char* value) { m_executedByHasBeenSet =
true; m_executedBy.assign(value); }
261 inline void SetCurrentStepName(
const char* value) { m_currentStepNameHasBeenSet =
true; m_currentStepName.assign(value); }
275 inline void SetCurrentAction(
const char* value) { m_currentActionHasBeenSet =
true; m_currentAction.assign(value); }
289 inline void SetTargetParameterName(
const char* value) { m_targetParameterNameHasBeenSet =
true; m_targetParameterName.assign(value); }
345 inline void SetMaxConcurrency(
const char* value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency.assign(value); }
359 inline void SetMaxErrors(
const char* value) { m_maxErrorsHasBeenSet =
true; m_maxErrors.assign(value); }
373 inline void SetTarget(
const char* value) { m_targetHasBeenSet =
true; m_target.assign(value); }
444 inline void SetTargetLocationsURL(
const char* value) { m_targetLocationsURLHasBeenSet =
true; m_targetLocationsURL.assign(value); }
501 inline void SetOpsItemId(
const char* value) { m_opsItemIdHasBeenSet =
true; m_opsItemId.assign(value); }
515 inline void SetAssociationId(
const char* value) { m_associationIdHasBeenSet =
true; m_associationId.assign(value); }
529 inline void SetChangeRequestName(
const char* value) { m_changeRequestNameHasBeenSet =
true; m_changeRequestName.assign(value); }
555 bool m_automationExecutionIdHasBeenSet =
false;
558 bool m_documentNameHasBeenSet =
false;
561 bool m_documentVersionHasBeenSet =
false;
564 bool m_executionStartTimeHasBeenSet =
false;
567 bool m_executionEndTimeHasBeenSet =
false;
570 bool m_automationExecutionStatusHasBeenSet =
false;
573 bool m_stepExecutionsHasBeenSet =
false;
575 bool m_stepExecutionsTruncated;
576 bool m_stepExecutionsTruncatedHasBeenSet =
false;
579 bool m_parametersHasBeenSet =
false;
582 bool m_outputsHasBeenSet =
false;
585 bool m_failureMessageHasBeenSet =
false;
588 bool m_modeHasBeenSet =
false;
591 bool m_parentAutomationExecutionIdHasBeenSet =
false;
594 bool m_executedByHasBeenSet =
false;
597 bool m_currentStepNameHasBeenSet =
false;
600 bool m_currentActionHasBeenSet =
false;
603 bool m_targetParameterNameHasBeenSet =
false;
606 bool m_targetsHasBeenSet =
false;
609 bool m_targetMapsHasBeenSet =
false;
612 bool m_resolvedTargetsHasBeenSet =
false;
615 bool m_maxConcurrencyHasBeenSet =
false;
618 bool m_maxErrorsHasBeenSet =
false;
621 bool m_targetHasBeenSet =
false;
624 bool m_targetLocationsHasBeenSet =
false;
627 bool m_progressCountersHasBeenSet =
false;
630 bool m_alarmConfigurationHasBeenSet =
false;
633 bool m_triggeredAlarmsHasBeenSet =
false;
636 bool m_targetLocationsURLHasBeenSet =
false;
639 bool m_automationSubtypeHasBeenSet =
false;
642 bool m_scheduledTimeHasBeenSet =
false;
645 bool m_runbooksHasBeenSet =
false;
648 bool m_opsItemIdHasBeenSet =
false;
651 bool m_associationIdHasBeenSet =
false;
654 bool m_changeRequestNameHasBeenSet =
false;
657 bool m_variablesHasBeenSet =
false;
void SetVariables(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
const Aws::Vector< StepExecution > & GetStepExecutions() const
bool TargetLocationsHasBeenSet() const
AutomationExecution & WithStepExecutions(Aws::Vector< StepExecution > &&value)
AutomationExecution & WithAutomationSubtype(AutomationSubtype &&value)
bool ModeHasBeenSet() const
AWS_SSM_API AutomationExecution()
void SetParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
AutomationExecution & WithAutomationExecutionStatus(const AutomationExecutionStatus &value)
bool TargetParameterNameHasBeenSet() const
void SetTargetLocations(const Aws::Vector< TargetLocation > &value)
bool ChangeRequestNameHasBeenSet() const
AutomationExecution & AddParameters(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetAlarmConfiguration(const AlarmConfiguration &value)
AutomationExecution & AddVariables(const Aws::String &key, const Aws::Vector< Aws::String > &value)
void SetTargets(const Aws::Vector< Target > &value)
AutomationExecution & WithChangeRequestName(const Aws::String &value)
const Aws::String & GetAssociationId() const
void SetTargetLocationsURL(Aws::String &&value)
const Aws::Utils::DateTime & GetExecutionStartTime() const
AutomationExecution & WithResolvedTargets(const ResolvedTargets &value)
AutomationExecution & AddVariables(Aws::String &&key, Aws::Vector< Aws::String > &&value)
void SetTarget(const Aws::String &value)
const Aws::String & GetParentAutomationExecutionId() const
AutomationExecution & AddOutputs(const char *key, Aws::Vector< Aws::String > &&value)
const AlarmConfiguration & GetAlarmConfiguration() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetVariables() const
bool TargetHasBeenSet() const
void SetRunbooks(const Aws::Vector< Runbook > &value)
AutomationExecution & WithExecutedBy(Aws::String &&value)
void SetExecutionEndTime(Aws::Utils::DateTime &&value)
void SetAutomationExecutionId(const char *value)
AutomationExecution & AddOutputs(Aws::String &&key, const Aws::Vector< Aws::String > &value)
AutomationExecution & AddStepExecutions(StepExecution &&value)
bool DocumentVersionHasBeenSet() const
AutomationExecution & WithMaxErrors(Aws::String &&value)
AutomationExecution & AddOutputs(const Aws::String &key, Aws::Vector< Aws::String > &&value)
const Aws::String & GetTargetParameterName() const
const Aws::Utils::DateTime & GetExecutionEndTime() const
bool TriggeredAlarmsHasBeenSet() const
AutomationExecution & WithRunbooks(const Aws::Vector< Runbook > &value)
void SetStepExecutions(const Aws::Vector< StepExecution > &value)
const ResolvedTargets & GetResolvedTargets() const
void SetCurrentStepName(Aws::String &&value)
AutomationExecution & WithTriggeredAlarms(Aws::Vector< AlarmStateInformation > &&value)
void SetParentAutomationExecutionId(Aws::String &&value)
AutomationExecution & WithRunbooks(Aws::Vector< Runbook > &&value)
void SetChangeRequestName(Aws::String &&value)
AutomationExecution & AddTargetMaps(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AutomationExecution & WithResolvedTargets(ResolvedTargets &&value)
AutomationExecution & WithProgressCounters(ProgressCounters &&value)
AutomationExecution & WithMode(ExecutionMode &&value)
void SetProgressCounters(ProgressCounters &&value)
void SetExecutedBy(const Aws::String &value)
bool DocumentNameHasBeenSet() const
AutomationExecution & WithTargetParameterName(const Aws::String &value)
const ExecutionMode & GetMode() const
bool ResolvedTargetsHasBeenSet() const
void SetAlarmConfiguration(AlarmConfiguration &&value)
void SetFailureMessage(Aws::String &&value)
AutomationExecution & WithTargetLocationsURL(const char *value)
const AutomationSubtype & GetAutomationSubtype() const
void SetMaxErrors(Aws::String &&value)
void SetTargetParameterName(const Aws::String &value)
AutomationExecution & WithScheduledTime(Aws::Utils::DateTime &&value)
void SetTarget(const char *value)
AutomationExecution & WithParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AutomationExecution & WithTargetLocations(const Aws::Vector< TargetLocation > &value)
void SetDocumentName(const Aws::String &value)
bool MaxConcurrencyHasBeenSet() const
AutomationExecution & WithDocumentName(const char *value)
AutomationExecution & WithMaxConcurrency(const Aws::String &value)
void SetTargetLocationsURL(const char *value)
AutomationExecution & AddTargetLocations(const TargetLocation &value)
const Aws::String & GetCurrentAction() const
AutomationExecution & AddParameters(Aws::String &&key, Aws::Vector< Aws::String > &&value)
AutomationExecution & WithParentAutomationExecutionId(const Aws::String &value)
void SetAutomationExecutionStatus(AutomationExecutionStatus &&value)
void SetFailureMessage(const Aws::String &value)
AutomationExecution & WithTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
AutomationExecution & WithTriggeredAlarms(const Aws::Vector< AlarmStateInformation > &value)
AutomationExecution & AddVariables(Aws::String &&key, const Aws::Vector< Aws::String > &value)
void SetMode(ExecutionMode &&value)
bool OpsItemIdHasBeenSet() const
bool CurrentActionHasBeenSet() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AutomationExecution & WithTarget(Aws::String &&value)
bool AlarmConfigurationHasBeenSet() const
AutomationExecution & WithProgressCounters(const ProgressCounters &value)
void SetExecutionStartTime(Aws::Utils::DateTime &&value)
AutomationExecution & AddVariables(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetOpsItemId(const char *value)
void SetAutomationSubtype(AutomationSubtype &&value)
const Aws::String & GetOpsItemId() const
void SetDocumentName(Aws::String &&value)
void SetTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
AutomationExecution & AddVariables(const char *key, const Aws::Vector< Aws::String > &value)
void SetDocumentVersion(const char *value)
AutomationExecution & WithTargets(const Aws::Vector< Target > &value)
bool MaxErrorsHasBeenSet() const
AutomationExecution & AddTargets(const Target &value)
bool StepExecutionsHasBeenSet() const
AWS_SSM_API AutomationExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomationExecution & WithAssociationId(Aws::String &&value)
AutomationExecution & WithVariables(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
bool ScheduledTimeHasBeenSet() const
AutomationExecution & AddParameters(const char *key, const Aws::Vector< Aws::String > &value)
void SetAutomationExecutionId(const Aws::String &value)
void SetTriggeredAlarms(const Aws::Vector< AlarmStateInformation > &value)
const Aws::String & GetMaxConcurrency() const
const Aws::String & GetChangeRequestName() const
void SetMaxErrors(const char *value)
AutomationExecution & WithCurrentStepName(const char *value)
AutomationExecution & WithParentAutomationExecutionId(const char *value)
AutomationExecution & WithTargetParameterName(const char *value)
void SetOutputs(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AutomationExecution & WithMaxErrors(const Aws::String &value)
AutomationExecution & WithDocumentVersion(const char *value)
AutomationExecution & WithScheduledTime(const Aws::Utils::DateTime &value)
void SetAssociationId(Aws::String &&value)
AutomationExecution & AddParameters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
AutomationExecution & WithOutputs(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::Utils::DateTime & GetScheduledTime() const
void SetTargetParameterName(Aws::String &&value)
bool ParametersHasBeenSet() const
void SetTargets(Aws::Vector< Target > &&value)
AutomationExecution & WithMaxConcurrency(const char *value)
AutomationExecution & AddStepExecutions(const StepExecution &value)
AutomationExecution & WithDocumentName(Aws::String &&value)
AutomationExecution & WithExecutionEndTime(const Aws::Utils::DateTime &value)
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetTargetParameterName(const char *value)
const Aws::Vector< Target > & GetTargets() const
AutomationExecution & AddTargets(Target &&value)
void SetAutomationExecutionId(Aws::String &&value)
void SetTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
void SetOutputs(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AutomationExecution & WithAutomationSubtype(const AutomationSubtype &value)
bool RunbooksHasBeenSet() const
AutomationExecution & AddRunbooks(Runbook &&value)
void SetResolvedTargets(const ResolvedTargets &value)
void SetMaxErrors(const Aws::String &value)
AutomationExecution & AddTargetLocations(TargetLocation &&value)
AutomationExecution & WithCurrentAction(const Aws::String &value)
AutomationExecution & WithCurrentAction(Aws::String &&value)
AutomationExecution & AddParameters(Aws::String &&key, const Aws::Vector< Aws::String > &value)
bool ExecutionEndTimeHasBeenSet() const
const Aws::String & GetExecutedBy() const
void SetDocumentVersion(Aws::String &&value)
AutomationExecution & WithStepExecutionsTruncated(bool value)
AutomationExecution & WithCurrentAction(const char *value)
AutomationExecution & AddRunbooks(const Runbook &value)
AutomationExecution & WithTargets(Aws::Vector< Target > &&value)
bool ExecutionStartTimeHasBeenSet() const
void SetChangeRequestName(const Aws::String &value)
AutomationExecution & WithTargetParameterName(Aws::String &&value)
AutomationExecution & WithTargetLocationsURL(const Aws::String &value)
AutomationExecution & WithMode(const ExecutionMode &value)
const Aws::String & GetCurrentStepName() const
void SetStepExecutions(Aws::Vector< StepExecution > &&value)
void SetCurrentAction(const Aws::String &value)
bool CurrentStepNameHasBeenSet() const
void SetProgressCounters(const ProgressCounters &value)
AutomationExecution & AddOutputs(const char *key, const Aws::Vector< Aws::String > &value)
void SetMaxConcurrency(const char *value)
AutomationExecution & WithOpsItemId(const Aws::String &value)
AutomationExecution & WithAutomationExecutionId(Aws::String &&value)
AutomationExecution & WithTarget(const char *value)
const Aws::String & GetTarget() const
void SetAutomationSubtype(const AutomationSubtype &value)
const AutomationExecutionStatus & GetAutomationExecutionStatus() const
void SetScheduledTime(Aws::Utils::DateTime &&value)
const ProgressCounters & GetProgressCounters() const
bool TargetLocationsURLHasBeenSet() const
void SetAssociationId(const char *value)
void SetAutomationExecutionStatus(const AutomationExecutionStatus &value)
void SetOpsItemId(Aws::String &&value)
AutomationExecution & WithChangeRequestName(const char *value)
bool AutomationSubtypeHasBeenSet() const
AutomationExecution & WithAlarmConfiguration(AlarmConfiguration &&value)
void SetStepExecutionsTruncated(bool value)
bool ProgressCountersHasBeenSet() const
void SetChangeRequestName(const char *value)
AutomationExecution & WithMaxErrors(const char *value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetOutputs() const
AutomationExecution & WithExecutedBy(const char *value)
void SetMaxConcurrency(const Aws::String &value)
void SetFailureMessage(const char *value)
AutomationExecution & AddTargetMaps(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetDocumentName(const char *value)
AutomationExecution & WithDocumentVersion(const Aws::String &value)
const Aws::Vector< Runbook > & GetRunbooks() const
AutomationExecution & AddTriggeredAlarms(const AlarmStateInformation &value)
bool AutomationExecutionStatusHasBeenSet() const
const Aws::String & GetMaxErrors() const
void SetMaxConcurrency(Aws::String &&value)
AutomationExecution & WithAutomationExecutionId(const char *value)
AutomationExecution & WithFailureMessage(const char *value)
AutomationExecution & AddVariables(const char *key, Aws::Vector< Aws::String > &&value)
bool VariablesHasBeenSet() const
void SetTargetLocationsURL(const Aws::String &value)
AutomationExecution & WithParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::String & GetTargetLocationsURL() const
AutomationExecution & WithTargetLocations(Aws::Vector< TargetLocation > &&value)
void SetDocumentVersion(const Aws::String &value)
AutomationExecution & WithFailureMessage(const Aws::String &value)
AutomationExecution & WithCurrentStepName(Aws::String &&value)
void SetCurrentStepName(const char *value)
AutomationExecution & WithDocumentVersion(Aws::String &&value)
void SetScheduledTime(const Aws::Utils::DateTime &value)
AutomationExecution & WithTargetLocationsURL(Aws::String &&value)
const Aws::Vector< TargetLocation > & GetTargetLocations() const
void SetTriggeredAlarms(Aws::Vector< AlarmStateInformation > &&value)
AutomationExecution & AddParameters(const char *key, Aws::Vector< Aws::String > &&value)
void SetCurrentAction(Aws::String &&value)
void SetParentAutomationExecutionId(const Aws::String &value)
void SetAssociationId(const Aws::String &value)
AutomationExecution & WithExecutionStartTime(const Aws::Utils::DateTime &value)
AutomationExecution & WithAssociationId(const Aws::String &value)
void SetResolvedTargets(ResolvedTargets &&value)
void SetExecutedBy(Aws::String &&value)
AutomationExecution & WithAutomationExecutionId(const Aws::String &value)
AutomationExecution & WithCurrentStepName(const Aws::String &value)
void SetRunbooks(Aws::Vector< Runbook > &&value)
bool AssociationIdHasBeenSet() const
AutomationExecution & WithVariables(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetExecutedBy(const char *value)
bool StepExecutionsTruncatedHasBeenSet() const
const Aws::String & GetAutomationExecutionId() const
AutomationExecution & WithDocumentName(const Aws::String &value)
AutomationExecution & WithChangeRequestName(Aws::String &&value)
bool GetStepExecutionsTruncated() const
AutomationExecution & WithFailureMessage(Aws::String &&value)
void SetOpsItemId(const Aws::String &value)
void SetCurrentAction(const char *value)
AWS_SSM_API AutomationExecution(Aws::Utils::Json::JsonView jsonValue)
void SetVariables(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AutomationExecution & WithAssociationId(const char *value)
bool TargetMapsHasBeenSet() const
bool ParentAutomationExecutionIdHasBeenSet() const
const Aws::Vector< AlarmStateInformation > & GetTriggeredAlarms() const
AutomationExecution & WithExecutionStartTime(Aws::Utils::DateTime &&value)
void SetExecutionEndTime(const Aws::Utils::DateTime &value)
const Aws::String & GetDocumentVersion() const
AutomationExecution & WithAlarmConfiguration(const AlarmConfiguration &value)
AutomationExecution & WithExecutionEndTime(Aws::Utils::DateTime &&value)
bool OutputsHasBeenSet() const
bool AutomationExecutionIdHasBeenSet() const
AutomationExecution & WithStepExecutions(const Aws::Vector< StepExecution > &value)
void SetTargetLocations(Aws::Vector< TargetLocation > &&value)
bool FailureMessageHasBeenSet() const
const Aws::String & GetDocumentName() const
AutomationExecution & WithOutputs(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AutomationExecution & WithTarget(const Aws::String &value)
AutomationExecution & AddOutputs(Aws::String &&key, Aws::Vector< Aws::String > &&value)
AutomationExecution & AddTriggeredAlarms(AlarmStateInformation &&value)
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
void SetTarget(Aws::String &&value)
void SetExecutionStartTime(const Aws::Utils::DateTime &value)
AutomationExecution & WithParentAutomationExecutionId(Aws::String &&value)
void SetCurrentStepName(const Aws::String &value)
AutomationExecution & WithOpsItemId(Aws::String &&value)
AutomationExecution & WithMaxConcurrency(Aws::String &&value)
AutomationExecution & WithAutomationExecutionStatus(AutomationExecutionStatus &&value)
const Aws::String & GetFailureMessage() const
AutomationExecution & WithOpsItemId(const char *value)
AutomationExecution & AddOutputs(const Aws::String &key, const Aws::Vector< Aws::String > &value)
void SetMode(const ExecutionMode &value)
bool ExecutedByHasBeenSet() const
void SetParentAutomationExecutionId(const char *value)
bool TargetsHasBeenSet() const
AutomationExecution & WithTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
AutomationExecution & WithExecutedBy(const Aws::String &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