/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Detailed information about the current state of an individual Automation
* execution.See Also:
AWS
* API Reference
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 AutomationExecution& WithAutomationExecutionId(const Aws::String& value) { SetAutomationExecutionId(value); return *this;} /** *The execution ID.
*/ inline AutomationExecution& WithAutomationExecutionId(Aws::String&& value) { SetAutomationExecutionId(std::move(value)); return *this;} /** *The execution ID.
*/ inline AutomationExecution& WithAutomationExecutionId(const char* value) { SetAutomationExecutionId(value); return *this;} /** *The name of the Automation runbook used during the execution.
*/ inline const Aws::String& GetDocumentName() const{ return m_documentName; } /** *The name of the Automation runbook used during the execution.
*/ inline bool DocumentNameHasBeenSet() const { return m_documentNameHasBeenSet; } /** *The name of the Automation runbook used during the execution.
*/ inline void SetDocumentName(const Aws::String& value) { m_documentNameHasBeenSet = true; m_documentName = value; } /** *The name of the Automation runbook used during the execution.
*/ inline void SetDocumentName(Aws::String&& value) { m_documentNameHasBeenSet = true; m_documentName = std::move(value); } /** *The name of the Automation runbook used during the execution.
*/ inline void SetDocumentName(const char* value) { m_documentNameHasBeenSet = true; m_documentName.assign(value); } /** *The name of the Automation runbook used during the execution.
*/ inline AutomationExecution& WithDocumentName(const Aws::String& value) { SetDocumentName(value); return *this;} /** *The name of the Automation runbook used during the execution.
*/ inline AutomationExecution& WithDocumentName(Aws::String&& value) { SetDocumentName(std::move(value)); return *this;} /** *The name of the Automation runbook used during the execution.
*/ inline AutomationExecution& WithDocumentName(const char* value) { SetDocumentName(value); return *this;} /** *The version of the document to use during execution.
*/ inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; } /** *The version of the document to use during execution.
*/ inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; } /** *The version of the document to use during execution.
*/ inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; } /** *The version of the document to use during execution.
*/ inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); } /** *The version of the document to use during execution.
*/ inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); } /** *The version of the document to use during execution.
*/ inline AutomationExecution& WithDocumentVersion(const Aws::String& value) { SetDocumentVersion(value); return *this;} /** *The version of the document to use during execution.
*/ inline AutomationExecution& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;} /** *The version of the document to use during execution.
*/ inline AutomationExecution& WithDocumentVersion(const char* value) { SetDocumentVersion(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 AutomationExecution& WithExecutionStartTime(const Aws::Utils::DateTime& value) { SetExecutionStartTime(value); return *this;} /** *The time the execution started.
*/ inline AutomationExecution& WithExecutionStartTime(Aws::Utils::DateTime&& value) { SetExecutionStartTime(std::move(value)); return *this;} /** *The time the execution finished.
*/ inline const Aws::Utils::DateTime& GetExecutionEndTime() const{ return m_executionEndTime; } /** *The time the execution finished.
*/ inline bool ExecutionEndTimeHasBeenSet() const { return m_executionEndTimeHasBeenSet; } /** *The time the execution finished.
*/ inline void SetExecutionEndTime(const Aws::Utils::DateTime& value) { m_executionEndTimeHasBeenSet = true; m_executionEndTime = value; } /** *The time the execution finished.
*/ inline void SetExecutionEndTime(Aws::Utils::DateTime&& value) { m_executionEndTimeHasBeenSet = true; m_executionEndTime = std::move(value); } /** *The time the execution finished.
*/ inline AutomationExecution& WithExecutionEndTime(const Aws::Utils::DateTime& value) { SetExecutionEndTime(value); return *this;} /** *The time the execution finished.
*/ inline AutomationExecution& WithExecutionEndTime(Aws::Utils::DateTime&& value) { SetExecutionEndTime(std::move(value)); return *this;} /** *The execution status of the Automation.
*/ inline const AutomationExecutionStatus& GetAutomationExecutionStatus() const{ return m_automationExecutionStatus; } /** *The execution status of the Automation.
*/ inline bool AutomationExecutionStatusHasBeenSet() const { return m_automationExecutionStatusHasBeenSet; } /** *The execution status of the Automation.
*/ inline void SetAutomationExecutionStatus(const AutomationExecutionStatus& value) { m_automationExecutionStatusHasBeenSet = true; m_automationExecutionStatus = value; } /** *The execution status of the Automation.
*/ inline void SetAutomationExecutionStatus(AutomationExecutionStatus&& value) { m_automationExecutionStatusHasBeenSet = true; m_automationExecutionStatus = std::move(value); } /** *The execution status of the Automation.
*/ inline AutomationExecution& WithAutomationExecutionStatus(const AutomationExecutionStatus& value) { SetAutomationExecutionStatus(value); return *this;} /** *The execution status of the Automation.
*/ inline AutomationExecution& WithAutomationExecutionStatus(AutomationExecutionStatus&& value) { SetAutomationExecutionStatus(std::move(value)); return *this;} /** *A list of details about the current state of all steps that comprise an * execution. An Automation runbook contains a list of steps that are run in * order.
*/ inline const Aws::VectorA list of details about the current state of all steps that comprise an * execution. An Automation runbook contains a list of steps that are run in * order.
*/ inline bool StepExecutionsHasBeenSet() const { return m_stepExecutionsHasBeenSet; } /** *A list of details about the current state of all steps that comprise an * execution. An Automation runbook contains a list of steps that are run in * order.
*/ inline void SetStepExecutions(const Aws::VectorA list of details about the current state of all steps that comprise an * execution. An Automation runbook contains a list of steps that are run in * order.
*/ inline void SetStepExecutions(Aws::VectorA list of details about the current state of all steps that comprise an * execution. An Automation runbook contains a list of steps that are run in * order.
*/ inline AutomationExecution& WithStepExecutions(const Aws::VectorA list of details about the current state of all steps that comprise an * execution. An Automation runbook contains a list of steps that are run in * order.
*/ inline AutomationExecution& WithStepExecutions(Aws::VectorA list of details about the current state of all steps that comprise an * execution. An Automation runbook contains a list of steps that are run in * order.
*/ inline AutomationExecution& AddStepExecutions(const StepExecution& value) { m_stepExecutionsHasBeenSet = true; m_stepExecutions.push_back(value); return *this; } /** *A list of details about the current state of all steps that comprise an * execution. An Automation runbook contains a list of steps that are run in * order.
*/ inline AutomationExecution& AddStepExecutions(StepExecution&& value) { m_stepExecutionsHasBeenSet = true; m_stepExecutions.push_back(std::move(value)); return *this; } /** *A boolean value that indicates if the response contains the full list of the * Automation step executions. If true, use the DescribeAutomationStepExecutions * API operation to get the full list of step executions.
*/ inline bool GetStepExecutionsTruncated() const{ return m_stepExecutionsTruncated; } /** *A boolean value that indicates if the response contains the full list of the * Automation step executions. If true, use the DescribeAutomationStepExecutions * API operation to get the full list of step executions.
*/ inline bool StepExecutionsTruncatedHasBeenSet() const { return m_stepExecutionsTruncatedHasBeenSet; } /** *A boolean value that indicates if the response contains the full list of the * Automation step executions. If true, use the DescribeAutomationStepExecutions * API operation to get the full list of step executions.
*/ inline void SetStepExecutionsTruncated(bool value) { m_stepExecutionsTruncatedHasBeenSet = true; m_stepExecutionsTruncated = value; } /** *A boolean value that indicates if the response contains the full list of the * Automation step executions. If true, use the DescribeAutomationStepExecutions * API operation to get the full list of step executions.
*/ inline AutomationExecution& WithStepExecutionsTruncated(bool value) { SetStepExecutionsTruncated(value); return *this;} /** *The key-value map of execution parameters, which were supplied when calling * StartAutomationExecution.
*/ inline const Aws::MapThe key-value map of execution parameters, which were supplied when calling * StartAutomationExecution.
*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *The key-value map of execution parameters, which were supplied when calling * StartAutomationExecution.
*/ inline void SetParameters(const Aws::MapThe key-value map of execution parameters, which were supplied when calling * StartAutomationExecution.
*/ inline void SetParameters(Aws::MapThe key-value map of execution parameters, which were supplied when calling * StartAutomationExecution.
*/ inline AutomationExecution& WithParameters(const Aws::MapThe key-value map of execution parameters, which were supplied when calling * StartAutomationExecution.
*/ inline AutomationExecution& WithParameters(Aws::MapThe key-value map of execution parameters, which were supplied when calling * StartAutomationExecution.
*/ inline AutomationExecution& AddParameters(const Aws::String& key, const Aws::VectorThe key-value map of execution parameters, which were supplied when calling * StartAutomationExecution.
*/ inline AutomationExecution& AddParameters(Aws::String&& key, const Aws::VectorThe key-value map of execution parameters, which were supplied when calling * StartAutomationExecution.
*/ inline AutomationExecution& AddParameters(const Aws::String& key, Aws::VectorThe key-value map of execution parameters, which were supplied when calling * StartAutomationExecution.
*/ inline AutomationExecution& AddParameters(Aws::String&& key, Aws::VectorThe key-value map of execution parameters, which were supplied when calling * StartAutomationExecution.
*/ inline AutomationExecution& AddParameters(const char* key, Aws::VectorThe key-value map of execution parameters, which were supplied when calling * StartAutomationExecution.
*/ inline AutomationExecution& AddParameters(const char* key, const Aws::VectorThe list of execution outputs as defined in the Automation runbook.
*/ inline const Aws::MapThe 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::MapThe list of execution outputs as defined in the Automation runbook.
*/ inline void SetOutputs(Aws::MapThe list of execution outputs as defined in the Automation runbook.
*/ inline AutomationExecution& WithOutputs(const Aws::MapThe list of execution outputs as defined in the Automation runbook.
*/ inline AutomationExecution& WithOutputs(Aws::MapThe list of execution outputs as defined in the Automation runbook.
*/ inline AutomationExecution& AddOutputs(const Aws::String& key, const Aws::VectorThe list of execution outputs as defined in the Automation runbook.
*/ inline AutomationExecution& AddOutputs(Aws::String&& key, const Aws::VectorThe list of execution outputs as defined in the Automation runbook.
*/ inline AutomationExecution& AddOutputs(const Aws::String& key, Aws::VectorThe list of execution outputs as defined in the Automation runbook.
*/ inline AutomationExecution& AddOutputs(Aws::String&& key, Aws::VectorThe list of execution outputs as defined in the Automation runbook.
*/ inline AutomationExecution& AddOutputs(const char* key, Aws::VectorThe list of execution outputs as defined in the Automation runbook.
*/ inline AutomationExecution& AddOutputs(const char* key, const Aws::VectorA message describing why an execution has failed, if the status is set to * Failed.
*/ inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; } /** *A message describing why an execution has failed, if the status is set to * Failed.
*/ inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; } /** *A message describing why an execution has failed, if the status is set to * Failed.
*/ inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; } /** *A message describing why an execution has failed, if the status is set to * Failed.
*/ inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); } /** *A message describing why an execution has failed, if the status is set to * Failed.
*/ inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); } /** *A message describing why an execution has failed, if the status is set to * Failed.
*/ inline AutomationExecution& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;} /** *A message describing why an execution has failed, if the status is set to * Failed.
*/ inline AutomationExecution& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;} /** *A message describing why an execution has failed, if the status is set to * Failed.
*/ inline AutomationExecution& WithFailureMessage(const char* value) { SetFailureMessage(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 AutomationExecution& WithMode(const ExecutionMode& value) { SetMode(value); return *this;} /** *The automation execution mode.
*/ inline AutomationExecution& WithMode(ExecutionMode&& value) { SetMode(std::move(value)); return *this;} /** *The AutomationExecutionId of the parent automation.
*/ inline const Aws::String& GetParentAutomationExecutionId() const{ return m_parentAutomationExecutionId; } /** *The AutomationExecutionId of the parent automation.
*/ inline bool ParentAutomationExecutionIdHasBeenSet() const { return m_parentAutomationExecutionIdHasBeenSet; } /** *The AutomationExecutionId of the parent automation.
*/ inline void SetParentAutomationExecutionId(const Aws::String& value) { m_parentAutomationExecutionIdHasBeenSet = true; m_parentAutomationExecutionId = value; } /** *The AutomationExecutionId of the parent automation.
*/ inline void SetParentAutomationExecutionId(Aws::String&& value) { m_parentAutomationExecutionIdHasBeenSet = true; m_parentAutomationExecutionId = std::move(value); } /** *The AutomationExecutionId of the parent automation.
*/ inline void SetParentAutomationExecutionId(const char* value) { m_parentAutomationExecutionIdHasBeenSet = true; m_parentAutomationExecutionId.assign(value); } /** *The AutomationExecutionId of the parent automation.
*/ inline AutomationExecution& WithParentAutomationExecutionId(const Aws::String& value) { SetParentAutomationExecutionId(value); return *this;} /** *The AutomationExecutionId of the parent automation.
*/ inline AutomationExecution& WithParentAutomationExecutionId(Aws::String&& value) { SetParentAutomationExecutionId(std::move(value)); return *this;} /** *The AutomationExecutionId of the parent automation.
*/ inline AutomationExecution& WithParentAutomationExecutionId(const char* value) { SetParentAutomationExecutionId(value); return *this;} /** *The Amazon Resource Name (ARN) of the user who ran the automation.
*/ inline const Aws::String& GetExecutedBy() const{ return m_executedBy; } /** *The Amazon Resource Name (ARN) of the user who ran the automation.
*/ inline bool ExecutedByHasBeenSet() const { return m_executedByHasBeenSet; } /** *The Amazon Resource Name (ARN) of the user who ran the automation.
*/ inline void SetExecutedBy(const Aws::String& value) { m_executedByHasBeenSet = true; m_executedBy = value; } /** *The Amazon Resource Name (ARN) of the user who ran the automation.
*/ inline void SetExecutedBy(Aws::String&& value) { m_executedByHasBeenSet = true; m_executedBy = std::move(value); } /** *The Amazon Resource Name (ARN) of the user who ran the automation.
*/ inline void SetExecutedBy(const char* value) { m_executedByHasBeenSet = true; m_executedBy.assign(value); } /** *The Amazon Resource Name (ARN) of the user who ran the automation.
*/ inline AutomationExecution& WithExecutedBy(const Aws::String& value) { SetExecutedBy(value); return *this;} /** *The Amazon Resource Name (ARN) of the user who ran the automation.
*/ inline AutomationExecution& WithExecutedBy(Aws::String&& value) { SetExecutedBy(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the user who ran the automation.
*/ inline AutomationExecution& WithExecutedBy(const char* value) { SetExecutedBy(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 AutomationExecution& WithCurrentStepName(const Aws::String& value) { SetCurrentStepName(value); return *this;} /** *The name of the step that is currently running.
*/ inline AutomationExecution& WithCurrentStepName(Aws::String&& value) { SetCurrentStepName(std::move(value)); return *this;} /** *The name of the step that is currently running.
*/ inline AutomationExecution& 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 AutomationExecution& WithCurrentAction(const Aws::String& value) { SetCurrentAction(value); return *this;} /** *The action of the step that is currently running.
*/ inline AutomationExecution& WithCurrentAction(Aws::String&& value) { SetCurrentAction(std::move(value)); return *this;} /** *The action of the step that is currently running.
*/ inline AutomationExecution& WithCurrentAction(const char* value) { SetCurrentAction(value); return *this;} /** *The parameter name.
*/ inline const Aws::String& GetTargetParameterName() const{ return m_targetParameterName; } /** *The parameter name.
*/ inline bool TargetParameterNameHasBeenSet() const { return m_targetParameterNameHasBeenSet; } /** *The parameter name.
*/ inline void SetTargetParameterName(const Aws::String& value) { m_targetParameterNameHasBeenSet = true; m_targetParameterName = value; } /** *The parameter name.
*/ inline void SetTargetParameterName(Aws::String&& value) { m_targetParameterNameHasBeenSet = true; m_targetParameterName = std::move(value); } /** *The parameter name.
*/ inline void SetTargetParameterName(const char* value) { m_targetParameterNameHasBeenSet = true; m_targetParameterName.assign(value); } /** *The parameter name.
*/ inline AutomationExecution& WithTargetParameterName(const Aws::String& value) { SetTargetParameterName(value); return *this;} /** *The parameter name.
*/ inline AutomationExecution& WithTargetParameterName(Aws::String&& value) { SetTargetParameterName(std::move(value)); return *this;} /** *The parameter name.
*/ inline AutomationExecution& WithTargetParameterName(const char* value) { SetTargetParameterName(value); return *this;} /** *The specified targets.
*/ inline const Aws::VectorThe specified targets.
*/ inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; } /** *The specified targets.
*/ inline void SetTargets(const Aws::VectorThe specified targets.
*/ inline void SetTargets(Aws::VectorThe specified targets.
*/ inline AutomationExecution& WithTargets(const Aws::VectorThe specified targets.
*/ inline AutomationExecution& WithTargets(Aws::VectorThe specified targets.
*/ inline AutomationExecution& AddTargets(const Target& value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; } /** *The specified targets.
*/ inline AutomationExecution& 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::VectorThe 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::VectorThe specified key-value mapping of document parameters to target * resources.
*/ inline void SetTargetMaps(Aws::VectorThe specified key-value mapping of document parameters to target * resources.
*/ inline AutomationExecution& WithTargetMaps(const Aws::VectorThe specified key-value mapping of document parameters to target * resources.
*/ inline AutomationExecution& WithTargetMaps(Aws::VectorThe specified key-value mapping of document parameters to target * resources.
*/ inline AutomationExecution& AddTargetMaps(const Aws::MapThe specified key-value mapping of document parameters to target * resources.
*/ inline AutomationExecution& AddTargetMaps(Aws::MapA list of resolved targets in the rate control execution.
*/ inline const ResolvedTargets& GetResolvedTargets() const{ return m_resolvedTargets; } /** *A list of resolved targets in the rate control execution.
*/ inline bool ResolvedTargetsHasBeenSet() const { return m_resolvedTargetsHasBeenSet; } /** *A list of resolved targets in the rate control execution.
*/ inline void SetResolvedTargets(const ResolvedTargets& value) { m_resolvedTargetsHasBeenSet = true; m_resolvedTargets = value; } /** *A list of resolved targets in the rate control execution.
*/ inline void SetResolvedTargets(ResolvedTargets&& value) { m_resolvedTargetsHasBeenSet = true; m_resolvedTargets = std::move(value); } /** *A list of resolved targets in the rate control execution.
*/ inline AutomationExecution& WithResolvedTargets(const ResolvedTargets& value) { SetResolvedTargets(value); return *this;} /** *A list of resolved targets in the rate control execution.
*/ inline AutomationExecution& WithResolvedTargets(ResolvedTargets&& value) { SetResolvedTargets(std::move(value)); return *this;} /** *The MaxConcurrency
value specified by the user when the
* execution started.
The MaxConcurrency
value specified by the user when the
* execution started.
The MaxConcurrency
value specified by the user when the
* execution started.
The MaxConcurrency
value specified by the user when the
* execution started.
The MaxConcurrency
value specified by the user when the
* execution started.
The MaxConcurrency
value specified by the user when the
* execution started.
The MaxConcurrency
value specified by the user when the
* execution started.
The MaxConcurrency
value specified by the user when the
* execution started.
The MaxErrors value specified by the user when the execution started.
*/ inline const Aws::String& GetMaxErrors() const{ return m_maxErrors; } /** *The MaxErrors value specified by the user when the execution started.
*/ inline bool MaxErrorsHasBeenSet() const { return m_maxErrorsHasBeenSet; } /** *The MaxErrors value specified by the user when the execution started.
*/ inline void SetMaxErrors(const Aws::String& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = value; } /** *The MaxErrors value specified by the user when the execution started.
*/ inline void SetMaxErrors(Aws::String&& value) { m_maxErrorsHasBeenSet = true; m_maxErrors = std::move(value); } /** *The MaxErrors value specified by the user when the execution started.
*/ inline void SetMaxErrors(const char* value) { m_maxErrorsHasBeenSet = true; m_maxErrors.assign(value); } /** *The MaxErrors value specified by the user when the execution started.
*/ inline AutomationExecution& WithMaxErrors(const Aws::String& value) { SetMaxErrors(value); return *this;} /** *The MaxErrors value specified by the user when the execution started.
*/ inline AutomationExecution& WithMaxErrors(Aws::String&& value) { SetMaxErrors(std::move(value)); return *this;} /** *The MaxErrors value specified by the user when the execution started.
*/ inline AutomationExecution& WithMaxErrors(const char* value) { SetMaxErrors(value); return *this;} /** *The target of the execution.
*/ inline const Aws::String& GetTarget() const{ return m_target; } /** *The target of the execution.
*/ inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; } /** *The target of the execution.
*/ inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; } /** *The target of the execution.
*/ inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); } /** *The target of the execution.
*/ inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); } /** *The target of the execution.
*/ inline AutomationExecution& WithTarget(const Aws::String& value) { SetTarget(value); return *this;} /** *The target of the execution.
*/ inline AutomationExecution& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;} /** *The target of the execution.
*/ inline AutomationExecution& WithTarget(const char* value) { SetTarget(value); return *this;} /** *The combination of Amazon Web Services Regions and/or Amazon Web Services * accounts where you want to run the Automation.
*/ inline const Aws::VectorThe combination of Amazon Web Services Regions and/or Amazon Web Services * accounts where you want to run the Automation.
*/ inline bool TargetLocationsHasBeenSet() const { return m_targetLocationsHasBeenSet; } /** *The combination of Amazon Web Services Regions and/or Amazon Web Services * accounts where you want to run the Automation.
*/ inline void SetTargetLocations(const Aws::VectorThe combination of Amazon Web Services Regions and/or Amazon Web Services * accounts where you want to run the Automation.
*/ inline void SetTargetLocations(Aws::VectorThe combination of Amazon Web Services Regions and/or Amazon Web Services * accounts where you want to run the Automation.
*/ inline AutomationExecution& WithTargetLocations(const Aws::VectorThe combination of Amazon Web Services Regions and/or Amazon Web Services * accounts where you want to run the Automation.
*/ inline AutomationExecution& WithTargetLocations(Aws::VectorThe combination of Amazon Web Services Regions and/or Amazon Web Services * accounts where you want to run the Automation.
*/ inline AutomationExecution& AddTargetLocations(const TargetLocation& value) { m_targetLocationsHasBeenSet = true; m_targetLocations.push_back(value); return *this; } /** *The combination of Amazon Web Services Regions and/or Amazon Web Services * accounts where you want to run the Automation.
*/ inline AutomationExecution& AddTargetLocations(TargetLocation&& value) { m_targetLocationsHasBeenSet = true; m_targetLocations.push_back(std::move(value)); return *this; } /** *An aggregate of step execution statuses displayed in the Amazon Web Services * Systems Manager console for a multi-Region and multi-account Automation * execution.
*/ inline const ProgressCounters& GetProgressCounters() const{ return m_progressCounters; } /** *An aggregate of step execution statuses displayed in the Amazon Web Services * Systems Manager console for a multi-Region and multi-account Automation * execution.
*/ inline bool ProgressCountersHasBeenSet() const { return m_progressCountersHasBeenSet; } /** *An aggregate of step execution statuses displayed in the Amazon Web Services * Systems Manager console for a multi-Region and multi-account Automation * execution.
*/ inline void SetProgressCounters(const ProgressCounters& value) { m_progressCountersHasBeenSet = true; m_progressCounters = value; } /** *An aggregate of step execution statuses displayed in the Amazon Web Services * Systems Manager console for a multi-Region and multi-account Automation * execution.
*/ inline void SetProgressCounters(ProgressCounters&& value) { m_progressCountersHasBeenSet = true; m_progressCounters = std::move(value); } /** *An aggregate of step execution statuses displayed in the Amazon Web Services * Systems Manager console for a multi-Region and multi-account Automation * execution.
*/ inline AutomationExecution& WithProgressCounters(const ProgressCounters& value) { SetProgressCounters(value); return *this;} /** *An aggregate of step execution statuses displayed in the Amazon Web Services * Systems Manager console for a multi-Region and multi-account Automation * execution.
*/ inline AutomationExecution& WithProgressCounters(ProgressCounters&& value) { SetProgressCounters(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 AutomationExecution& WithAlarmConfiguration(const AlarmConfiguration& value) { SetAlarmConfiguration(value); return *this;} /** *The details for the CloudWatch alarm applied to your automation.
*/ inline AutomationExecution& WithAlarmConfiguration(AlarmConfiguration&& value) { SetAlarmConfiguration(std::move(value)); return *this;} /** *The CloudWatch alarm that was invoked by the automation.
*/ inline const Aws::VectorThe 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::VectorThe CloudWatch alarm that was invoked by the automation.
*/ inline void SetTriggeredAlarms(Aws::VectorThe CloudWatch alarm that was invoked by the automation.
*/ inline AutomationExecution& WithTriggeredAlarms(const Aws::VectorThe CloudWatch alarm that was invoked by the automation.
*/ inline AutomationExecution& WithTriggeredAlarms(Aws::VectorThe CloudWatch alarm that was invoked by the automation.
*/ inline AutomationExecution& AddTriggeredAlarms(const AlarmStateInformation& value) { m_triggeredAlarmsHasBeenSet = true; m_triggeredAlarms.push_back(value); return *this; } /** *The CloudWatch alarm that was invoked by the automation.
*/ inline AutomationExecution& 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
.
The subtype of the Automation operation. Currently, the only supported value
* is ChangeRequest
.
The subtype of the Automation operation. Currently, the only supported value
* is ChangeRequest
.
The subtype of the Automation operation. Currently, the only supported value
* is ChangeRequest
.
The subtype of the Automation operation. Currently, the only supported value
* is ChangeRequest
.
The subtype of the Automation operation. Currently, the only supported value
* is ChangeRequest
.
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 AutomationExecution& WithScheduledTime(const Aws::Utils::DateTime& value) { SetScheduledTime(value); return *this;} /** *The date and time the Automation operation is scheduled to start.
*/ inline AutomationExecution& WithScheduledTime(Aws::Utils::DateTime&& value) { SetScheduledTime(std::move(value)); return *this;} /** *Information about the Automation runbooks that are run as part of a runbook * workflow.
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::VectorInformation about the Automation runbooks that are run as part of a runbook * workflow.
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 as part of a runbook * workflow.
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::VectorInformation about the Automation runbooks that are run as part of a runbook * workflow.
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::VectorInformation about the Automation runbooks that are run as part of a runbook * workflow.
The Automation runbooks specified for the runbook * workflow can't run until all required approvals for the change request have been * received.
*/ inline AutomationExecution& WithRunbooks(const Aws::VectorInformation about the Automation runbooks that are run as part of a runbook * workflow.
The Automation runbooks specified for the runbook * workflow can't run until all required approvals for the change request have been * received.
*/ inline AutomationExecution& WithRunbooks(Aws::VectorInformation about the Automation runbooks that are run as part of a runbook * workflow.
The Automation runbooks specified for the runbook * workflow can't run until all required approvals for the change request have been * received.
*/ inline AutomationExecution& AddRunbooks(const Runbook& value) { m_runbooksHasBeenSet = true; m_runbooks.push_back(value); return *this; } /** *Information about the Automation runbooks that are run as part of a runbook * workflow.
The Automation runbooks specified for the runbook * workflow can't run until all required approvals for the change request have been * received.
*/ inline AutomationExecution& 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 AutomationExecution& 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 AutomationExecution& 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 AutomationExecution& 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 AutomationExecution& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;} /** *The ID of a State Manager association used in the Automation operation.
*/ inline AutomationExecution& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;} /** *The ID of a State Manager association used in the Automation operation.
*/ inline AutomationExecution& 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 AutomationExecution& WithChangeRequestName(const Aws::String& value) { SetChangeRequestName(value); return *this;} /** *The name of the Change Manager change request.
*/ inline AutomationExecution& WithChangeRequestName(Aws::String&& value) { SetChangeRequestName(std::move(value)); return *this;} /** *The name of the Change Manager change request.
*/ inline AutomationExecution& 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; Aws::Utils::DateTime m_executionStartTime; bool m_executionStartTimeHasBeenSet = false; Aws::Utils::DateTime m_executionEndTime; bool m_executionEndTimeHasBeenSet = false; AutomationExecutionStatus m_automationExecutionStatus; bool m_automationExecutionStatusHasBeenSet = false; Aws::Vector