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 m_modeHasBeenSet =
true;
289 template <
typename ParentAutomationExecutionIdT = Aws::String>
291 m_parentAutomationExecutionIdHasBeenSet =
true;
292 m_parentAutomationExecutionId = std::forward<ParentAutomationExecutionIdT>(value);
294 template <
typename ParentAutomationExecutionIdT = Aws::String>
307 template <
typename ExecutedByT = Aws::String>
309 m_executedByHasBeenSet =
true;
310 m_executedBy = std::forward<ExecutedByT>(value);
312 template <
typename ExecutedByT = Aws::String>
325 template <
typename CurrentStepNameT = Aws::String>
327 m_currentStepNameHasBeenSet =
true;
328 m_currentStepName = std::forward<CurrentStepNameT>(value);
330 template <
typename CurrentStepNameT = Aws::String>
343 template <
typename CurrentActionT = Aws::String>
345 m_currentActionHasBeenSet =
true;
346 m_currentAction = std::forward<CurrentActionT>(value);
348 template <
typename CurrentActionT = Aws::String>
361 template <
typename TargetParameterNameT = Aws::String>
363 m_targetParameterNameHasBeenSet =
true;
364 m_targetParameterName = std::forward<TargetParameterNameT>(value);
366 template <
typename TargetParameterNameT = Aws::String>
379 template <
typename TargetsT = Aws::Vector<Target>>
381 m_targetsHasBeenSet =
true;
382 m_targets = std::forward<TargetsT>(value);
384 template <
typename TargetsT = Aws::Vector<Target>>
389 template <
typename TargetsT = Target>
391 m_targetsHasBeenSet =
true;
392 m_targets.emplace_back(std::forward<TargetsT>(value));
404 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
406 m_targetMapsHasBeenSet =
true;
407 m_targetMaps = std::forward<TargetMapsT>(value);
409 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
414 template <
typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
416 m_targetMapsHasBeenSet =
true;
417 m_targetMaps.emplace_back(std::forward<TargetMapsT>(value));
428 template <
typename ResolvedTargetsT = ResolvedTargets>
430 m_resolvedTargetsHasBeenSet =
true;
431 m_resolvedTargets = std::forward<ResolvedTargetsT>(value);
433 template <
typename ResolvedTargetsT = ResolvedTargets>
447 template <
typename MaxConcurrencyT = Aws::String>
449 m_maxConcurrencyHasBeenSet =
true;
450 m_maxConcurrency = std::forward<MaxConcurrencyT>(value);
452 template <
typename MaxConcurrencyT = Aws::String>
465 template <
typename MaxErrorsT = Aws::String>
467 m_maxErrorsHasBeenSet =
true;
468 m_maxErrors = std::forward<MaxErrorsT>(value);
470 template <
typename MaxErrorsT = Aws::String>
483 template <
typename TargetT = Aws::String>
485 m_targetHasBeenSet =
true;
486 m_target = std::forward<TargetT>(value);
488 template <
typename TargetT = Aws::String>
502 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
504 m_targetLocationsHasBeenSet =
true;
505 m_targetLocations = std::forward<TargetLocationsT>(value);
507 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
512 template <
typename TargetLocationsT = TargetLocation>
514 m_targetLocationsHasBeenSet =
true;
515 m_targetLocations.emplace_back(std::forward<TargetLocationsT>(value));
528 template <
typename ProgressCountersT = ProgressCounters>
530 m_progressCountersHasBeenSet =
true;
531 m_progressCounters = std::forward<ProgressCountersT>(value);
533 template <
typename ProgressCountersT = ProgressCounters>
546 template <
typename AlarmConfigurationT = AlarmConfiguration>
548 m_alarmConfigurationHasBeenSet =
true;
549 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
551 template <
typename AlarmConfigurationT = AlarmConfiguration>
564 template <
typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
566 m_triggeredAlarmsHasBeenSet =
true;
567 m_triggeredAlarms = std::forward<TriggeredAlarmsT>(value);
569 template <
typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
574 template <
typename TriggeredAlarmsT = AlarmStateInformation>
576 m_triggeredAlarmsHasBeenSet =
true;
577 m_triggeredAlarms.emplace_back(std::forward<TriggeredAlarmsT>(value));
590 template <
typename TargetLocationsURLT = Aws::String>
592 m_targetLocationsURLHasBeenSet =
true;
593 m_targetLocationsURL = std::forward<TargetLocationsURLT>(value);
595 template <
typename TargetLocationsURLT = Aws::String>
610 m_automationSubtypeHasBeenSet =
true;
611 m_automationSubtype = value;
625 template <
typename ScheduledTimeT = Aws::Utils::DateTime>
627 m_scheduledTimeHasBeenSet =
true;
628 m_scheduledTime = std::forward<ScheduledTimeT>(value);
630 template <
typename ScheduledTimeT = Aws::Utils::DateTime>
646 template <
typename RunbooksT = Aws::Vector<Runbook>>
648 m_runbooksHasBeenSet =
true;
649 m_runbooks = std::forward<RunbooksT>(value);
651 template <
typename RunbooksT = Aws::Vector<Runbook>>
656 template <
typename RunbooksT = Runbook>
658 m_runbooksHasBeenSet =
true;
659 m_runbooks.emplace_back(std::forward<RunbooksT>(value));
671 template <
typename OpsItemIdT = Aws::String>
673 m_opsItemIdHasBeenSet =
true;
674 m_opsItemId = std::forward<OpsItemIdT>(value);
676 template <
typename OpsItemIdT = Aws::String>
689 template <
typename AssociationIdT = Aws::String>
691 m_associationIdHasBeenSet =
true;
692 m_associationId = std::forward<AssociationIdT>(value);
694 template <
typename AssociationIdT = Aws::String>
707 template <
typename ChangeRequestNameT = Aws::String>
709 m_changeRequestNameHasBeenSet =
true;
710 m_changeRequestName = std::forward<ChangeRequestNameT>(value);
712 template <
typename ChangeRequestNameT = Aws::String>
725 template <
typename VariablesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
727 m_variablesHasBeenSet =
true;
728 m_variables = std::forward<VariablesT>(value);
730 template <
typename VariablesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
735 template <
typename VariablesKeyT = Aws::String,
typename VariablesValueT = Aws::Vector<Aws::String>>
737 m_variablesHasBeenSet =
true;
738 m_variables.emplace(std::forward<VariablesKeyT>(key), std::forward<VariablesValueT>(value));
757 bool m_stepExecutionsTruncated{
false};
781 ResolvedTargets m_resolvedTargets;
791 ProgressCounters m_progressCounters;
793 AlarmConfiguration m_alarmConfiguration;
812 bool m_automationExecutionIdHasBeenSet =
false;
813 bool m_documentNameHasBeenSet =
false;
814 bool m_documentVersionHasBeenSet =
false;
815 bool m_executionStartTimeHasBeenSet =
false;
816 bool m_executionEndTimeHasBeenSet =
false;
817 bool m_automationExecutionStatusHasBeenSet =
false;
818 bool m_stepExecutionsHasBeenSet =
false;
819 bool m_stepExecutionsTruncatedHasBeenSet =
false;
820 bool m_parametersHasBeenSet =
false;
821 bool m_outputsHasBeenSet =
false;
822 bool m_failureMessageHasBeenSet =
false;
823 bool m_modeHasBeenSet =
false;
824 bool m_parentAutomationExecutionIdHasBeenSet =
false;
825 bool m_executedByHasBeenSet =
false;
826 bool m_currentStepNameHasBeenSet =
false;
827 bool m_currentActionHasBeenSet =
false;
828 bool m_targetParameterNameHasBeenSet =
false;
829 bool m_targetsHasBeenSet =
false;
830 bool m_targetMapsHasBeenSet =
false;
831 bool m_resolvedTargetsHasBeenSet =
false;
832 bool m_maxConcurrencyHasBeenSet =
false;
833 bool m_maxErrorsHasBeenSet =
false;
834 bool m_targetHasBeenSet =
false;
835 bool m_targetLocationsHasBeenSet =
false;
836 bool m_progressCountersHasBeenSet =
false;
837 bool m_alarmConfigurationHasBeenSet =
false;
838 bool m_triggeredAlarmsHasBeenSet =
false;
839 bool m_targetLocationsURLHasBeenSet =
false;
840 bool m_automationSubtypeHasBeenSet =
false;
841 bool m_scheduledTimeHasBeenSet =
false;
842 bool m_runbooksHasBeenSet =
false;
843 bool m_opsItemIdHasBeenSet =
false;
844 bool m_associationIdHasBeenSet =
false;
845 bool m_changeRequestNameHasBeenSet =
false;
846 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 & 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 & GetCurrentStepName() const
AutomationExecution & WithExecutionStartTime(ExecutionStartTimeT &&value)
AutomationExecution & WithDocumentVersion(DocumentVersionT &&value)
bool CurrentStepNameHasBeenSet() 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)
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