/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of an UpdatePipeline
action.See
* Also:
AWS
* API Reference
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;} 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 UpdatePipelineResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdatePipelineResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdatePipelineResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: PipelineDeclaration m_pipeline; Aws::String m_requestId; }; } // namespace Model } // namespace CodePipeline } // namespace Aws