/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents information about the run of an action.See Also:
* AWS
* API Reference
ID of the workflow action execution in the current stage. Use the * GetPipelineState action to retrieve the current action execution details * of the current stage.
For older executions, this field might be * empty. The action execution ID is available for executions run on or after March * 2020.
*/ inline const Aws::String& GetActionExecutionId() const{ return m_actionExecutionId; } /** *ID of the workflow action execution in the current stage. Use the * GetPipelineState action to retrieve the current action execution details * of the current stage.
For older executions, this field might be * empty. The action execution ID is available for executions run on or after March * 2020.
*/ inline bool ActionExecutionIdHasBeenSet() const { return m_actionExecutionIdHasBeenSet; } /** *ID of the workflow action execution in the current stage. Use the * GetPipelineState action to retrieve the current action execution details * of the current stage.
For older executions, this field might be * empty. The action execution ID is available for executions run on or after March * 2020.
*/ inline void SetActionExecutionId(const Aws::String& value) { m_actionExecutionIdHasBeenSet = true; m_actionExecutionId = value; } /** *ID of the workflow action execution in the current stage. Use the * GetPipelineState action to retrieve the current action execution details * of the current stage.
For older executions, this field might be * empty. The action execution ID is available for executions run on or after March * 2020.
*/ inline void SetActionExecutionId(Aws::String&& value) { m_actionExecutionIdHasBeenSet = true; m_actionExecutionId = std::move(value); } /** *ID of the workflow action execution in the current stage. Use the * GetPipelineState action to retrieve the current action execution details * of the current stage.
For older executions, this field might be * empty. The action execution ID is available for executions run on or after March * 2020.
*/ inline void SetActionExecutionId(const char* value) { m_actionExecutionIdHasBeenSet = true; m_actionExecutionId.assign(value); } /** *ID of the workflow action execution in the current stage. Use the * GetPipelineState action to retrieve the current action execution details * of the current stage.
For older executions, this field might be * empty. The action execution ID is available for executions run on or after March * 2020.
*/ inline ActionExecution& WithActionExecutionId(const Aws::String& value) { SetActionExecutionId(value); return *this;} /** *ID of the workflow action execution in the current stage. Use the * GetPipelineState action to retrieve the current action execution details * of the current stage.
For older executions, this field might be * empty. The action execution ID is available for executions run on or after March * 2020.
*/ inline ActionExecution& WithActionExecutionId(Aws::String&& value) { SetActionExecutionId(std::move(value)); return *this;} /** *ID of the workflow action execution in the current stage. Use the * GetPipelineState action to retrieve the current action execution details * of the current stage.
For older executions, this field might be * empty. The action execution ID is available for executions run on or after March * 2020.
*/ inline ActionExecution& WithActionExecutionId(const char* value) { SetActionExecutionId(value); return *this;} /** *The status of the action, or for a completed action, the last status of the * action.
*/ inline const ActionExecutionStatus& GetStatus() const{ return m_status; } /** *The status of the action, or for a completed action, the last status of the * action.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the action, or for a completed action, the last status of the * action.
*/ inline void SetStatus(const ActionExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the action, or for a completed action, the last status of the * action.
*/ inline void SetStatus(ActionExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the action, or for a completed action, the last status of the * action.
*/ inline ActionExecution& WithStatus(const ActionExecutionStatus& value) { SetStatus(value); return *this;} /** *The status of the action, or for a completed action, the last status of the * action.
*/ inline ActionExecution& WithStatus(ActionExecutionStatus&& value) { SetStatus(std::move(value)); return *this;} /** *A summary of the run of the action.
*/ inline const Aws::String& GetSummary() const{ return m_summary; } /** *A summary of the run of the action.
*/ inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; } /** *A summary of the run of the action.
*/ inline void SetSummary(const Aws::String& value) { m_summaryHasBeenSet = true; m_summary = value; } /** *A summary of the run of the action.
*/ inline void SetSummary(Aws::String&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); } /** *A summary of the run of the action.
*/ inline void SetSummary(const char* value) { m_summaryHasBeenSet = true; m_summary.assign(value); } /** *A summary of the run of the action.
*/ inline ActionExecution& WithSummary(const Aws::String& value) { SetSummary(value); return *this;} /** *A summary of the run of the action.
*/ inline ActionExecution& WithSummary(Aws::String&& value) { SetSummary(std::move(value)); return *this;} /** *A summary of the run of the action.
*/ inline ActionExecution& WithSummary(const char* value) { SetSummary(value); return *this;} /** *The last status change of the action.
*/ inline const Aws::Utils::DateTime& GetLastStatusChange() const{ return m_lastStatusChange; } /** *The last status change of the action.
*/ inline bool LastStatusChangeHasBeenSet() const { return m_lastStatusChangeHasBeenSet; } /** *The last status change of the action.
*/ inline void SetLastStatusChange(const Aws::Utils::DateTime& value) { m_lastStatusChangeHasBeenSet = true; m_lastStatusChange = value; } /** *The last status change of the action.
*/ inline void SetLastStatusChange(Aws::Utils::DateTime&& value) { m_lastStatusChangeHasBeenSet = true; m_lastStatusChange = std::move(value); } /** *The last status change of the action.
*/ inline ActionExecution& WithLastStatusChange(const Aws::Utils::DateTime& value) { SetLastStatusChange(value); return *this;} /** *The last status change of the action.
*/ inline ActionExecution& WithLastStatusChange(Aws::Utils::DateTime&& value) { SetLastStatusChange(std::move(value)); return *this;} /** *The system-generated token used to identify a unique approval request. The
* token for each open approval request can be obtained using the
* GetPipelineState
command. It is used to validate that the approval
* request corresponding to this token is still valid.
The system-generated token used to identify a unique approval request. The
* token for each open approval request can be obtained using the
* GetPipelineState
command. It is used to validate that the approval
* request corresponding to this token is still valid.
The system-generated token used to identify a unique approval request. The
* token for each open approval request can be obtained using the
* GetPipelineState
command. It is used to validate that the approval
* request corresponding to this token is still valid.
The system-generated token used to identify a unique approval request. The
* token for each open approval request can be obtained using the
* GetPipelineState
command. It is used to validate that the approval
* request corresponding to this token is still valid.
The system-generated token used to identify a unique approval request. The
* token for each open approval request can be obtained using the
* GetPipelineState
command. It is used to validate that the approval
* request corresponding to this token is still valid.
The system-generated token used to identify a unique approval request. The
* token for each open approval request can be obtained using the
* GetPipelineState
command. It is used to validate that the approval
* request corresponding to this token is still valid.
The system-generated token used to identify a unique approval request. The
* token for each open approval request can be obtained using the
* GetPipelineState
command. It is used to validate that the approval
* request corresponding to this token is still valid.
The system-generated token used to identify a unique approval request. The
* token for each open approval request can be obtained using the
* GetPipelineState
command. It is used to validate that the approval
* request corresponding to this token is still valid.
The ARN of the user who last changed the pipeline.
*/ inline const Aws::String& GetLastUpdatedBy() const{ return m_lastUpdatedBy; } /** *The ARN of the user who last changed the pipeline.
*/ inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; } /** *The ARN of the user who last changed the pipeline.
*/ inline void SetLastUpdatedBy(const Aws::String& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = value; } /** *The ARN of the user who last changed the pipeline.
*/ inline void SetLastUpdatedBy(Aws::String&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::move(value); } /** *The ARN of the user who last changed the pipeline.
*/ inline void SetLastUpdatedBy(const char* value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy.assign(value); } /** *The ARN of the user who last changed the pipeline.
*/ inline ActionExecution& WithLastUpdatedBy(const Aws::String& value) { SetLastUpdatedBy(value); return *this;} /** *The ARN of the user who last changed the pipeline.
*/ inline ActionExecution& WithLastUpdatedBy(Aws::String&& value) { SetLastUpdatedBy(std::move(value)); return *this;} /** *The ARN of the user who last changed the pipeline.
*/ inline ActionExecution& WithLastUpdatedBy(const char* value) { SetLastUpdatedBy(value); return *this;} /** *The external ID of the run of the action.
*/ inline const Aws::String& GetExternalExecutionId() const{ return m_externalExecutionId; } /** *The external ID of the run of the action.
*/ inline bool ExternalExecutionIdHasBeenSet() const { return m_externalExecutionIdHasBeenSet; } /** *The external ID of the run of the action.
*/ inline void SetExternalExecutionId(const Aws::String& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = value; } /** *The external ID of the run of the action.
*/ inline void SetExternalExecutionId(Aws::String&& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = std::move(value); } /** *The external ID of the run of the action.
*/ inline void SetExternalExecutionId(const char* value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId.assign(value); } /** *The external ID of the run of the action.
*/ inline ActionExecution& WithExternalExecutionId(const Aws::String& value) { SetExternalExecutionId(value); return *this;} /** *The external ID of the run of the action.
*/ inline ActionExecution& WithExternalExecutionId(Aws::String&& value) { SetExternalExecutionId(std::move(value)); return *this;} /** *The external ID of the run of the action.
*/ inline ActionExecution& WithExternalExecutionId(const char* value) { SetExternalExecutionId(value); return *this;} /** *The URL of a resource external to Amazon Web Services that is used when * running the action (for example, an external repository URL).
*/ inline const Aws::String& GetExternalExecutionUrl() const{ return m_externalExecutionUrl; } /** *The URL of a resource external to Amazon Web Services that is used when * running the action (for example, an external repository URL).
*/ inline bool ExternalExecutionUrlHasBeenSet() const { return m_externalExecutionUrlHasBeenSet; } /** *The URL of a resource external to Amazon Web Services that is used when * running the action (for example, an external repository URL).
*/ inline void SetExternalExecutionUrl(const Aws::String& value) { m_externalExecutionUrlHasBeenSet = true; m_externalExecutionUrl = value; } /** *The URL of a resource external to Amazon Web Services that is used when * running the action (for example, an external repository URL).
*/ inline void SetExternalExecutionUrl(Aws::String&& value) { m_externalExecutionUrlHasBeenSet = true; m_externalExecutionUrl = std::move(value); } /** *The URL of a resource external to Amazon Web Services that is used when * running the action (for example, an external repository URL).
*/ inline void SetExternalExecutionUrl(const char* value) { m_externalExecutionUrlHasBeenSet = true; m_externalExecutionUrl.assign(value); } /** *The URL of a resource external to Amazon Web Services that is used when * running the action (for example, an external repository URL).
*/ inline ActionExecution& WithExternalExecutionUrl(const Aws::String& value) { SetExternalExecutionUrl(value); return *this;} /** *The URL of a resource external to Amazon Web Services that is used when * running the action (for example, an external repository URL).
*/ inline ActionExecution& WithExternalExecutionUrl(Aws::String&& value) { SetExternalExecutionUrl(std::move(value)); return *this;} /** *The URL of a resource external to Amazon Web Services that is used when * running the action (for example, an external repository URL).
*/ inline ActionExecution& WithExternalExecutionUrl(const char* value) { SetExternalExecutionUrl(value); return *this;} /** *A percentage of completeness of the action as it runs.
*/ inline int GetPercentComplete() const{ return m_percentComplete; } /** *A percentage of completeness of the action as it runs.
*/ inline bool PercentCompleteHasBeenSet() const { return m_percentCompleteHasBeenSet; } /** *A percentage of completeness of the action as it runs.
*/ inline void SetPercentComplete(int value) { m_percentCompleteHasBeenSet = true; m_percentComplete = value; } /** *A percentage of completeness of the action as it runs.
*/ inline ActionExecution& WithPercentComplete(int value) { SetPercentComplete(value); return *this;} /** *The details of an error returned by a URL external to Amazon Web * Services.
*/ inline const ErrorDetails& GetErrorDetails() const{ return m_errorDetails; } /** *The details of an error returned by a URL external to Amazon Web * Services.
*/ inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; } /** *The details of an error returned by a URL external to Amazon Web * Services.
*/ inline void SetErrorDetails(const ErrorDetails& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = value; } /** *The details of an error returned by a URL external to Amazon Web * Services.
*/ inline void SetErrorDetails(ErrorDetails&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::move(value); } /** *The details of an error returned by a URL external to Amazon Web * Services.
*/ inline ActionExecution& WithErrorDetails(const ErrorDetails& value) { SetErrorDetails(value); return *this;} /** *The details of an error returned by a URL external to Amazon Web * Services.
*/ inline ActionExecution& WithErrorDetails(ErrorDetails&& value) { SetErrorDetails(std::move(value)); return *this;} private: Aws::String m_actionExecutionId; bool m_actionExecutionIdHasBeenSet = false; ActionExecutionStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_summary; bool m_summaryHasBeenSet = false; Aws::Utils::DateTime m_lastStatusChange; bool m_lastStatusChangeHasBeenSet = false; Aws::String m_token; bool m_tokenHasBeenSet = false; Aws::String m_lastUpdatedBy; bool m_lastUpdatedByHasBeenSet = false; Aws::String m_externalExecutionId; bool m_externalExecutionIdHasBeenSet = false; Aws::String m_externalExecutionUrl; bool m_externalExecutionUrlHasBeenSet = false; int m_percentComplete; bool m_percentCompleteHasBeenSet = false; ErrorDetails m_errorDetails; bool m_errorDetailsHasBeenSet = false; }; } // namespace Model } // namespace CodePipeline } // namespace Aws