/** * 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 IoTAnalytics { namespace Model { /** */ class UpdatePipelineRequest : public IoTAnalyticsRequest { public: AWS_IOTANALYTICS_API UpdatePipelineRequest(); // 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 "UpdatePipeline"; } AWS_IOTANALYTICS_API Aws::String SerializePayload() const override; /** *

The name of the pipeline to update.

*/ inline const Aws::String& GetPipelineName() const{ return m_pipelineName; } /** *

The name of the pipeline to update.

*/ inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; } /** *

The name of the pipeline to update.

*/ inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; } /** *

The name of the pipeline to update.

*/ inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); } /** *

The name of the pipeline to update.

*/ inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); } /** *

The name of the pipeline to update.

*/ inline UpdatePipelineRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;} /** *

The name of the pipeline to update.

*/ inline UpdatePipelineRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;} /** *

The name of the pipeline to update.

*/ inline UpdatePipelineRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;} /** *

A list of PipelineActivity objects. Activities perform * transformations on your messages, such as removing, renaming or adding message * attributes; filtering messages based on attribute values; invoking your Lambda * functions on messages for advanced processing; or performing mathematical * transformations to normalize device data.

The list can be 2-25 * PipelineActivity objects and must contain both a * channel and a datastore activity. Each entry in the * list must contain only one activity. For example:

* pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... * ]

*/ inline const Aws::Vector& GetPipelineActivities() const{ return m_pipelineActivities; } /** *

A list of PipelineActivity objects. Activities perform * transformations on your messages, such as removing, renaming or adding message * attributes; filtering messages based on attribute values; invoking your Lambda * functions on messages for advanced processing; or performing mathematical * transformations to normalize device data.

The list can be 2-25 * PipelineActivity objects and must contain both a * channel and a datastore activity. Each entry in the * list must contain only one activity. For example:

* pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... * ]

*/ inline bool PipelineActivitiesHasBeenSet() const { return m_pipelineActivitiesHasBeenSet; } /** *

A list of PipelineActivity objects. Activities perform * transformations on your messages, such as removing, renaming or adding message * attributes; filtering messages based on attribute values; invoking your Lambda * functions on messages for advanced processing; or performing mathematical * transformations to normalize device data.

The list can be 2-25 * PipelineActivity objects and must contain both a * channel and a datastore activity. Each entry in the * list must contain only one activity. For example:

* pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... * ]

*/ inline void SetPipelineActivities(const Aws::Vector& value) { m_pipelineActivitiesHasBeenSet = true; m_pipelineActivities = value; } /** *

A list of PipelineActivity objects. Activities perform * transformations on your messages, such as removing, renaming or adding message * attributes; filtering messages based on attribute values; invoking your Lambda * functions on messages for advanced processing; or performing mathematical * transformations to normalize device data.

The list can be 2-25 * PipelineActivity objects and must contain both a * channel and a datastore activity. Each entry in the * list must contain only one activity. For example:

* pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... * ]

*/ inline void SetPipelineActivities(Aws::Vector&& value) { m_pipelineActivitiesHasBeenSet = true; m_pipelineActivities = std::move(value); } /** *

A list of PipelineActivity objects. Activities perform * transformations on your messages, such as removing, renaming or adding message * attributes; filtering messages based on attribute values; invoking your Lambda * functions on messages for advanced processing; or performing mathematical * transformations to normalize device data.

The list can be 2-25 * PipelineActivity objects and must contain both a * channel and a datastore activity. Each entry in the * list must contain only one activity. For example:

* pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... * ]

*/ inline UpdatePipelineRequest& WithPipelineActivities(const Aws::Vector& value) { SetPipelineActivities(value); return *this;} /** *

A list of PipelineActivity objects. Activities perform * transformations on your messages, such as removing, renaming or adding message * attributes; filtering messages based on attribute values; invoking your Lambda * functions on messages for advanced processing; or performing mathematical * transformations to normalize device data.

The list can be 2-25 * PipelineActivity objects and must contain both a * channel and a datastore activity. Each entry in the * list must contain only one activity. For example:

* pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... * ]

*/ inline UpdatePipelineRequest& WithPipelineActivities(Aws::Vector&& value) { SetPipelineActivities(std::move(value)); return *this;} /** *

A list of PipelineActivity objects. Activities perform * transformations on your messages, such as removing, renaming or adding message * attributes; filtering messages based on attribute values; invoking your Lambda * functions on messages for advanced processing; or performing mathematical * transformations to normalize device data.

The list can be 2-25 * PipelineActivity objects and must contain both a * channel and a datastore activity. Each entry in the * list must contain only one activity. For example:

* pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... * ]

*/ inline UpdatePipelineRequest& AddPipelineActivities(const PipelineActivity& value) { m_pipelineActivitiesHasBeenSet = true; m_pipelineActivities.push_back(value); return *this; } /** *

A list of PipelineActivity objects. Activities perform * transformations on your messages, such as removing, renaming or adding message * attributes; filtering messages based on attribute values; invoking your Lambda * functions on messages for advanced processing; or performing mathematical * transformations to normalize device data.

The list can be 2-25 * PipelineActivity objects and must contain both a * channel and a datastore activity. Each entry in the * list must contain only one activity. For example:

* pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... * ]

*/ inline UpdatePipelineRequest& AddPipelineActivities(PipelineActivity&& value) { m_pipelineActivitiesHasBeenSet = true; m_pipelineActivities.push_back(std::move(value)); return *this; } private: Aws::String m_pipelineName; bool m_pipelineNameHasBeenSet = false; Aws::Vector m_pipelineActivities; bool m_pipelineActivitiesHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws