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

Represents the output of a GetPipelineExecution * action.

See Also:

AWS * API Reference

*/ class AWS_CODEPIPELINE_API GetPipelineExecutionResult { public: GetPipelineExecutionResult(); GetPipelineExecutionResult(const Aws::AmazonWebServiceResult& result); GetPipelineExecutionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Represents information about the execution of a pipeline.

*/ inline const PipelineExecution& GetPipelineExecution() const{ return m_pipelineExecution; } /** *

Represents information about the execution of a pipeline.

*/ inline void SetPipelineExecution(const PipelineExecution& value) { m_pipelineExecution = value; } /** *

Represents information about the execution of a pipeline.

*/ inline void SetPipelineExecution(PipelineExecution&& value) { m_pipelineExecution = std::move(value); } /** *

Represents information about the execution of a pipeline.

*/ inline GetPipelineExecutionResult& WithPipelineExecution(const PipelineExecution& value) { SetPipelineExecution(value); return *this;} /** *

Represents information about the execution of a pipeline.

*/ inline GetPipelineExecutionResult& WithPipelineExecution(PipelineExecution&& value) { SetPipelineExecution(std::move(value)); return *this;} private: PipelineExecution m_pipelineExecution; }; } // namespace Model } // namespace CodePipeline } // namespace Aws