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

The details of the actions taken and results produced on an artifact as it * passes through stages in the pipeline.

See Also:

AWS * API Reference

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

The summary of the current status of the actions.

*/ inline const Aws::String& GetSummary() const{ return m_summary; } /** *

The summary of the current status of the actions.

*/ inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; } /** *

The summary of the current status of the actions.

*/ inline void SetSummary(const Aws::String& value) { m_summaryHasBeenSet = true; m_summary = value; } /** *

The summary of the current status of the actions.

*/ inline void SetSummary(Aws::String&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); } /** *

The summary of the current status of the actions.

*/ inline void SetSummary(const char* value) { m_summaryHasBeenSet = true; m_summary.assign(value); } /** *

The summary of the current status of the actions.

*/ inline ExecutionDetails& WithSummary(const Aws::String& value) { SetSummary(value); return *this;} /** *

The summary of the current status of the actions.

*/ inline ExecutionDetails& WithSummary(Aws::String&& value) { SetSummary(std::move(value)); return *this;} /** *

The summary of the current status of the actions.

*/ inline ExecutionDetails& WithSummary(const char* value) { SetSummary(value); return *this;} /** *

The system-generated unique ID of this action used to identify this job * worker in any external systems, such as AWS CodeDeploy.

*/ inline const Aws::String& GetExternalExecutionId() const{ return m_externalExecutionId; } /** *

The system-generated unique ID of this action used to identify this job * worker in any external systems, such as AWS CodeDeploy.

*/ inline bool ExternalExecutionIdHasBeenSet() const { return m_externalExecutionIdHasBeenSet; } /** *

The system-generated unique ID of this action used to identify this job * worker in any external systems, such as AWS CodeDeploy.

*/ inline void SetExternalExecutionId(const Aws::String& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = value; } /** *

The system-generated unique ID of this action used to identify this job * worker in any external systems, such as AWS CodeDeploy.

*/ inline void SetExternalExecutionId(Aws::String&& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = std::move(value); } /** *

The system-generated unique ID of this action used to identify this job * worker in any external systems, such as AWS CodeDeploy.

*/ inline void SetExternalExecutionId(const char* value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId.assign(value); } /** *

The system-generated unique ID of this action used to identify this job * worker in any external systems, such as AWS CodeDeploy.

*/ inline ExecutionDetails& WithExternalExecutionId(const Aws::String& value) { SetExternalExecutionId(value); return *this;} /** *

The system-generated unique ID of this action used to identify this job * worker in any external systems, such as AWS CodeDeploy.

*/ inline ExecutionDetails& WithExternalExecutionId(Aws::String&& value) { SetExternalExecutionId(std::move(value)); return *this;} /** *

The system-generated unique ID of this action used to identify this job * worker in any external systems, such as AWS CodeDeploy.

*/ inline ExecutionDetails& WithExternalExecutionId(const char* value) { SetExternalExecutionId(value); return *this;} /** *

The percentage of work completed on the action, represented on a scale of 0 * to 100 percent.

*/ inline int GetPercentComplete() const{ return m_percentComplete; } /** *

The percentage of work completed on the action, represented on a scale of 0 * to 100 percent.

*/ inline bool PercentCompleteHasBeenSet() const { return m_percentCompleteHasBeenSet; } /** *

The percentage of work completed on the action, represented on a scale of 0 * to 100 percent.

*/ inline void SetPercentComplete(int value) { m_percentCompleteHasBeenSet = true; m_percentComplete = value; } /** *

The percentage of work completed on the action, represented on a scale of 0 * to 100 percent.

*/ inline ExecutionDetails& WithPercentComplete(int value) { SetPercentComplete(value); return *this;} private: Aws::String m_summary; bool m_summaryHasBeenSet; Aws::String m_externalExecutionId; bool m_externalExecutionIdHasBeenSet; int m_percentComplete; bool m_percentCompleteHasBeenSet; }; } // namespace Model } // namespace CodePipeline } // namespace Aws