/** * 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 DataPipeline { namespace Model { /** *

Contains the output of CreatePipeline.

See Also:

AWS * API Reference

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

The ID that AWS Data Pipeline assigns the newly created pipeline. For * example, df-06372391ZG65EXAMPLE.

*/ inline const Aws::String& GetPipelineId() const{ return m_pipelineId; } /** *

The ID that AWS Data Pipeline assigns the newly created pipeline. For * example, df-06372391ZG65EXAMPLE.

*/ inline void SetPipelineId(const Aws::String& value) { m_pipelineId = value; } /** *

The ID that AWS Data Pipeline assigns the newly created pipeline. For * example, df-06372391ZG65EXAMPLE.

*/ inline void SetPipelineId(Aws::String&& value) { m_pipelineId = std::move(value); } /** *

The ID that AWS Data Pipeline assigns the newly created pipeline. For * example, df-06372391ZG65EXAMPLE.

*/ inline void SetPipelineId(const char* value) { m_pipelineId.assign(value); } /** *

The ID that AWS Data Pipeline assigns the newly created pipeline. For * example, df-06372391ZG65EXAMPLE.

*/ inline CreatePipelineResult& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;} /** *

The ID that AWS Data Pipeline assigns the newly created pipeline. For * example, df-06372391ZG65EXAMPLE.

*/ inline CreatePipelineResult& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;} /** *

The ID that AWS Data Pipeline assigns the newly created pipeline. For * example, df-06372391ZG65EXAMPLE.

*/ inline CreatePipelineResult& WithPipelineId(const char* value) { SetPipelineId(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 CreatePipelineResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreatePipelineResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreatePipelineResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_pipelineId; Aws::String m_requestId; }; } // namespace Model } // namespace DataPipeline } // namespace Aws