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

An activity that adds data from the IoT device registry to your * message.

See Also:

AWS * API Reference

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

The name of the deviceRegistryEnrich activity.

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

The name of the deviceRegistryEnrich activity.

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

The name of the deviceRegistryEnrich activity.

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

The name of the deviceRegistryEnrich activity.

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

The name of the deviceRegistryEnrich activity.

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

The name of the deviceRegistryEnrich activity.

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

The name of the deviceRegistryEnrich activity.

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

The name of the deviceRegistryEnrich activity.

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

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 DeviceRegistryEnrichActivity& WithAttribute(const Aws::String& value) { SetAttribute(value); return *this;} /** *

The name of the attribute that is added to the message.

*/ inline DeviceRegistryEnrichActivity& WithAttribute(Aws::String&& value) { SetAttribute(std::move(value)); return *this;} /** *

The name of the attribute that is added to the message.

*/ inline DeviceRegistryEnrichActivity& WithAttribute(const char* value) { SetAttribute(value); return *this;} /** *

The name of the IoT device whose registry information is added to the * message.

*/ inline const Aws::String& GetThingName() const{ return m_thingName; } /** *

The name of the IoT device whose registry information is added to the * message.

*/ inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; } /** *

The name of the IoT device whose registry 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 registry 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 registry 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 registry information is added to the * message.

*/ inline DeviceRegistryEnrichActivity& WithThingName(const Aws::String& value) { SetThingName(value); return *this;} /** *

The name of the IoT device whose registry information is added to the * message.

*/ inline DeviceRegistryEnrichActivity& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;} /** *

The name of the IoT device whose registry information is added to the * message.

*/ inline DeviceRegistryEnrichActivity& WithThingName(const char* value) { SetThingName(value); return *this;} /** *

The ARN of the role that allows access to the device's registry * information.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The ARN of the role that allows access to the device's registry * information.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

The ARN of the role that allows access to the device's registry * information.

*/ 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 registry * information.

*/ 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 registry * information.

*/ 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 registry * information.

*/ inline DeviceRegistryEnrichActivity& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The ARN of the role that allows access to the device's registry * information.

*/ inline DeviceRegistryEnrichActivity& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The ARN of the role that allows access to the device's registry * information.

*/ inline DeviceRegistryEnrichActivity& 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 DeviceRegistryEnrichActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;} /** *

The next activity in the pipeline.

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

The next activity in the pipeline.

*/ inline DeviceRegistryEnrichActivity& 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