/** * 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 Proton { namespace Model { class UpdateServicePipelineResult { public: AWS_PROTON_API UpdateServicePipelineResult(); AWS_PROTON_API UpdateServicePipelineResult(const Aws::AmazonWebServiceResult& result); AWS_PROTON_API UpdateServicePipelineResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The pipeline details that are returned by Proton.

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

The pipeline details that are returned by Proton.

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

The pipeline details that are returned by Proton.

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

The pipeline details that are returned by Proton.

*/ inline UpdateServicePipelineResult& WithPipeline(const ServicePipeline& value) { SetPipeline(value); return *this;} /** *

The pipeline details that are returned by Proton.

*/ inline UpdateServicePipelineResult& WithPipeline(ServicePipeline&& 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 UpdateServicePipelineResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateServicePipelineResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateServicePipelineResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ServicePipeline m_pipeline; Aws::String m_requestId; }; } // namespace Model } // namespace Proton } // namespace Aws