/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SSM { namespace Model { /** *

Details about a specific Automation execution.

See Also:

AWS * API Reference

*/ class AutomationExecutionMetadata { public: AWS_SSM_API AutomationExecutionMetadata(); AWS_SSM_API AutomationExecutionMetadata(Aws::Utils::Json::JsonView jsonValue); AWS_SSM_API AutomationExecutionMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The execution ID.

*/ inline const Aws::String& GetAutomationExecutionId() const{ return m_automationExecutionId; } /** *

The execution ID.

*/ inline bool AutomationExecutionIdHasBeenSet() const { return m_automationExecutionIdHasBeenSet; } /** *

The execution ID.

*/ inline void SetAutomationExecutionId(const Aws::String& value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId = value; } /** *

The execution ID.

*/ inline void SetAutomationExecutionId(Aws::String&& value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId = std::move(value); } /** *

The execution ID.

*/ inline void SetAutomationExecutionId(const char* value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId.assign(value); } /** *

The execution ID.

*/ inline AutomationExecutionMetadata& WithAutomationExecutionId(const Aws::String& value) { SetAutomationExecutionId(value); return *this;} /** *

The execution ID.

*/ inline AutomationExecutionMetadata& WithAutomationExecutionId(Aws::String&& value) { SetAutomationExecutionId(std::move(value)); return *this;} /** *

The execution ID.

*/ inline AutomationExecutionMetadata& WithAutomationExecutionId(const char* value) { SetAutomationExecutionId(value); return *this;} /** *

The name of the Automation runbook used during execution.

*/ inline const Aws::String& GetDocumentName() const{ return m_documentName; } /** *

The name of the Automation runbook used during execution.

*/ inline bool DocumentNameHasBeenSet() const { return m_documentNameHasBeenSet; } /** *

The name of the Automation runbook used during execution.

*/ inline void SetDocumentName(const Aws::String& value) { m_documentNameHasBeenSet = true; m_documentName = value; } /** *

The name of the Automation runbook used during execution.

*/ inline void SetDocumentName(Aws::String&& value) { m_documentNameHasBeenSet = true; m_documentName = std::move(value); } /** *

The name of the Automation runbook used during execution.

*/ inline void SetDocumentName(const char* value) { m_documentNameHasBeenSet = true; m_documentName.assign(value); } /** *

The name of the Automation runbook used during execution.

*/ inline AutomationExecutionMetadata& WithDocumentName(const Aws::String& value) { SetDocumentName(value); return *this;} /** *

The name of the Automation runbook used during execution.

*/ inline AutomationExecutionMetadata& WithDocumentName(Aws::String&& value) { SetDocumentName(std::move(value)); return *this;} /** *

The name of the Automation runbook used during execution.

*/ inline AutomationExecutionMetadata& WithDocumentName(const char* value) { SetDocumentName(value); return *this;} /** *

The document version used during the execution.

*/ inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; } /** *

The document version used during the execution.

*/ inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; } /** *

The document version used during the execution.

*/ inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; } /** *

The document version used during the execution.

*/ inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); } /** *

The document version used during the execution.

*/ inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); } /** *

The document version used during the execution.

*/ inline AutomationExecutionMetadata& WithDocumentVersion(const Aws::String& value) { SetDocumentVersion(value); return *this;} /** *

The document version used during the execution.

*/ inline AutomationExecutionMetadata& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;} /** *

The document version used during the execution.

*/ inline AutomationExecutionMetadata& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;} /** *

The status of the execution.

*/ inline const AutomationExecutionStatus& GetAutomationExecutionStatus() const{ return m_automationExecutionStatus; } /** *

The status of the execution.

*/ inline bool AutomationExecutionStatusHasBeenSet() const { return m_automationExecutionStatusHasBeenSet; } /** *

The status of the execution.

*/ inline void SetAutomationExecutionStatus(const AutomationExecutionStatus& value) { m_automationExecutionStatusHasBeenSet = true; m_automationExecutionStatus = value; } /** *

The status of the execution.

*/ inline void SetAutomationExecutionStatus(AutomationExecutionStatus&& value) { m_automationExecutionStatusHasBeenSet = true; m_automationExecutionStatus = std::move(value); } /** *

The status of the execution.

*/ inline AutomationExecutionMetadata& WithAutomationExecutionStatus(const AutomationExecutionStatus& value) { SetAutomationExecutionStatus(value); return *this;} /** *

The status of the execution.

*/ inline AutomationExecutionMetadata& WithAutomationExecutionStatus(AutomationExecutionStatus&& value) { SetAutomationExecutionStatus(std::move(value)); return *this;} /** *

The time the execution started.

*/ inline const Aws::Utils::DateTime& GetExecutionStartTime() const{ return m_executionStartTime; } /** *

The time the execution started.

*/ inline bool ExecutionStartTimeHasBeenSet() const { return m_executionStartTimeHasBeenSet; } /** *

The time the execution started.

*/ inline void SetExecutionStartTime(const Aws::Utils::DateTime& value) { m_executionStartTimeHasBeenSet = true; m_executionStartTime = value; } /** *

The time the execution started.

*/ inline void SetExecutionStartTime(Aws::Utils::DateTime&& value) { m_executionStartTimeHasBeenSet = true; m_executionStartTime = std::move(value); } /** *

The time the execution started.

*/ inline AutomationExecutionMetadata& WithExecutionStartTime(const Aws::Utils::DateTime& value) { SetExecutionStartTime(value); return *this;} /** *

The time the execution started.

*/ inline AutomationExecutionMetadata& WithExecutionStartTime(Aws::Utils::DateTime&& value) { SetExecutionStartTime(std::move(value)); return *this;} /** *

The time the execution finished. This isn't populated if the execution is * still in progress.

*/ inline const Aws::Utils::DateTime& GetExecutionEndTime() const{ return m_executionEndTime; } /** *

The time the execution finished. This isn't populated if the execution is * still in progress.

*/ inline bool ExecutionEndTimeHasBeenSet() const { return m_executionEndTimeHasBeenSet; } /** *

The time the execution finished. This isn't populated if the execution is * still in progress.

*/ inline void SetExecutionEndTime(const Aws::Utils::DateTime& value) { m_executionEndTimeHasBeenSet = true; m_executionEndTime = value; } /** *

The time the execution finished. This isn't populated if the execution is * still in progress.

*/ inline void SetExecutionEndTime(Aws::Utils::DateTime&& value) { m_executionEndTimeHasBeenSet = true; m_executionEndTime = std::move(value); } /** *

The time the execution finished. This isn't populated if the execution is * still in progress.

*/ inline AutomationExecutionMetadata& WithExecutionEndTime(const Aws::Utils::DateTime& value) { SetExecutionEndTime(value); return *this;} /** *

The time the execution finished. This isn't populated if the execution is * still in progress.

*/ inline AutomationExecutionMetadata& WithExecutionEndTime(Aws::Utils::DateTime&& value) { SetExecutionEndTime(std::move(value)); return *this;} /** *

The IAM role ARN of the user who ran the automation.

*/ inline const Aws::String& GetExecutedBy() const{ return m_executedBy; } /** *

The IAM role ARN of the user who ran the automation.

*/ inline bool ExecutedByHasBeenSet() const { return m_executedByHasBeenSet; } /** *

The IAM role ARN of the user who ran the automation.

*/ inline void SetExecutedBy(const Aws::String& value) { m_executedByHasBeenSet = true; m_executedBy = value; } /** *

The IAM role ARN of the user who ran the automation.

*/ inline void SetExecutedBy(Aws::String&& value) { m_executedByHasBeenSet = true; m_executedBy = std::move(value); } /** *

The IAM role ARN of the user who ran the automation.

*/ inline void SetExecutedBy(const char* value) { m_executedByHasBeenSet = true; m_executedBy.assign(value); } /** *

The IAM role ARN of the user who ran the automation.

*/ inline AutomationExecutionMetadata& WithExecutedBy(const Aws::String& value) { SetExecutedBy(value); return *this;} /** *

The IAM role ARN of the user who ran the automation.

*/ inline AutomationExecutionMetadata& WithExecutedBy(Aws::String&& value) { SetExecutedBy(std::move(value)); return *this;} /** *

The IAM role ARN of the user who ran the automation.

*/ inline AutomationExecutionMetadata& WithExecutedBy(const char* value) { SetExecutedBy(value); return *this;} /** *

An S3 bucket where execution information is stored.

*/ inline const Aws::String& GetLogFile() const{ return m_logFile; } /** *

An S3 bucket where execution information is stored.

*/ inline bool LogFileHasBeenSet() const { return m_logFileHasBeenSet; } /** *

An S3 bucket where execution information is stored.

*/ inline void SetLogFile(const Aws::String& value) { m_logFileHasBeenSet = true; m_logFile = value; } /** *

An S3 bucket where execution information is stored.

*/ inline void SetLogFile(Aws::String&& value) { m_logFileHasBeenSet = true; m_logFile = std::move(value); } /** *

An S3 bucket where execution information is stored.

*/ inline void SetLogFile(const char* value) { m_logFileHasBeenSet = true; m_logFile.assign(value); } /** *

An S3 bucket where execution information is stored.

*/ inline AutomationExecutionMetadata& WithLogFile(const Aws::String& value) { SetLogFile(value); return *this;} /** *

An S3 bucket where execution information is stored.

*/ inline AutomationExecutionMetadata& WithLogFile(Aws::String&& value) { SetLogFile(std::move(value)); return *this;} /** *

An S3 bucket where execution information is stored.

*/ inline AutomationExecutionMetadata& WithLogFile(const char* value) { SetLogFile(value); return *this;} /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline const Aws::Map>& GetOutputs() const{ return m_outputs; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline void SetOutputs(const Aws::Map>& value) { m_outputsHasBeenSet = true; m_outputs = value; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline void SetOutputs(Aws::Map>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& WithOutputs(const Aws::Map>& value) { SetOutputs(value); return *this;} /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& WithOutputs(Aws::Map>&& value) { SetOutputs(std::move(value)); return *this;} /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& AddOutputs(const Aws::String& key, const Aws::Vector& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, value); return *this; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& AddOutputs(Aws::String&& key, const Aws::Vector& value) { m_outputsHasBeenSet = true; m_outputs.emplace(std::move(key), value); return *this; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& AddOutputs(const Aws::String& key, Aws::Vector&& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, std::move(value)); return *this; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& AddOutputs(Aws::String&& key, Aws::Vector&& value) { m_outputsHasBeenSet = true; m_outputs.emplace(std::move(key), std::move(value)); return *this; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& AddOutputs(const char* key, Aws::Vector&& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, std::move(value)); return *this; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& AddOutputs(const char* key, const Aws::Vector& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, value); return *this; } /** *

The Automation execution mode.

*/ inline const ExecutionMode& GetMode() const{ return m_mode; } /** *

The Automation execution mode.

*/ inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; } /** *

The Automation execution mode.

*/ inline void SetMode(const ExecutionMode& value) { m_modeHasBeenSet = true; m_mode = value; } /** *

The Automation execution mode.

*/ inline void SetMode(ExecutionMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); } /** *

The Automation execution mode.

*/ inline AutomationExecutionMetadata& WithMode(const ExecutionMode& value) { SetMode(value); return *this;} /** *

The Automation execution mode.

*/ inline AutomationExecutionMetadata& WithMode(ExecutionMode&& value) { SetMode(std::move(value)); return *this;} /** *

The execution ID of the parent automation.

*/ inline const Aws::String& GetParentAutomationExecutionId() const{ return m_parentAutomationExecutionId; } /** *

The execution ID of the parent automation.

*/ inline bool ParentAutomationExecutionIdHasBeenSet() const { return m_parentAutomationExecutionIdHasBeenSet; } /** *

The execution ID of the parent automation.

*/ inline void SetParentAutomationExecutionId(const Aws::String& value) { m_parentAutomationExecutionIdHasBeenSet = true; m_parentAutomationExecutionId = value; } /** *

The execution ID of the parent automation.

*/ inline void SetParentAutomationExecutionId(Aws::String&& value) { m_parentAutomationExecutionIdHasBeenSet = true; m_parentAutomationExecutionId = std::move(value); } /** *

The execution ID of the parent automation.

*/ inline void SetParentAutomationExecutionId(const char* value) { m_parentAutomationExecutionIdHasBeenSet = true; m_parentAutomationExecutionId.assign(value); } /** *

The execution ID of the parent automation.

*/ inline AutomationExecutionMetadata& WithParentAutomationExecutionId(const Aws::String& value) { SetParentAutomationExecutionId(value); return *this;} /** *

The execution ID of the parent automation.

*/ inline AutomationExecutionMetadata& WithParentAutomationExecutionId(Aws::String&& value) { SetParentAutomationExecutionId(std::move(value)); return *this;} /** *

The execution ID of the parent automation.

*/ inline AutomationExecutionMetadata& WithParentAutomationExecutionId(const char* value) { SetParentAutomationExecutionId(value); return *this;} /** *

The name of the step that is currently running.

*/ inline const Aws::String& GetCurrentStepName() const{ return m_currentStepName; } /** *

The name of the step that is currently running.

*/ inline bool CurrentStepNameHasBeenSet() const { return m_currentStepNameHasBeenSet; } /** *

The name of the step that is currently running.

*/ inline void SetCurrentStepName(const Aws::String& value) { m_currentStepNameHasBeenSet = true; m_currentStepName = value; } /** *

The name of the step that is currently running.

*/ inline void SetCurrentStepName(Aws::String&& value) { m_currentStepNameHasBeenSet = true; m_currentStepName = std::move(value); } /** *

The name of the step that is currently running.

*/ inline void SetCurrentStepName(const char* value) { m_currentStepNameHasBeenSet = true; m_currentStepName.assign(value); } /** *

The name of the step that is currently running.

*/ inline AutomationExecutionMetadata& WithCurrentStepName(const Aws::String& value) { SetCurrentStepName(value); return *this;} /** *

The name of the step that is currently running.

*/ inline AutomationExecutionMetadata& WithCurrentStepName(Aws::String&& value) { SetCurrentStepName(std::move(value)); return *this;} /** *

The name of the step that is currently running.

*/ inline AutomationExecutionMetadata& WithCurrentStepName(const char* value) { SetCurrentStepName(value); return *this;} /** *

The action of the step that is currently running.

*/ inline const Aws::String& GetCurrentAction() const{ return m_currentAction; } /** *

The action of the step that is currently running.

*/ inline bool CurrentActionHasBeenSet() const { return m_currentActionHasBeenSet; } /** *

The action of the step that is currently running.

*/ inline void SetCurrentAction(const Aws::String& value) { m_currentActionHasBeenSet = true; m_currentAction = value; } /** *

The action of the step that is currently running.

*/ inline void SetCurrentAction(Aws::String&& value) { m_currentActionHasBeenSet = true; m_currentAction = std::move(value); } /** *

The action of the step that is currently running.

*/ inline void SetCurrentAction(const char* value) { m_currentActionHasBeenSet = true; m_currentAction.assign(value); } /** *

The action of the step that is currently running.

*/ inline AutomationExecutionMetadata& WithCurrentAction(const Aws::String& value) { SetCurrentAction(value); return *this;} /** *

The action of the step that is currently running.

*/ inline AutomationExecutionMetadata& WithCurrentAction(Aws::String&& value) { SetCurrentAction(std::move(value)); return *this;} /** *

The action of the step that is currently running.

*/ inline AutomationExecutionMetadata& WithCurrentAction(const char* value) { SetCurrentAction(value); return *this;} /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;} /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;} /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;} /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline const Aws::String& GetTargetParameterName() const{ return m_targetParameterName; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline bool TargetParameterNameHasBeenSet() const { return m_targetParameterNameHasBeenSet; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline void SetTargetParameterName(const Aws::String& value) { m_targetParameterNameHasBeenSet = true; m_targetParameterName = value; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline void SetTargetParameterName(Aws::String&& value) { m_targetParameterNameHasBeenSet = true; m_targetParameterName = std::move(value); } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline void SetTargetParameterName(const char* value) { m_targetParameterNameHasBeenSet = true; m_targetParameterName.assign(value); } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& WithTargetParameterName(const Aws::String& value) { SetTargetParameterName(value); return *this;} /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& WithTargetParameterName(Aws::String&& value) { SetTargetParameterName(std::move(value)); return *this;} /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& WithTargetParameterName(const char* value) { SetTargetParameterName(value); return *this;} /** *

The targets defined by the user when starting the automation.

*/ inline const Aws::Vector& GetTargets() const{ return m_targets; } /** *

The targets defined by the user when starting the automation.

*/ inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; } /** *

The targets defined by the user when starting the automation.

*/ inline void SetTargets(const Aws::Vector& value) { m_targetsHasBeenSet = true; m_targets = value; } /** *

The targets defined by the user when starting the automation.

*/ inline void SetTargets(Aws::Vector&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); } /** *

The targets defined by the user when starting the automation.

*/ inline AutomationExecutionMetadata& WithTargets(const Aws::Vector& value) { SetTargets(value); return *this;} /** *

The targets defined by the user when starting the automation.

*/ inline AutomationExecutionMetadata& WithTargets(Aws::Vector&& value) { SetTargets(std::move(value)); return *this;} /** *

The targets defined by the user when starting the automation.

*/ inline AutomationExecutionMetadata& AddTargets(const Target& value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; } /** *

The targets defined by the user when starting the automation.

*/ inline AutomationExecutionMetadata& AddTargets(Target&& value) { m_targetsHasBeenSet = true; m_targets.push_back(std::move(value)); return *this; } /** *

The specified key-value mapping of document parameters to target * resources.

*/ inline const Aws::Vector>>& GetTargetMaps() const{ return m_targetMaps; } /** *

The specified key-value mapping of document parameters to target * resources.

*/ inline bool TargetMapsHasBeenSet() const { return m_targetMapsHasBeenSet; } /** *

The specified key-value mapping of document parameters to target * resources.

*/ inline void SetTargetMaps(const Aws::Vector>>& value) { m_targetMapsHasBeenSet = true; m_targetMaps = value; } /** *

The specified key-value mapping of document parameters to target * resources.

*/ inline void SetTargetMaps(Aws::Vector>>&& value) { m_targetMapsHasBeenSet = true; m_targetMaps = std::move(value); } /** *

The specified key-value mapping of document parameters to target * resources.

*/ inline AutomationExecutionMetadata& WithTargetMaps(const Aws::Vector>>& value) { SetTargetMaps(value); return *this;} /** *

The specified key-value mapping of document parameters to target * resources.

*/ inline AutomationExecutionMetadata& WithTargetMaps(Aws::Vector>>&& value) { SetTargetMaps(std::move(value)); return *this;} /** *

The specified key-value mapping of document parameters to target * resources.

*/ inline AutomationExecutionMetadata& AddTargetMaps(const Aws::Map>& value) { m_targetMapsHasBeenSet = true; m_targetMaps.push_back(value); return *this; } /** *

The specified key-value mapping of document parameters to target * resources.

*/ inline AutomationExecutionMetadata& AddTargetMaps(Aws::Map>&& value) { m_targetMapsHasBeenSet = true; m_targetMaps.push_back(std::move(value)); return *this; } /** *

A list of targets that resolved during the execution.

*/ inline const ResolvedTargets& GetResolvedTargets() const{ return m_resolvedTargets; } /** *

A list of targets that resolved during the execution.

*/ inline bool ResolvedTargetsHasBeenSet() const { return m_resolvedTargetsHasBeenSet; } /** *

A list of targets that resolved during the execution.

*/ inline void SetResolvedTargets(const ResolvedTargets& value) { m_resolvedTargetsHasBeenSet = true; m_resolvedTargets = value; } /** *

A list of targets that resolved during the execution.

*/ inline void SetResolvedTargets(ResolvedTargets&& value) { m_resolvedTargetsHasBeenSet = true; m_resolvedTargets = std::move(value); } /** *

A list of targets that resolved during the execution.

*/ inline AutomationExecutionMetadata& WithResolvedTargets(const ResolvedTargets& value) { SetResolvedTargets(value); return *this;} /** *

A list of targets that resolved during the execution.

*/ inline AutomationExecutionMetadata& WithResolvedTargets(ResolvedTargets&& value) { SetResolvedTargets(std::move(value)); return *this;} /** *

The MaxConcurrency value specified by the user when starting the * automation.

*/ inline const Aws::String& GetMaxConcurrency() const{ return m_maxConcurrency; } /** *

The MaxConcurrency value specified by the user when starting the * automation.

*/ inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; } /** *

The MaxConcurrency value specified by the user when starting the * automation.

*/ inline void SetMaxConcurrency(const Aws::String& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = value; } /** *

The MaxConcurrency value specified by the user when starting the * automation.

*/ inline void SetMaxConcurrency(Aws::String&& value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = std::move(value); } /** *

The MaxConcurrency value specified by the user when starting the * automation.

*/ inline void SetMaxConcurrency(const char* value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency.assign(value); } /** *

The MaxConcurrency value specified by the user when starting the * automation.

*/ inline AutomationExecutionMetadata& WithMaxConcurrency(const Aws::String& value) { SetMaxConcurrency(value); return *this;} /** *

The MaxConcurrency value specified by the user when starting the * automation.

*/ inline AutomationExecutionMetadata& WithMaxConcurrency(Aws::String&& value) { SetMaxConcurrency(std::move(value)); return *this;} /** *

The MaxConcurrency value specified by the user when starting the * automation.

*/ inline AutomationExecutionMetadata& WithMaxConcurrency(const char* value) { SetMaxConcurrency(value); return *this;} /** *

The MaxErrors value specified by the user when starting the * automation.

*/ inline const Aws::String& GetMaxErrors() const{ return m_maxErrors; } /** *

The MaxErrors value specified by the user when starting the * automation.

*/ inline bool MaxErrorsHasBeenSet() const { return m_maxErrorsHasBeenSet; } /** *

The MaxErrors value specified by the user when starting the * automation.

*/ inline void SetMaxErrors(const Aws::String& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = value; } /** *

The MaxErrors value specified by the user when starting the * automation.

*/ inline void SetMaxErrors(Aws::String&& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = std::move(value); } /** *

The MaxErrors value specified by the user when starting the * automation.

*/ inline void SetMaxErrors(const char* value) { m_maxErrorsHasBeenSet = true; m_maxErrors.assign(value); } /** *

The MaxErrors value specified by the user when starting the * automation.

*/ inline AutomationExecutionMetadata& WithMaxErrors(const Aws::String& value) { SetMaxErrors(value); return *this;} /** *

The MaxErrors value specified by the user when starting the * automation.

*/ inline AutomationExecutionMetadata& WithMaxErrors(Aws::String&& value) { SetMaxErrors(std::move(value)); return *this;} /** *

The MaxErrors value specified by the user when starting the * automation.

*/ inline AutomationExecutionMetadata& WithMaxErrors(const char* value) { SetMaxErrors(value); return *this;} /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline const Aws::String& GetTarget() const{ return m_target; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); } /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& WithTarget(const Aws::String& value) { SetTarget(value); return *this;} /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;} /** *

The list of execution outputs as defined in the Automation runbook.

*/ inline AutomationExecutionMetadata& WithTarget(const char* value) { SetTarget(value); return *this;} /** *

Use this filter with DescribeAutomationExecutions. Specify either * Local or CrossAccount. CrossAccount is an Automation that runs in multiple * Amazon Web Services Regions and Amazon Web Services accounts. For more * information, see Running * Automation workflows in multiple Amazon Web Services Regions and accounts in * the Amazon Web Services Systems Manager User Guide.

*/ inline const AutomationType& GetAutomationType() const{ return m_automationType; } /** *

Use this filter with DescribeAutomationExecutions. Specify either * Local or CrossAccount. CrossAccount is an Automation that runs in multiple * Amazon Web Services Regions and Amazon Web Services accounts. For more * information, see Running * Automation workflows in multiple Amazon Web Services Regions and accounts in * the Amazon Web Services Systems Manager User Guide.

*/ inline bool AutomationTypeHasBeenSet() const { return m_automationTypeHasBeenSet; } /** *

Use this filter with DescribeAutomationExecutions. Specify either * Local or CrossAccount. CrossAccount is an Automation that runs in multiple * Amazon Web Services Regions and Amazon Web Services accounts. For more * information, see Running * Automation workflows in multiple Amazon Web Services Regions and accounts in * the Amazon Web Services Systems Manager User Guide.

*/ inline void SetAutomationType(const AutomationType& value) { m_automationTypeHasBeenSet = true; m_automationType = value; } /** *

Use this filter with DescribeAutomationExecutions. Specify either * Local or CrossAccount. CrossAccount is an Automation that runs in multiple * Amazon Web Services Regions and Amazon Web Services accounts. For more * information, see Running * Automation workflows in multiple Amazon Web Services Regions and accounts in * the Amazon Web Services Systems Manager User Guide.

*/ inline void SetAutomationType(AutomationType&& value) { m_automationTypeHasBeenSet = true; m_automationType = std::move(value); } /** *

Use this filter with DescribeAutomationExecutions. Specify either * Local or CrossAccount. CrossAccount is an Automation that runs in multiple * Amazon Web Services Regions and Amazon Web Services accounts. For more * information, see Running * Automation workflows in multiple Amazon Web Services Regions and accounts in * the Amazon Web Services Systems Manager User Guide.

*/ inline AutomationExecutionMetadata& WithAutomationType(const AutomationType& value) { SetAutomationType(value); return *this;} /** *

Use this filter with DescribeAutomationExecutions. Specify either * Local or CrossAccount. CrossAccount is an Automation that runs in multiple * Amazon Web Services Regions and Amazon Web Services accounts. For more * information, see Running * Automation workflows in multiple Amazon Web Services Regions and accounts in * the Amazon Web Services Systems Manager User Guide.

*/ inline AutomationExecutionMetadata& WithAutomationType(AutomationType&& value) { SetAutomationType(std::move(value)); return *this;} /** *

The details for the CloudWatch alarm applied to your automation.

*/ inline const AlarmConfiguration& GetAlarmConfiguration() const{ return m_alarmConfiguration; } /** *

The details for the CloudWatch alarm applied to your automation.

*/ inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; } /** *

The details for the CloudWatch alarm applied to your automation.

*/ inline void SetAlarmConfiguration(const AlarmConfiguration& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = value; } /** *

The details for the CloudWatch alarm applied to your automation.

*/ inline void SetAlarmConfiguration(AlarmConfiguration&& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = std::move(value); } /** *

The details for the CloudWatch alarm applied to your automation.

*/ inline AutomationExecutionMetadata& WithAlarmConfiguration(const AlarmConfiguration& value) { SetAlarmConfiguration(value); return *this;} /** *

The details for the CloudWatch alarm applied to your automation.

*/ inline AutomationExecutionMetadata& WithAlarmConfiguration(AlarmConfiguration&& value) { SetAlarmConfiguration(std::move(value)); return *this;} /** *

The CloudWatch alarm that was invoked by the automation.

*/ inline const Aws::Vector& GetTriggeredAlarms() const{ return m_triggeredAlarms; } /** *

The CloudWatch alarm that was invoked by the automation.

*/ inline bool TriggeredAlarmsHasBeenSet() const { return m_triggeredAlarmsHasBeenSet; } /** *

The CloudWatch alarm that was invoked by the automation.

*/ inline void SetTriggeredAlarms(const Aws::Vector& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms = value; } /** *

The CloudWatch alarm that was invoked by the automation.

*/ inline void SetTriggeredAlarms(Aws::Vector&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms = std::move(value); } /** *

The CloudWatch alarm that was invoked by the automation.

*/ inline AutomationExecutionMetadata& WithTriggeredAlarms(const Aws::Vector& value) { SetTriggeredAlarms(value); return *this;} /** *

The CloudWatch alarm that was invoked by the automation.

*/ inline AutomationExecutionMetadata& WithTriggeredAlarms(Aws::Vector&& value) { SetTriggeredAlarms(std::move(value)); return *this;} /** *

The CloudWatch alarm that was invoked by the automation.

*/ inline AutomationExecutionMetadata& AddTriggeredAlarms(const AlarmStateInformation& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms.push_back(value); return *this; } /** *

The CloudWatch alarm that was invoked by the automation.

*/ inline AutomationExecutionMetadata& AddTriggeredAlarms(AlarmStateInformation&& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms.push_back(std::move(value)); return *this; } /** *

The subtype of the Automation operation. Currently, the only supported value * is ChangeRequest.

*/ inline const AutomationSubtype& GetAutomationSubtype() const{ return m_automationSubtype; } /** *

The subtype of the Automation operation. Currently, the only supported value * is ChangeRequest.

*/ inline bool AutomationSubtypeHasBeenSet() const { return m_automationSubtypeHasBeenSet; } /** *

The subtype of the Automation operation. Currently, the only supported value * is ChangeRequest.

*/ inline void SetAutomationSubtype(const AutomationSubtype& value) { m_automationSubtypeHasBeenSet = true; m_automationSubtype = value; } /** *

The subtype of the Automation operation. Currently, the only supported value * is ChangeRequest.

*/ inline void SetAutomationSubtype(AutomationSubtype&& value) { m_automationSubtypeHasBeenSet = true; m_automationSubtype = std::move(value); } /** *

The subtype of the Automation operation. Currently, the only supported value * is ChangeRequest.

*/ inline AutomationExecutionMetadata& WithAutomationSubtype(const AutomationSubtype& value) { SetAutomationSubtype(value); return *this;} /** *

The subtype of the Automation operation. Currently, the only supported value * is ChangeRequest.

*/ inline AutomationExecutionMetadata& WithAutomationSubtype(AutomationSubtype&& value) { SetAutomationSubtype(std::move(value)); return *this;} /** *

The date and time the Automation operation is scheduled to start.

*/ inline const Aws::Utils::DateTime& GetScheduledTime() const{ return m_scheduledTime; } /** *

The date and time the Automation operation is scheduled to start.

*/ inline bool ScheduledTimeHasBeenSet() const { return m_scheduledTimeHasBeenSet; } /** *

The date and time the Automation operation is scheduled to start.

*/ inline void SetScheduledTime(const Aws::Utils::DateTime& value) { m_scheduledTimeHasBeenSet = true; m_scheduledTime = value; } /** *

The date and time the Automation operation is scheduled to start.

*/ inline void SetScheduledTime(Aws::Utils::DateTime&& value) { m_scheduledTimeHasBeenSet = true; m_scheduledTime = std::move(value); } /** *

The date and time the Automation operation is scheduled to start.

*/ inline AutomationExecutionMetadata& WithScheduledTime(const Aws::Utils::DateTime& value) { SetScheduledTime(value); return *this;} /** *

The date and time the Automation operation is scheduled to start.

*/ inline AutomationExecutionMetadata& WithScheduledTime(Aws::Utils::DateTime&& value) { SetScheduledTime(std::move(value)); return *this;} /** *

Information about the Automation runbooks that are run during a runbook * workflow in Change Manager.

The Automation runbooks specified for * the runbook workflow can't run until all required approvals for the change * request have been received.

*/ inline const Aws::Vector& GetRunbooks() const{ return m_runbooks; } /** *

Information about the Automation runbooks that are run during a runbook * workflow in Change Manager.

The Automation runbooks specified for * the runbook workflow can't run until all required approvals for the change * request have been received.

*/ inline bool RunbooksHasBeenSet() const { return m_runbooksHasBeenSet; } /** *

Information about the Automation runbooks that are run during a runbook * workflow in Change Manager.

The Automation runbooks specified for * the runbook workflow can't run until all required approvals for the change * request have been received.

*/ inline void SetRunbooks(const Aws::Vector& value) { m_runbooksHasBeenSet = true; m_runbooks = value; } /** *

Information about the Automation runbooks that are run during a runbook * workflow in Change Manager.

The Automation runbooks specified for * the runbook workflow can't run until all required approvals for the change * request have been received.

*/ inline void SetRunbooks(Aws::Vector&& value) { m_runbooksHasBeenSet = true; m_runbooks = std::move(value); } /** *

Information about the Automation runbooks that are run during a runbook * workflow in Change Manager.

The Automation runbooks specified for * the runbook workflow can't run until all required approvals for the change * request have been received.

*/ inline AutomationExecutionMetadata& WithRunbooks(const Aws::Vector& value) { SetRunbooks(value); return *this;} /** *

Information about the Automation runbooks that are run during a runbook * workflow in Change Manager.

The Automation runbooks specified for * the runbook workflow can't run until all required approvals for the change * request have been received.

*/ inline AutomationExecutionMetadata& WithRunbooks(Aws::Vector&& value) { SetRunbooks(std::move(value)); return *this;} /** *

Information about the Automation runbooks that are run during a runbook * workflow in Change Manager.

The Automation runbooks specified for * the runbook workflow can't run until all required approvals for the change * request have been received.

*/ inline AutomationExecutionMetadata& AddRunbooks(const Runbook& value) { m_runbooksHasBeenSet = true; m_runbooks.push_back(value); return *this; } /** *

Information about the Automation runbooks that are run during a runbook * workflow in Change Manager.

The Automation runbooks specified for * the runbook workflow can't run until all required approvals for the change * request have been received.

*/ inline AutomationExecutionMetadata& AddRunbooks(Runbook&& value) { m_runbooksHasBeenSet = true; m_runbooks.push_back(std::move(value)); return *this; } /** *

The ID of an OpsItem that is created to represent a Change Manager change * request.

*/ inline const Aws::String& GetOpsItemId() const{ return m_opsItemId; } /** *

The ID of an OpsItem that is created to represent a Change Manager change * request.

*/ inline bool OpsItemIdHasBeenSet() const { return m_opsItemIdHasBeenSet; } /** *

The ID of an OpsItem that is created to represent a Change Manager change * request.

*/ inline void SetOpsItemId(const Aws::String& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = value; } /** *

The ID of an OpsItem that is created to represent a Change Manager change * request.

*/ inline void SetOpsItemId(Aws::String&& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = std::move(value); } /** *

The ID of an OpsItem that is created to represent a Change Manager change * request.

*/ inline void SetOpsItemId(const char* value) { m_opsItemIdHasBeenSet = true; m_opsItemId.assign(value); } /** *

The ID of an OpsItem that is created to represent a Change Manager change * request.

*/ inline AutomationExecutionMetadata& WithOpsItemId(const Aws::String& value) { SetOpsItemId(value); return *this;} /** *

The ID of an OpsItem that is created to represent a Change Manager change * request.

*/ inline AutomationExecutionMetadata& WithOpsItemId(Aws::String&& value) { SetOpsItemId(std::move(value)); return *this;} /** *

The ID of an OpsItem that is created to represent a Change Manager change * request.

*/ inline AutomationExecutionMetadata& WithOpsItemId(const char* value) { SetOpsItemId(value); return *this;} /** *

The ID of a State Manager association used in the Automation operation.

*/ inline const Aws::String& GetAssociationId() const{ return m_associationId; } /** *

The ID of a State Manager association used in the Automation operation.

*/ inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; } /** *

The ID of a State Manager association used in the Automation operation.

*/ inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; } /** *

The ID of a State Manager association used in the Automation operation.

*/ inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); } /** *

The ID of a State Manager association used in the Automation operation.

*/ inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); } /** *

The ID of a State Manager association used in the Automation operation.

*/ inline AutomationExecutionMetadata& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;} /** *

The ID of a State Manager association used in the Automation operation.

*/ inline AutomationExecutionMetadata& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;} /** *

The ID of a State Manager association used in the Automation operation.

*/ inline AutomationExecutionMetadata& WithAssociationId(const char* value) { SetAssociationId(value); return *this;} /** *

The name of the Change Manager change request.

*/ inline const Aws::String& GetChangeRequestName() const{ return m_changeRequestName; } /** *

The name of the Change Manager change request.

*/ inline bool ChangeRequestNameHasBeenSet() const { return m_changeRequestNameHasBeenSet; } /** *

The name of the Change Manager change request.

*/ inline void SetChangeRequestName(const Aws::String& value) { m_changeRequestNameHasBeenSet = true; m_changeRequestName = value; } /** *

The name of the Change Manager change request.

*/ inline void SetChangeRequestName(Aws::String&& value) { m_changeRequestNameHasBeenSet = true; m_changeRequestName = std::move(value); } /** *

The name of the Change Manager change request.

*/ inline void SetChangeRequestName(const char* value) { m_changeRequestNameHasBeenSet = true; m_changeRequestName.assign(value); } /** *

The name of the Change Manager change request.

*/ inline AutomationExecutionMetadata& WithChangeRequestName(const Aws::String& value) { SetChangeRequestName(value); return *this;} /** *

The name of the Change Manager change request.

*/ inline AutomationExecutionMetadata& WithChangeRequestName(Aws::String&& value) { SetChangeRequestName(std::move(value)); return *this;} /** *

The name of the Change Manager change request.

*/ inline AutomationExecutionMetadata& WithChangeRequestName(const char* value) { SetChangeRequestName(value); return *this;} private: Aws::String m_automationExecutionId; bool m_automationExecutionIdHasBeenSet = false; Aws::String m_documentName; bool m_documentNameHasBeenSet = false; Aws::String m_documentVersion; bool m_documentVersionHasBeenSet = false; AutomationExecutionStatus m_automationExecutionStatus; bool m_automationExecutionStatusHasBeenSet = false; Aws::Utils::DateTime m_executionStartTime; bool m_executionStartTimeHasBeenSet = false; Aws::Utils::DateTime m_executionEndTime; bool m_executionEndTimeHasBeenSet = false; Aws::String m_executedBy; bool m_executedByHasBeenSet = false; Aws::String m_logFile; bool m_logFileHasBeenSet = false; Aws::Map> m_outputs; bool m_outputsHasBeenSet = false; ExecutionMode m_mode; bool m_modeHasBeenSet = false; Aws::String m_parentAutomationExecutionId; bool m_parentAutomationExecutionIdHasBeenSet = false; Aws::String m_currentStepName; bool m_currentStepNameHasBeenSet = false; Aws::String m_currentAction; bool m_currentActionHasBeenSet = false; Aws::String m_failureMessage; bool m_failureMessageHasBeenSet = false; Aws::String m_targetParameterName; bool m_targetParameterNameHasBeenSet = false; Aws::Vector m_targets; bool m_targetsHasBeenSet = false; Aws::Vector>> m_targetMaps; bool m_targetMapsHasBeenSet = false; ResolvedTargets m_resolvedTargets; bool m_resolvedTargetsHasBeenSet = false; Aws::String m_maxConcurrency; bool m_maxConcurrencyHasBeenSet = false; Aws::String m_maxErrors; bool m_maxErrorsHasBeenSet = false; Aws::String m_target; bool m_targetHasBeenSet = false; AutomationType m_automationType; bool m_automationTypeHasBeenSet = false; AlarmConfiguration m_alarmConfiguration; bool m_alarmConfigurationHasBeenSet = false; Aws::Vector m_triggeredAlarms; bool m_triggeredAlarmsHasBeenSet = false; AutomationSubtype m_automationSubtype; bool m_automationSubtypeHasBeenSet = false; Aws::Utils::DateTime m_scheduledTime; bool m_scheduledTimeHasBeenSet = false; Aws::Vector m_runbooks; bool m_runbooksHasBeenSet = false; Aws::String m_opsItemId; bool m_opsItemIdHasBeenSet = false; Aws::String m_associationId; bool m_associationIdHasBeenSet = false; Aws::String m_changeRequestName; bool m_changeRequestNameHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws