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

An activity that removes attributes from a message.

See Also:

* AWS * API Reference

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

The name of the removeAttributes activity.

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

The name of the removeAttributes activity.

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

The name of the removeAttributes activity.

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

The name of the removeAttributes activity.

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

The name of the removeAttributes activity.

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

The name of the removeAttributes activity.

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

The name of the removeAttributes activity.

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

The name of the removeAttributes activity.

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

A list of 1-50 attributes to remove from the message.

*/ inline const Aws::Vector& GetAttributes() const{ return m_attributes; } /** *

A list of 1-50 attributes to remove from the message.

*/ inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } /** *

A list of 1-50 attributes to remove from the message.

*/ inline void SetAttributes(const Aws::Vector& value) { m_attributesHasBeenSet = true; m_attributes = value; } /** *

A list of 1-50 attributes to remove from the message.

*/ inline void SetAttributes(Aws::Vector&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } /** *

A list of 1-50 attributes to remove from the message.

*/ inline RemoveAttributesActivity& WithAttributes(const Aws::Vector& value) { SetAttributes(value); return *this;} /** *

A list of 1-50 attributes to remove from the message.

*/ inline RemoveAttributesActivity& WithAttributes(Aws::Vector&& value) { SetAttributes(std::move(value)); return *this;} /** *

A list of 1-50 attributes to remove from the message.

*/ inline RemoveAttributesActivity& AddAttributes(const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; } /** *

A list of 1-50 attributes to remove from the message.

*/ inline RemoveAttributesActivity& AddAttributes(Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; } /** *

A list of 1-50 attributes to remove from the message.

*/ inline RemoveAttributesActivity& AddAttributes(const char* value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; } /** *

The next activity in the pipeline.

*/ inline const Aws::String& GetNext() const{ return m_next; } /** *

The next activity in the pipeline.

*/ inline bool NextHasBeenSet() const { return m_nextHasBeenSet; } /** *

The next activity in the pipeline.

*/ inline void SetNext(const Aws::String& value) { m_nextHasBeenSet = true; m_next = value; } /** *

The next activity in the pipeline.

*/ inline void SetNext(Aws::String&& value) { m_nextHasBeenSet = true; m_next = std::move(value); } /** *

The next activity in the pipeline.

*/ inline void SetNext(const char* value) { m_nextHasBeenSet = true; m_next.assign(value); } /** *

The next activity in the pipeline.

*/ inline RemoveAttributesActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;} /** *

The next activity in the pipeline.

*/ inline RemoveAttributesActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;} /** *

The next activity in the pipeline.

*/ inline RemoveAttributesActivity& WithNext(const char* value) { SetNext(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector m_attributes; bool m_attributesHasBeenSet = false; Aws::String m_next; bool m_nextHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws