/** * 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 an UpdatePipeline action.

See * Also:

AWS * API Reference

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

The structure of the updated pipeline.

*/ inline const PipelineDeclaration& GetPipeline() const{ return m_pipeline; } /** *

The structure of the updated pipeline.

*/ inline void SetPipeline(const PipelineDeclaration& value) { m_pipeline = value; } /** *

The structure of the updated pipeline.

*/ inline void SetPipeline(PipelineDeclaration&& value) { m_pipeline = std::move(value); } /** *

The structure of the updated pipeline.

*/ inline UpdatePipelineResult& WithPipeline(const PipelineDeclaration& value) { SetPipeline(value); return *this;} /** *

The structure of the updated pipeline.

*/ inline UpdatePipelineResult& WithPipeline(PipelineDeclaration&& value) { SetPipeline(std::move(value)); return *this;} private: PipelineDeclaration m_pipeline; }; } // namespace Model } // namespace CodePipeline } // namespace Aws