/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An activity that adds other attributes based on existing attributes in the
* message.See Also:
AWS
* API Reference
The name of the 'addAttributes' activity.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the 'addAttributes' activity.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the 'addAttributes' activity.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the 'addAttributes' activity.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the 'addAttributes' activity.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the 'addAttributes' activity.
*/ inline AddAttributesActivity& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the 'addAttributes' activity.
*/ inline AddAttributesActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the 'addAttributes' activity.
*/ inline AddAttributesActivity& WithName(const char* value) { SetName(value); return *this;} /** *A list of 1-50 "AttributeNameMapping" objects that map an existing attribute * to a new attribute.
The existing attributes remain in the message, * so if you want to remove the originals, use "RemoveAttributeActivity".
* */ inline const Aws::MapA list of 1-50 "AttributeNameMapping" objects that map an existing attribute * to a new attribute.
The existing attributes remain in the message, * so if you want to remove the originals, use "RemoveAttributeActivity".
* */ inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } /** *A list of 1-50 "AttributeNameMapping" objects that map an existing attribute * to a new attribute.
The existing attributes remain in the message, * so if you want to remove the originals, use "RemoveAttributeActivity".
* */ inline void SetAttributes(const Aws::MapA list of 1-50 "AttributeNameMapping" objects that map an existing attribute * to a new attribute.
The existing attributes remain in the message, * so if you want to remove the originals, use "RemoveAttributeActivity".
* */ inline void SetAttributes(Aws::MapA list of 1-50 "AttributeNameMapping" objects that map an existing attribute * to a new attribute.
The existing attributes remain in the message, * so if you want to remove the originals, use "RemoveAttributeActivity".
* */ inline AddAttributesActivity& WithAttributes(const Aws::MapA list of 1-50 "AttributeNameMapping" objects that map an existing attribute * to a new attribute.
The existing attributes remain in the message, * so if you want to remove the originals, use "RemoveAttributeActivity".
* */ inline AddAttributesActivity& WithAttributes(Aws::MapA list of 1-50 "AttributeNameMapping" objects that map an existing attribute * to a new attribute.
The existing attributes remain in the message, * so if you want to remove the originals, use "RemoveAttributeActivity".
* */ inline AddAttributesActivity& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } /** *A list of 1-50 "AttributeNameMapping" objects that map an existing attribute * to a new attribute.
The existing attributes remain in the message, * so if you want to remove the originals, use "RemoveAttributeActivity".
* */ inline AddAttributesActivity& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } /** *A list of 1-50 "AttributeNameMapping" objects that map an existing attribute * to a new attribute.
The existing attributes remain in the message, * so if you want to remove the originals, use "RemoveAttributeActivity".
* */ inline AddAttributesActivity& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } /** *A list of 1-50 "AttributeNameMapping" objects that map an existing attribute * to a new attribute.
The existing attributes remain in the message, * so if you want to remove the originals, use "RemoveAttributeActivity".
* */ inline AddAttributesActivity& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; } /** *A list of 1-50 "AttributeNameMapping" objects that map an existing attribute * to a new attribute.
The existing attributes remain in the message, * so if you want to remove the originals, use "RemoveAttributeActivity".
* */ inline AddAttributesActivity& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } /** *A list of 1-50 "AttributeNameMapping" objects that map an existing attribute * to a new attribute.
The existing attributes remain in the message, * so if you want to remove the originals, use "RemoveAttributeActivity".
* */ inline AddAttributesActivity& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } /** *A list of 1-50 "AttributeNameMapping" objects that map an existing attribute * to a new attribute.
The existing attributes remain in the message, * so if you want to remove the originals, use "RemoveAttributeActivity".
* */ inline AddAttributesActivity& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, 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 AddAttributesActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;} /** *The next activity in the pipeline.
*/ inline AddAttributesActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;} /** *The next activity in the pipeline.
*/ inline AddAttributesActivity& WithNext(const char* value) { SetNext(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet; Aws::Map