/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An activity that adds information from the IoT Device Shadow service to a
* message.See Also:
AWS
* API Reference
The name of the deviceShadowEnrich
activity.
The name of the deviceShadowEnrich
activity.
The name of the deviceShadowEnrich
activity.
The name of the deviceShadowEnrich
activity.
The name of the deviceShadowEnrich
activity.
The name of the deviceShadowEnrich
activity.
The name of the deviceShadowEnrich
activity.
The name of the deviceShadowEnrich
activity.
The name of the attribute that is added to the message.
*/ inline const Aws::String& GetAttribute() const{ return m_attribute; } /** *The name of the attribute that is added to the message.
*/ inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; } /** *The name of the attribute that is added to the message.
*/ inline void SetAttribute(const Aws::String& value) { m_attributeHasBeenSet = true; m_attribute = value; } /** *The name of the attribute that is added to the message.
*/ inline void SetAttribute(Aws::String&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); } /** *The name of the attribute that is added to the message.
*/ inline void SetAttribute(const char* value) { m_attributeHasBeenSet = true; m_attribute.assign(value); } /** *The name of the attribute that is added to the message.
*/ inline DeviceShadowEnrichActivity& WithAttribute(const Aws::String& value) { SetAttribute(value); return *this;} /** *The name of the attribute that is added to the message.
*/ inline DeviceShadowEnrichActivity& WithAttribute(Aws::String&& value) { SetAttribute(std::move(value)); return *this;} /** *The name of the attribute that is added to the message.
*/ inline DeviceShadowEnrichActivity& WithAttribute(const char* value) { SetAttribute(value); return *this;} /** *The name of the IoT device whose shadow information is added to the * message.
*/ inline const Aws::String& GetThingName() const{ return m_thingName; } /** *The name of the IoT device whose shadow information is added to the * message.
*/ inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; } /** *The name of the IoT device whose shadow information is added to the * message.
*/ inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; } /** *The name of the IoT device whose shadow information is added to the * message.
*/ inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); } /** *The name of the IoT device whose shadow information is added to the * message.
*/ inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); } /** *The name of the IoT device whose shadow information is added to the * message.
*/ inline DeviceShadowEnrichActivity& WithThingName(const Aws::String& value) { SetThingName(value); return *this;} /** *The name of the IoT device whose shadow information is added to the * message.
*/ inline DeviceShadowEnrichActivity& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;} /** *The name of the IoT device whose shadow information is added to the * message.
*/ inline DeviceShadowEnrichActivity& WithThingName(const char* value) { SetThingName(value); return *this;} /** *The ARN of the role that allows access to the device's shadow.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The ARN of the role that allows access to the device's shadow.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The ARN of the role that allows access to the device's shadow.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The ARN of the role that allows access to the device's shadow.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The ARN of the role that allows access to the device's shadow.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The ARN of the role that allows access to the device's shadow.
*/ inline DeviceShadowEnrichActivity& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The ARN of the role that allows access to the device's shadow.
*/ inline DeviceShadowEnrichActivity& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The ARN of the role that allows access to the device's shadow.
*/ inline DeviceShadowEnrichActivity& WithRoleArn(const char* value) { SetRoleArn(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 DeviceShadowEnrichActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;} /** *The next activity in the pipeline.
*/ inline DeviceShadowEnrichActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;} /** *The next activity in the pipeline.
*/ inline DeviceShadowEnrichActivity& WithNext(const char* value) { SetNext(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_attribute; bool m_attributeHasBeenSet = false; Aws::String m_thingName; bool m_thingNameHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::String m_next; bool m_nextHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws