/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DataPipeline { namespace Model { /** *

Contains pipeline metadata.

See Also:

AWS * API Reference

*/ class PipelineDescription { public: AWS_DATAPIPELINE_API PipelineDescription(); AWS_DATAPIPELINE_API PipelineDescription(Aws::Utils::Json::JsonView jsonValue); AWS_DATAPIPELINE_API PipelineDescription& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The pipeline identifier that was assigned by AWS Data Pipeline. This is a * string of the form df-297EG78HU43EEXAMPLE.

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

The pipeline identifier that was assigned by AWS Data Pipeline. This is a * string of the form df-297EG78HU43EEXAMPLE.

*/ inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; } /** *

The pipeline identifier that was assigned by AWS Data Pipeline. This is a * string of the form df-297EG78HU43EEXAMPLE.

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

The pipeline identifier that was assigned by AWS Data Pipeline. This is a * string of the form df-297EG78HU43EEXAMPLE.

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

The pipeline identifier that was assigned by AWS Data Pipeline. This is a * string of the form df-297EG78HU43EEXAMPLE.

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

The pipeline identifier that was assigned by AWS Data Pipeline. This is a * string of the form df-297EG78HU43EEXAMPLE.

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

The pipeline identifier that was assigned by AWS Data Pipeline. This is a * string of the form df-297EG78HU43EEXAMPLE.

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

The pipeline identifier that was assigned by AWS Data Pipeline. This is a * string of the form df-297EG78HU43EEXAMPLE.

*/ inline PipelineDescription& WithPipelineId(const char* value) { SetPipelineId(value); return *this;} /** *

The name of the pipeline.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the pipeline.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the pipeline.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the pipeline.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the pipeline.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the pipeline.

*/ inline PipelineDescription& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the pipeline.

*/ inline PipelineDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the pipeline.

*/ inline PipelineDescription& WithName(const char* value) { SetName(value); return *this;} /** *

A list of read-only fields that contain metadata about the pipeline: @userId, * @accountId, and @pipelineState.

*/ inline const Aws::Vector& GetFields() const{ return m_fields; } /** *

A list of read-only fields that contain metadata about the pipeline: @userId, * @accountId, and @pipelineState.

*/ inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; } /** *

A list of read-only fields that contain metadata about the pipeline: @userId, * @accountId, and @pipelineState.

*/ inline void SetFields(const Aws::Vector& value) { m_fieldsHasBeenSet = true; m_fields = value; } /** *

A list of read-only fields that contain metadata about the pipeline: @userId, * @accountId, and @pipelineState.

*/ inline void SetFields(Aws::Vector&& value) { m_fieldsHasBeenSet = true; m_fields = std::move(value); } /** *

A list of read-only fields that contain metadata about the pipeline: @userId, * @accountId, and @pipelineState.

*/ inline PipelineDescription& WithFields(const Aws::Vector& value) { SetFields(value); return *this;} /** *

A list of read-only fields that contain metadata about the pipeline: @userId, * @accountId, and @pipelineState.

*/ inline PipelineDescription& WithFields(Aws::Vector&& value) { SetFields(std::move(value)); return *this;} /** *

A list of read-only fields that contain metadata about the pipeline: @userId, * @accountId, and @pipelineState.

*/ inline PipelineDescription& AddFields(const Field& value) { m_fieldsHasBeenSet = true; m_fields.push_back(value); return *this; } /** *

A list of read-only fields that contain metadata about the pipeline: @userId, * @accountId, and @pipelineState.

*/ inline PipelineDescription& AddFields(Field&& value) { m_fieldsHasBeenSet = true; m_fields.push_back(std::move(value)); return *this; } /** *

Description of the pipeline.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

Description of the pipeline.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

Description of the pipeline.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

Description of the pipeline.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

Description of the pipeline.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

Description of the pipeline.

*/ inline PipelineDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

Description of the pipeline.

*/ inline PipelineDescription& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

Description of the pipeline.

*/ inline PipelineDescription& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

A list of tags to associated with a pipeline. Tags let you control access to * pipelines. For more information, see Controlling * User Access to Pipelines in the AWS Data Pipeline Developer * Guide.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

A list of tags to associated with a pipeline. Tags let you control access to * pipelines. For more information, see Controlling * User Access to Pipelines in the AWS Data Pipeline Developer * Guide.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

A list of tags to associated with a pipeline. Tags let you control access to * pipelines. For more information, see Controlling * User Access to Pipelines in the AWS Data Pipeline Developer * Guide.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

A list of tags to associated with a pipeline. Tags let you control access to * pipelines. For more information, see Controlling * User Access to Pipelines in the AWS Data Pipeline Developer * Guide.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

A list of tags to associated with a pipeline. Tags let you control access to * pipelines. For more information, see Controlling * User Access to Pipelines in the AWS Data Pipeline Developer * Guide.

*/ inline PipelineDescription& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

A list of tags to associated with a pipeline. Tags let you control access to * pipelines. For more information, see Controlling * User Access to Pipelines in the AWS Data Pipeline Developer * Guide.

*/ inline PipelineDescription& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

A list of tags to associated with a pipeline. Tags let you control access to * pipelines. For more information, see Controlling * User Access to Pipelines in the AWS Data Pipeline Developer * Guide.

*/ inline PipelineDescription& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

A list of tags to associated with a pipeline. Tags let you control access to * pipelines. For more information, see Controlling * User Access to Pipelines in the AWS Data Pipeline Developer * Guide.

*/ inline PipelineDescription& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_pipelineId; bool m_pipelineIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector m_fields; bool m_fieldsHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace DataPipeline } // namespace Aws