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

Contains the parameters for CreatePipeline.

See Also:

AWS * API Reference

*/ class CreatePipelineRequest : public DataPipelineRequest { public: AWS_DATAPIPELINE_API CreatePipelineRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreatePipeline"; } AWS_DATAPIPELINE_API Aws::String SerializePayload() const override; AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name for the pipeline. You can use the same name for multiple pipelines * associated with your AWS account, because AWS Data Pipeline assigns each * pipeline a unique pipeline identifier.

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

The name for the pipeline. You can use the same name for multiple pipelines * associated with your AWS account, because AWS Data Pipeline assigns each * pipeline a unique pipeline identifier.

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

The name for the pipeline. You can use the same name for multiple pipelines * associated with your AWS account, because AWS Data Pipeline assigns each * pipeline a unique pipeline identifier.

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

The name for the pipeline. You can use the same name for multiple pipelines * associated with your AWS account, because AWS Data Pipeline assigns each * pipeline a unique pipeline identifier.

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

The name for the pipeline. You can use the same name for multiple pipelines * associated with your AWS account, because AWS Data Pipeline assigns each * pipeline a unique pipeline identifier.

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

The name for the pipeline. You can use the same name for multiple pipelines * associated with your AWS account, because AWS Data Pipeline assigns each * pipeline a unique pipeline identifier.

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

The name for the pipeline. You can use the same name for multiple pipelines * associated with your AWS account, because AWS Data Pipeline assigns each * pipeline a unique pipeline identifier.

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

The name for the pipeline. You can use the same name for multiple pipelines * associated with your AWS account, because AWS Data Pipeline assigns each * pipeline a unique pipeline identifier.

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

A unique identifier. This identifier is not the same as the pipeline * identifier assigned by AWS Data Pipeline. You are responsible for defining the * format and ensuring the uniqueness of this identifier. You use this parameter to * ensure idempotency during repeated calls to CreatePipeline. For * example, if the first call to CreatePipeline does not succeed, you * can pass in the same unique identifier and pipeline name combination on a * subsequent call to CreatePipeline. CreatePipeline * ensures that if a pipeline already exists with the same name and unique * identifier, a new pipeline is not created. Instead, you'll receive the pipeline * identifier from the previous attempt. The uniqueness of the name and unique * identifier combination is scoped to the AWS account or IAM user credentials.

*/ inline const Aws::String& GetUniqueId() const{ return m_uniqueId; } /** *

A unique identifier. This identifier is not the same as the pipeline * identifier assigned by AWS Data Pipeline. You are responsible for defining the * format and ensuring the uniqueness of this identifier. You use this parameter to * ensure idempotency during repeated calls to CreatePipeline. For * example, if the first call to CreatePipeline does not succeed, you * can pass in the same unique identifier and pipeline name combination on a * subsequent call to CreatePipeline. CreatePipeline * ensures that if a pipeline already exists with the same name and unique * identifier, a new pipeline is not created. Instead, you'll receive the pipeline * identifier from the previous attempt. The uniqueness of the name and unique * identifier combination is scoped to the AWS account or IAM user credentials.

*/ inline bool UniqueIdHasBeenSet() const { return m_uniqueIdHasBeenSet; } /** *

A unique identifier. This identifier is not the same as the pipeline * identifier assigned by AWS Data Pipeline. You are responsible for defining the * format and ensuring the uniqueness of this identifier. You use this parameter to * ensure idempotency during repeated calls to CreatePipeline. For * example, if the first call to CreatePipeline does not succeed, you * can pass in the same unique identifier and pipeline name combination on a * subsequent call to CreatePipeline. CreatePipeline * ensures that if a pipeline already exists with the same name and unique * identifier, a new pipeline is not created. Instead, you'll receive the pipeline * identifier from the previous attempt. The uniqueness of the name and unique * identifier combination is scoped to the AWS account or IAM user credentials.

*/ inline void SetUniqueId(const Aws::String& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = value; } /** *

A unique identifier. This identifier is not the same as the pipeline * identifier assigned by AWS Data Pipeline. You are responsible for defining the * format and ensuring the uniqueness of this identifier. You use this parameter to * ensure idempotency during repeated calls to CreatePipeline. For * example, if the first call to CreatePipeline does not succeed, you * can pass in the same unique identifier and pipeline name combination on a * subsequent call to CreatePipeline. CreatePipeline * ensures that if a pipeline already exists with the same name and unique * identifier, a new pipeline is not created. Instead, you'll receive the pipeline * identifier from the previous attempt. The uniqueness of the name and unique * identifier combination is scoped to the AWS account or IAM user credentials.

*/ inline void SetUniqueId(Aws::String&& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = std::move(value); } /** *

A unique identifier. This identifier is not the same as the pipeline * identifier assigned by AWS Data Pipeline. You are responsible for defining the * format and ensuring the uniqueness of this identifier. You use this parameter to * ensure idempotency during repeated calls to CreatePipeline. For * example, if the first call to CreatePipeline does not succeed, you * can pass in the same unique identifier and pipeline name combination on a * subsequent call to CreatePipeline. CreatePipeline * ensures that if a pipeline already exists with the same name and unique * identifier, a new pipeline is not created. Instead, you'll receive the pipeline * identifier from the previous attempt. The uniqueness of the name and unique * identifier combination is scoped to the AWS account or IAM user credentials.

*/ inline void SetUniqueId(const char* value) { m_uniqueIdHasBeenSet = true; m_uniqueId.assign(value); } /** *

A unique identifier. This identifier is not the same as the pipeline * identifier assigned by AWS Data Pipeline. You are responsible for defining the * format and ensuring the uniqueness of this identifier. You use this parameter to * ensure idempotency during repeated calls to CreatePipeline. For * example, if the first call to CreatePipeline does not succeed, you * can pass in the same unique identifier and pipeline name combination on a * subsequent call to CreatePipeline. CreatePipeline * ensures that if a pipeline already exists with the same name and unique * identifier, a new pipeline is not created. Instead, you'll receive the pipeline * identifier from the previous attempt. The uniqueness of the name and unique * identifier combination is scoped to the AWS account or IAM user credentials.

*/ inline CreatePipelineRequest& WithUniqueId(const Aws::String& value) { SetUniqueId(value); return *this;} /** *

A unique identifier. This identifier is not the same as the pipeline * identifier assigned by AWS Data Pipeline. You are responsible for defining the * format and ensuring the uniqueness of this identifier. You use this parameter to * ensure idempotency during repeated calls to CreatePipeline. For * example, if the first call to CreatePipeline does not succeed, you * can pass in the same unique identifier and pipeline name combination on a * subsequent call to CreatePipeline. CreatePipeline * ensures that if a pipeline already exists with the same name and unique * identifier, a new pipeline is not created. Instead, you'll receive the pipeline * identifier from the previous attempt. The uniqueness of the name and unique * identifier combination is scoped to the AWS account or IAM user credentials.

*/ inline CreatePipelineRequest& WithUniqueId(Aws::String&& value) { SetUniqueId(std::move(value)); return *this;} /** *

A unique identifier. This identifier is not the same as the pipeline * identifier assigned by AWS Data Pipeline. You are responsible for defining the * format and ensuring the uniqueness of this identifier. You use this parameter to * ensure idempotency during repeated calls to CreatePipeline. For * example, if the first call to CreatePipeline does not succeed, you * can pass in the same unique identifier and pipeline name combination on a * subsequent call to CreatePipeline. CreatePipeline * ensures that if a pipeline already exists with the same name and unique * identifier, a new pipeline is not created. Instead, you'll receive the pipeline * identifier from the previous attempt. The uniqueness of the name and unique * identifier combination is scoped to the AWS account or IAM user credentials.

*/ inline CreatePipelineRequest& WithUniqueId(const char* value) { SetUniqueId(value); return *this;} /** *

The description for the pipeline.

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

The description for the pipeline.

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

The description for the pipeline.

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

The description for the pipeline.

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

The description for the pipeline.

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

The description for the pipeline.

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

The description for the pipeline.

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

The description for the pipeline.

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

A list of tags to associate with the pipeline at creation. 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 associate with the pipeline at creation. 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 associate with the pipeline at creation. 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 associate with the pipeline at creation. 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 associate with the pipeline at creation. Tags let you * control access to pipelines. For more information, see Controlling * User Access to Pipelines in the AWS Data Pipeline Developer * Guide.

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

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

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

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

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

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

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