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/AlarmConfiguration.h>
13#include <aws/ssm/model/AlarmStateInformation.h>
14#include <aws/ssm/model/AutomationExecutionStatus.h>
15#include <aws/ssm/model/AutomationSubtype.h>
16#include <aws/ssm/model/ExecutionMode.h>
17#include <aws/ssm/model/ProgressCounters.h>
18#include <aws/ssm/model/ResolvedTargets.h>
19#include <aws/ssm/model/Runbook.h>
20#include <aws/ssm/model/StepExecution.h>
21#include <aws/ssm/model/Target.h>
22#include <aws/ssm/model/TargetLocation.h>
55 template <
typename AutomationExecutionIdT = Aws::String>
57 m_automationExecutionIdHasBeenSet =
true;
58 m_automationExecutionId = std::forward<AutomationExecutionIdT>(value);
60 template <
typename AutomationExecutionIdT = Aws::String>
73 template <
typename DocumentNameT = Aws::String>
75 m_documentNameHasBeenSet =
true;
76 m_documentName = std::forward<DocumentNameT>(value);
78 template <
typename DocumentNameT = Aws::String>
91 template <
typename DocumentVersionT = Aws::String>
93 m_documentVersionHasBeenSet =
true;
94 m_documentVersion = std::forward<DocumentVersionT>(value);
96 template <
typename DocumentVersionT = Aws::String>
109 template <
typename ExecutionStartTimeT = Aws::Utils::DateTime>
111 m_executionStartTimeHasBeenSet =
true;
112 m_executionStartTime = std::forward<ExecutionStartTimeT>(value);
114 template <
typename ExecutionStartTimeT = Aws::Utils::DateTime>
127 template <
typename ExecutionEndTimeT = Aws::Utils::DateTime>
129 m_executionEndTimeHasBeenSet =
true;
130 m_executionEndTime = std::forward<ExecutionEndTimeT>(value);
132 template <
typename ExecutionEndTimeT = Aws::Utils::DateTime>
146 m_automationExecutionStatusHasBeenSet =
true;
147 m_automationExecutionStatus = value;
163 template <
typename StepExecutionsT = Aws::Vector<StepExecution>>
165 m_stepExecutionsHasBeenSet =
true;
166 m_stepExecutions = std::forward<StepExecutionsT>(value);
168 template <
typename StepExecutionsT = Aws::Vector<StepExecution>>
173 template <
typename StepExecutionsT = StepExecution>
175 m_stepExecutionsHasBeenSet =
true;
176 m_stepExecutions.emplace_back(std::forward<StepExecutionsT>(value));
190 m_stepExecutionsTruncatedHasBeenSet =
true;
191 m_stepExecutionsTruncated = value;
206 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
208 m_parametersHasBeenSet =
true;
209 m_parameters = std::forward<ParametersT>(value);
211 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
216 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
218 m_parametersHasBeenSet =
true;
219 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
230 template <
typename OutputsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
232 m_outputsHasBeenSet =
true;
233 m_outputs = std::forward<OutputsT>(value);
235 template <
typename OutputsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
240 template <
typename OutputsKeyT = Aws::String,
typename OutputsValueT = Aws::Vector<Aws::String>>
242 m_outputsHasBeenSet =
true;
243 m_outputs.emplace(std::forward<OutputsKeyT>(key), std::forward<OutputsValueT>(value));
255 template <
typename FailureMessageT = Aws::String>
257 m_failureMessageHasBeenSet =
true;
258 m_failureMessage = std::forward<FailureMessageT>(value);
260 template <
typename FailureMessageT = Aws::String>
274 template <
typename WarningMessageT = Aws::String>
276 m_warningMessageHasBeenSet =
true;
277 m_warningMessage = std::forward<WarningMessageT>(value);
279 template <
typename WarningMessageT = Aws::String>
293 m_modeHasBeenSet =
true;
308 template <
typename ParentAutomationExecutionIdT = Aws::String>
310 m_parentAutomationExecutionIdHasBeenSet =
true;
311 m_parentAutomationExecutionId = std::forward<ParentAutomationExecutionIdT>(value);
313 template <
typename ParentAutomationExecutionIdT = Aws::String>
326 template <
typename ExecutedByT = Aws::String>
328 m_executedByHasBeenSet =
true;
329 m_executedBy = std::forward<ExecutedByT>(value);
331 template <
typename ExecutedByT = Aws::String>
344 template <
typename CurrentStepNameT = Aws::String>
346 m_currentStepNameHasBeenSet =
true;
347 m_currentStepName = std::forward<CurrentStepNameT>(value);
349 template <
typename CurrentStepNameT = Aws::String>
362 template <
typename CurrentActionT = Aws::String>
364 m_currentActionHasBeenSet =
true;
365 m_currentAction = std::forward<CurrentActionT>(value);
367 template <
typename CurrentActionT = Aws::String>
380 template <
typename TargetParameterNameT = Aws::String>
382 m_targetParameterNameHasBeenSet =
true;
383 m_targetParameterName = std::forward<TargetParameterNameT>(value);
385 template <
typename TargetParameterNameT = Aws::String>
398 template <
typename TargetsT = Aws::Vector<Target>>
400 m_targetsHasBeenSet =
true;
401 m_targets = std::forward<TargetsT>(value);
403 template <
typename TargetsT = Aws::Vector<Target>>
408 template <
typename TargetsT = Target>
410 m_targetsHasBeenSet =
true;
411 m_targets.emplace_back(std::forward<TargetsT>(value));
423 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
425 m_targetMapsHasBeenSet =
true;
426 m_targetMaps = std::forward<TargetMapsT>(value);
428 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
433 template <
typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
435 m_targetMapsHasBeenSet =
true;
436 m_targetMaps.emplace_back(std::forward<TargetMapsT>(value));
447 template <
typename ResolvedTargetsT = ResolvedTargets>
449 m_resolvedTargetsHasBeenSet =
true;
450 m_resolvedTargets = std::forward<ResolvedTargetsT>(value);
452 template <
typename ResolvedTargetsT = ResolvedTargets>
466 template <
typename MaxConcurrencyT = Aws::String>
468 m_maxConcurrencyHasBeenSet =
true;
469 m_maxConcurrency = std::forward<MaxConcurrencyT>(value);
471 template <
typename MaxConcurrencyT = Aws::String>
484 template <
typename MaxErrorsT = Aws::String>
486 m_maxErrorsHasBeenSet =
true;
487 m_maxErrors = std::forward<MaxErrorsT>(value);
489 template <
typename MaxErrorsT = Aws::String>
502 template <
typename TargetT = Aws::String>
504 m_targetHasBeenSet =
true;
505 m_target = std::forward<TargetT>(value);
507 template <
typename TargetT = Aws::String>
521 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
523 m_targetLocationsHasBeenSet =
true;
524 m_targetLocations = std::forward<TargetLocationsT>(value);
526 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
531 template <
typename TargetLocationsT = TargetLocation>
533 m_targetLocationsHasBeenSet =
true;
534 m_targetLocations.emplace_back(std::forward<TargetLocationsT>(value));
547 template <
typename ProgressCountersT = ProgressCounters>
549 m_progressCountersHasBeenSet =
true;
550 m_progressCounters = std::forward<ProgressCountersT>(value);
552 template <
typename ProgressCountersT = ProgressCounters>
565 template <
typename AlarmConfigurationT = AlarmConfiguration>
567 m_alarmConfigurationHasBeenSet =
true;
568 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
570 template <
typename AlarmConfigurationT = AlarmConfiguration>
583 template <
typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
585 m_triggeredAlarmsHasBeenSet =
true;
586 m_triggeredAlarms = std::forward<TriggeredAlarmsT>(value);
588 template <
typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
593 template <
typename TriggeredAlarmsT = AlarmStateInformation>
595 m_triggeredAlarmsHasBeenSet =
true;
596 m_triggeredAlarms.emplace_back(std::forward<TriggeredAlarmsT>(value));
609 template <
typename TargetLocationsURLT = Aws::String>
611 m_targetLocationsURLHasBeenSet =
true;
612 m_targetLocationsURL = std::forward<TargetLocationsURLT>(value);
614 template <
typename TargetLocationsURLT = Aws::String>
629 m_automationSubtypeHasBeenSet =
true;
630 m_automationSubtype = value;
644 template <
typename ScheduledTimeT = Aws::Utils::DateTime>
646 m_scheduledTimeHasBeenSet =
true;
647 m_scheduledTime = std::forward<ScheduledTimeT>(value);
649 template <
typename ScheduledTimeT = Aws::Utils::DateTime>
665 template <
typename RunbooksT = Aws::Vector<Runbook>>
667 m_runbooksHasBeenSet =
true;
668 m_runbooks = std::forward<RunbooksT>(value);
670 template <
typename RunbooksT = Aws::Vector<Runbook>>
675 template <
typename RunbooksT = Runbook>
677 m_runbooksHasBeenSet =
true;
678 m_runbooks.emplace_back(std::forward<RunbooksT>(value));
690 template <
typename OpsItemIdT = Aws::String>
692 m_opsItemIdHasBeenSet =
true;
693 m_opsItemId = std::forward<OpsItemIdT>(value);
695 template <
typename OpsItemIdT = Aws::String>
708 template <
typename AssociationIdT = Aws::String>
710 m_associationIdHasBeenSet =
true;
711 m_associationId = std::forward<AssociationIdT>(value);
713 template <
typename AssociationIdT = Aws::String>
726 template <
typename ChangeRequestNameT = Aws::String>
728 m_changeRequestNameHasBeenSet =
true;
729 m_changeRequestName = std::forward<ChangeRequestNameT>(value);
731 template <
typename ChangeRequestNameT = Aws::String>
744 template <
typename VariablesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
746 m_variablesHasBeenSet =
true;
747 m_variables = std::forward<VariablesT>(value);
749 template <
typename VariablesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
754 template <
typename VariablesKeyT = Aws::String,
typename VariablesValueT = Aws::Vector<Aws::String>>
756 m_variablesHasBeenSet =
true;
757 m_variables.emplace(std::forward<VariablesKeyT>(key), std::forward<VariablesValueT>(value));
776 bool m_stepExecutionsTruncated{
false};
802 ResolvedTargets m_resolvedTargets;
812 ProgressCounters m_progressCounters;
814 AlarmConfiguration m_alarmConfiguration;
833 bool m_automationExecutionIdHasBeenSet =
false;
834 bool m_documentNameHasBeenSet =
false;
835 bool m_documentVersionHasBeenSet =
false;
836 bool m_executionStartTimeHasBeenSet =
false;
837 bool m_executionEndTimeHasBeenSet =
false;
838 bool m_automationExecutionStatusHasBeenSet =
false;
839 bool m_stepExecutionsHasBeenSet =
false;
840 bool m_stepExecutionsTruncatedHasBeenSet =
false;
841 bool m_parametersHasBeenSet =
false;
842 bool m_outputsHasBeenSet =
false;
843 bool m_failureMessageHasBeenSet =
false;
844 bool m_warningMessageHasBeenSet =
false;
845 bool m_modeHasBeenSet =
false;
846 bool m_parentAutomationExecutionIdHasBeenSet =
false;
847 bool m_executedByHasBeenSet =
false;
848 bool m_currentStepNameHasBeenSet =
false;
849 bool m_currentActionHasBeenSet =
false;
850 bool m_targetParameterNameHasBeenSet =
false;
851 bool m_targetsHasBeenSet =
false;
852 bool m_targetMapsHasBeenSet =
false;
853 bool m_resolvedTargetsHasBeenSet =
false;
854 bool m_maxConcurrencyHasBeenSet =
false;
855 bool m_maxErrorsHasBeenSet =
false;
856 bool m_targetHasBeenSet =
false;
857 bool m_targetLocationsHasBeenSet =
false;
858 bool m_progressCountersHasBeenSet =
false;
859 bool m_alarmConfigurationHasBeenSet =
false;
860 bool m_triggeredAlarmsHasBeenSet =
false;
861 bool m_targetLocationsURLHasBeenSet =
false;
862 bool m_automationSubtypeHasBeenSet =
false;
863 bool m_scheduledTimeHasBeenSet =
false;
864 bool m_runbooksHasBeenSet =
false;
865 bool m_opsItemIdHasBeenSet =
false;
866 bool m_associationIdHasBeenSet =
false;
867 bool m_changeRequestNameHasBeenSet =
false;
868 bool m_variablesHasBeenSet =
false;
const Aws::Vector< StepExecution > & GetStepExecutions() const
bool TargetLocationsHasBeenSet() const
AutomationExecution & WithProgressCounters(ProgressCountersT &&value)
bool ModeHasBeenSet() const
AutomationExecution & WithTargets(TargetsT &&value)
AutomationExecution & WithCurrentAction(CurrentActionT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
bool TargetParameterNameHasBeenSet() const
bool ChangeRequestNameHasBeenSet() const
AutomationExecution & WithAlarmConfiguration(AlarmConfigurationT &&value)
const Aws::String & GetAssociationId() const
const Aws::Utils::DateTime & GetExecutionStartTime() const
void SetTargetParameterName(TargetParameterNameT &&value)
const Aws::String & GetParentAutomationExecutionId() const
const AlarmConfiguration & GetAlarmConfiguration() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetVariables() const
bool TargetHasBeenSet() const
void SetOutputs(OutputsT &&value)
void SetScheduledTime(ScheduledTimeT &&value)
AutomationExecution & WithTargetMaps(TargetMapsT &&value)
bool DocumentVersionHasBeenSet() const
AutomationExecution & WithMaxErrors(MaxErrorsT &&value)
void SetExecutionStartTime(ExecutionStartTimeT &&value)
AutomationExecution & AddRunbooks(RunbooksT &&value)
const Aws::String & GetTargetParameterName() const
AutomationExecution & WithMode(ExecutionMode value)
const Aws::Utils::DateTime & GetExecutionEndTime() const
void SetVariables(VariablesT &&value)
bool TriggeredAlarmsHasBeenSet() const
AutomationExecution & WithRunbooks(RunbooksT &&value)
const ResolvedTargets & GetResolvedTargets() const
bool DocumentNameHasBeenSet() const
bool ResolvedTargetsHasBeenSet() const
AutomationExecution & AddTargetMaps(TargetMapsT &&value)
void SetMaxConcurrency(MaxConcurrencyT &&value)
void SetTargetLocationsURL(TargetLocationsURLT &&value)
AutomationExecution & WithParameters(ParametersT &&value)
bool MaxConcurrencyHasBeenSet() const
AutomationExecution & WithDocumentName(DocumentNameT &&value)
AutomationExecution & WithResolvedTargets(ResolvedTargetsT &&value)
const Aws::String & GetCurrentAction() const
AutomationExecution & AddTriggeredAlarms(TriggeredAlarmsT &&value)
AutomationExecution & WithTarget(TargetT &&value)
AutomationExecution & AddOutputs(OutputsKeyT &&key, OutputsValueT &&value)
void SetAutomationExecutionId(AutomationExecutionIdT &&value)
bool OpsItemIdHasBeenSet() const
bool CurrentActionHasBeenSet() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
bool AlarmConfigurationHasBeenSet() const
void SetMaxErrors(MaxErrorsT &&value)
void SetCurrentStepName(CurrentStepNameT &&value)
const Aws::String & GetOpsItemId() const
AutomationExecution & WithStepExecutions(StepExecutionsT &&value)
bool MaxErrorsHasBeenSet() const
bool StepExecutionsHasBeenSet() const
AWS_SSM_API AutomationExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ScheduledTimeHasBeenSet() const
AutomationExecution & WithMaxConcurrency(MaxConcurrencyT &&value)
const Aws::String & GetMaxConcurrency() const
const Aws::String & GetChangeRequestName() const
AutomationExecution & WithWarningMessage(WarningMessageT &&value)
AutomationExecution & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
AutomationExecution & WithVariables(VariablesT &&value)
const Aws::Utils::DateTime & GetScheduledTime() const
void SetDocumentVersion(DocumentVersionT &&value)
AutomationExecution & WithOutputs(OutputsT &&value)
bool ParametersHasBeenSet() const
AutomationExecution & WithFailureMessage(FailureMessageT &&value)
AutomationExecution & WithTargetParameterName(TargetParameterNameT &&value)
const Aws::Vector< Target > & GetTargets() const
void SetFailureMessage(FailureMessageT &&value)
bool RunbooksHasBeenSet() const
void SetAssociationId(AssociationIdT &&value)
AutomationExecution & WithExecutionEndTime(ExecutionEndTimeT &&value)
AutomationExecution & WithCurrentStepName(CurrentStepNameT &&value)
bool ExecutionEndTimeHasBeenSet() const
const Aws::String & GetExecutedBy() const
AutomationExecution & WithOpsItemId(OpsItemIdT &&value)
void SetDocumentName(DocumentNameT &&value)
AutomationExecution & WithStepExecutionsTruncated(bool value)
AutomationExecution & WithAssociationId(AssociationIdT &&value)
AutomationExecution & WithParentAutomationExecutionId(ParentAutomationExecutionIdT &&value)
AutomationSubtype GetAutomationSubtype() const
void SetRunbooks(RunbooksT &&value)
bool ExecutionStartTimeHasBeenSet() const
const Aws::String & GetWarningMessage() const
const Aws::String & GetCurrentStepName() const
AutomationExecution & WithExecutionStartTime(ExecutionStartTimeT &&value)
AutomationExecution & WithDocumentVersion(DocumentVersionT &&value)
bool CurrentStepNameHasBeenSet() const
bool WarningMessageHasBeenSet() const
void SetTargets(TargetsT &&value)
AutomationExecution & WithChangeRequestName(ChangeRequestNameT &&value)
const Aws::String & GetTarget() const
void SetExecutionEndTime(ExecutionEndTimeT &&value)
void SetTarget(TargetT &&value)
void SetTargetLocations(TargetLocationsT &&value)
const ProgressCounters & GetProgressCounters() const
bool TargetLocationsURLHasBeenSet() const
void SetAutomationExecutionStatus(AutomationExecutionStatus value)
void SetAutomationSubtype(AutomationSubtype value)
bool AutomationSubtypeHasBeenSet() const
void SetStepExecutionsTruncated(bool value)
void SetCurrentAction(CurrentActionT &&value)
bool ProgressCountersHasBeenSet() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetOutputs() const
AutomationExecution & WithAutomationExecutionId(AutomationExecutionIdT &&value)
AutomationExecution & AddTargets(TargetsT &&value)
const Aws::Vector< Runbook > & GetRunbooks() const
void SetParameters(ParametersT &&value)
bool AutomationExecutionStatusHasBeenSet() const
const Aws::String & GetMaxErrors() const
void SetOpsItemId(OpsItemIdT &&value)
bool VariablesHasBeenSet() const
const Aws::String & GetTargetLocationsURL() const
void SetExecutedBy(ExecutedByT &&value)
void SetMode(ExecutionMode value)
AutomationExecution & WithAutomationExecutionStatus(AutomationExecutionStatus value)
void SetTargetMaps(TargetMapsT &&value)
void SetAlarmConfiguration(AlarmConfigurationT &&value)
void SetWarningMessage(WarningMessageT &&value)
const Aws::Vector< TargetLocation > & GetTargetLocations() const
AutomationExecution & AddVariables(VariablesKeyT &&key, VariablesValueT &&value)
AutomationExecution & WithAutomationSubtype(AutomationSubtype value)
AutomationExecutionStatus GetAutomationExecutionStatus() const
bool AssociationIdHasBeenSet() const
bool StepExecutionsTruncatedHasBeenSet() const
const Aws::String & GetAutomationExecutionId() const
bool GetStepExecutionsTruncated() const
AWS_SSM_API AutomationExecution(Aws::Utils::Json::JsonView jsonValue)
AutomationExecution & AddStepExecutions(StepExecutionsT &&value)
bool TargetMapsHasBeenSet() const
AutomationExecution & WithTargetLocations(TargetLocationsT &&value)
bool ParentAutomationExecutionIdHasBeenSet() const
const Aws::Vector< AlarmStateInformation > & GetTriggeredAlarms() const
AutomationExecution & WithExecutedBy(ExecutedByT &&value)
const Aws::String & GetDocumentVersion() const
bool OutputsHasBeenSet() const
bool AutomationExecutionIdHasBeenSet() const
AutomationExecution & WithTriggeredAlarms(TriggeredAlarmsT &&value)
bool FailureMessageHasBeenSet() const
void SetStepExecutions(StepExecutionsT &&value)
void SetChangeRequestName(ChangeRequestNameT &&value)
const Aws::String & GetDocumentName() const
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
void SetProgressCounters(ProgressCountersT &&value)
AutomationExecution & WithTargetLocationsURL(TargetLocationsURLT &&value)
void SetTriggeredAlarms(TriggeredAlarmsT &&value)
void SetResolvedTargets(ResolvedTargetsT &&value)
const Aws::String & GetFailureMessage() const
AWS_SSM_API AutomationExecution()=default
void SetParentAutomationExecutionId(ParentAutomationExecutionIdT &&value)
bool ExecutedByHasBeenSet() const
AutomationExecution & WithScheduledTime(ScheduledTimeT &&value)
bool TargetsHasBeenSet() const
ExecutionMode GetMode() const
AutomationExecution & AddTargetLocations(TargetLocationsT &&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