/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 GetPipelineExecutionResult { public: AWS_CODEPIPELINE_API GetPipelineExecutionResult(); AWS_CODEPIPELINE_API GetPipelineExecutionResult(const Aws::AmazonWebServiceResult& result); AWS_CODEPIPELINE_API 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;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetPipelineExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetPipelineExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetPipelineExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: PipelineExecution m_pipelineExecution; Aws::String m_requestId; }; } // namespace Model } // namespace CodePipeline } // namespace Aws