This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/ExecutionDetails.h

170 lines
5.8 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/codepipeline/CodePipeline_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace CodePipeline
{
namespace Model
{
/**
* <p>The details of the actions taken and results produced on an artifact as it
* passes through stages in the pipeline.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ExecutionDetails">AWS
* API Reference</a></p>
*/
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;
/**
* <p>The summary of the current status of the actions.</p>
*/
inline const Aws::String& GetSummary() const{ return m_summary; }
/**
* <p>The summary of the current status of the actions.</p>
*/
inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
/**
* <p>The summary of the current status of the actions.</p>
*/
inline void SetSummary(const Aws::String& value) { m_summaryHasBeenSet = true; m_summary = value; }
/**
* <p>The summary of the current status of the actions.</p>
*/
inline void SetSummary(Aws::String&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); }
/**
* <p>The summary of the current status of the actions.</p>
*/
inline void SetSummary(const char* value) { m_summaryHasBeenSet = true; m_summary.assign(value); }
/**
* <p>The summary of the current status of the actions.</p>
*/
inline ExecutionDetails& WithSummary(const Aws::String& value) { SetSummary(value); return *this;}
/**
* <p>The summary of the current status of the actions.</p>
*/
inline ExecutionDetails& WithSummary(Aws::String&& value) { SetSummary(std::move(value)); return *this;}
/**
* <p>The summary of the current status of the actions.</p>
*/
inline ExecutionDetails& WithSummary(const char* value) { SetSummary(value); return *this;}
/**
* <p>The system-generated unique ID of this action used to identify this job
* worker in any external systems, such as AWS CodeDeploy.</p>
*/
inline const Aws::String& GetExternalExecutionId() const{ return m_externalExecutionId; }
/**
* <p>The system-generated unique ID of this action used to identify this job
* worker in any external systems, such as AWS CodeDeploy.</p>
*/
inline bool ExternalExecutionIdHasBeenSet() const { return m_externalExecutionIdHasBeenSet; }
/**
* <p>The system-generated unique ID of this action used to identify this job
* worker in any external systems, such as AWS CodeDeploy.</p>
*/
inline void SetExternalExecutionId(const Aws::String& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = value; }
/**
* <p>The system-generated unique ID of this action used to identify this job
* worker in any external systems, such as AWS CodeDeploy.</p>
*/
inline void SetExternalExecutionId(Aws::String&& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = std::move(value); }
/**
* <p>The system-generated unique ID of this action used to identify this job
* worker in any external systems, such as AWS CodeDeploy.</p>
*/
inline void SetExternalExecutionId(const char* value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId.assign(value); }
/**
* <p>The system-generated unique ID of this action used to identify this job
* worker in any external systems, such as AWS CodeDeploy.</p>
*/
inline ExecutionDetails& WithExternalExecutionId(const Aws::String& value) { SetExternalExecutionId(value); return *this;}
/**
* <p>The system-generated unique ID of this action used to identify this job
* worker in any external systems, such as AWS CodeDeploy.</p>
*/
inline ExecutionDetails& WithExternalExecutionId(Aws::String&& value) { SetExternalExecutionId(std::move(value)); return *this;}
/**
* <p>The system-generated unique ID of this action used to identify this job
* worker in any external systems, such as AWS CodeDeploy.</p>
*/
inline ExecutionDetails& WithExternalExecutionId(const char* value) { SetExternalExecutionId(value); return *this;}
/**
* <p>The percentage of work completed on the action, represented on a scale of 0
* to 100 percent.</p>
*/
inline int GetPercentComplete() const{ return m_percentComplete; }
/**
* <p>The percentage of work completed on the action, represented on a scale of 0
* to 100 percent.</p>
*/
inline bool PercentCompleteHasBeenSet() const { return m_percentCompleteHasBeenSet; }
/**
* <p>The percentage of work completed on the action, represented on a scale of 0
* to 100 percent.</p>
*/
inline void SetPercentComplete(int value) { m_percentCompleteHasBeenSet = true; m_percentComplete = value; }
/**
* <p>The percentage of work completed on the action, represented on a scale of 0
* to 100 percent.</p>
*/
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