This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-iotanalytics/include/aws/iotanalytics/model/DeviceRegistryEnrichActivity.h

282 lines
8.9 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>An activity that adds data from the AWS IoT device registry to your
* message.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DeviceRegistryEnrichActivity">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DeviceRegistryEnrichActivity
{
public:
DeviceRegistryEnrichActivity();
DeviceRegistryEnrichActivity(Aws::Utils::Json::JsonView jsonValue);
DeviceRegistryEnrichActivity& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the 'deviceRegistryEnrich' activity.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the 'deviceRegistryEnrich' activity.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the 'deviceRegistryEnrich' activity.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the 'deviceRegistryEnrich' activity.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the 'deviceRegistryEnrich' activity.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the 'deviceRegistryEnrich' activity.</p>
*/
inline DeviceRegistryEnrichActivity& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the 'deviceRegistryEnrich' activity.</p>
*/
inline DeviceRegistryEnrichActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the 'deviceRegistryEnrich' activity.</p>
*/
inline DeviceRegistryEnrichActivity& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline const Aws::String& GetAttribute() const{ return m_attribute; }
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline void SetAttribute(const Aws::String& value) { m_attributeHasBeenSet = true; m_attribute = value; }
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline void SetAttribute(Aws::String&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); }
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline void SetAttribute(const char* value) { m_attributeHasBeenSet = true; m_attribute.assign(value); }
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline DeviceRegistryEnrichActivity& WithAttribute(const Aws::String& value) { SetAttribute(value); return *this;}
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline DeviceRegistryEnrichActivity& WithAttribute(Aws::String&& value) { SetAttribute(std::move(value)); return *this;}
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline DeviceRegistryEnrichActivity& WithAttribute(const char* value) { SetAttribute(value); return *this;}
/**
* <p>The name of the IoT device whose registry information is added to the
* message.</p>
*/
inline const Aws::String& GetThingName() const{ return m_thingName; }
/**
* <p>The name of the IoT device whose registry information is added to the
* message.</p>
*/
inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
/**
* <p>The name of the IoT device whose registry information is added to the
* message.</p>
*/
inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
/**
* <p>The name of the IoT device whose registry information is added to the
* message.</p>
*/
inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
/**
* <p>The name of the IoT device whose registry information is added to the
* message.</p>
*/
inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
/**
* <p>The name of the IoT device whose registry information is added to the
* message.</p>
*/
inline DeviceRegistryEnrichActivity& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
/**
* <p>The name of the IoT device whose registry information is added to the
* message.</p>
*/
inline DeviceRegistryEnrichActivity& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
/**
* <p>The name of the IoT device whose registry information is added to the
* message.</p>
*/
inline DeviceRegistryEnrichActivity& WithThingName(const char* value) { SetThingName(value); return *this;}
/**
* <p>The ARN of the role that allows access to the device's registry
* information.</p>
*/
inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
/**
* <p>The ARN of the role that allows access to the device's registry
* information.</p>
*/
inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
/**
* <p>The ARN of the role that allows access to the device's registry
* information.</p>
*/
inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
/**
* <p>The ARN of the role that allows access to the device's registry
* information.</p>
*/
inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
/**
* <p>The ARN of the role that allows access to the device's registry
* information.</p>
*/
inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
/**
* <p>The ARN of the role that allows access to the device's registry
* information.</p>
*/
inline DeviceRegistryEnrichActivity& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
/**
* <p>The ARN of the role that allows access to the device's registry
* information.</p>
*/
inline DeviceRegistryEnrichActivity& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
/**
* <p>The ARN of the role that allows access to the device's registry
* information.</p>
*/
inline DeviceRegistryEnrichActivity& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline const Aws::String& GetNext() const{ return m_next; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const Aws::String& value) { m_nextHasBeenSet = true; m_next = value; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(Aws::String&& value) { m_nextHasBeenSet = true; m_next = std::move(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const char* value) { m_nextHasBeenSet = true; m_next.assign(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline DeviceRegistryEnrichActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline DeviceRegistryEnrichActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline DeviceRegistryEnrichActivity& WithNext(const char* value) { SetNext(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_attribute;
bool m_attributeHasBeenSet;
Aws::String m_thingName;
bool m_thingNameHasBeenSet;
Aws::String m_roleArn;
bool m_roleArnHasBeenSet;
Aws::String m_next;
bool m_nextHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws