AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeviceRegistryEnrichActivity.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTAnalytics
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTANALYTICS_API DeviceRegistryEnrichActivity();
38 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline DeviceRegistryEnrichActivity& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline DeviceRegistryEnrichActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline DeviceRegistryEnrichActivity& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetAttribute() const{ return m_attribute; }
60 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
61 inline void SetAttribute(const Aws::String& value) { m_attributeHasBeenSet = true; m_attribute = value; }
62 inline void SetAttribute(Aws::String&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); }
63 inline void SetAttribute(const char* value) { m_attributeHasBeenSet = true; m_attribute.assign(value); }
64 inline DeviceRegistryEnrichActivity& WithAttribute(const Aws::String& value) { SetAttribute(value); return *this;}
65 inline DeviceRegistryEnrichActivity& WithAttribute(Aws::String&& value) { SetAttribute(std::move(value)); return *this;}
66 inline DeviceRegistryEnrichActivity& WithAttribute(const char* value) { SetAttribute(value); return *this;}
68
70
74 inline const Aws::String& GetThingName() const{ return m_thingName; }
75 inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
76 inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
77 inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
78 inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
79 inline DeviceRegistryEnrichActivity& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
80 inline DeviceRegistryEnrichActivity& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
81 inline DeviceRegistryEnrichActivity& WithThingName(const char* value) { SetThingName(value); return *this;}
83
85
89 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
90 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
91 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
92 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
93 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
94 inline DeviceRegistryEnrichActivity& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
95 inline DeviceRegistryEnrichActivity& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
96 inline DeviceRegistryEnrichActivity& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
98
100
103 inline const Aws::String& GetNext() const{ return m_next; }
104 inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
105 inline void SetNext(const Aws::String& value) { m_nextHasBeenSet = true; m_next = value; }
106 inline void SetNext(Aws::String&& value) { m_nextHasBeenSet = true; m_next = std::move(value); }
107 inline void SetNext(const char* value) { m_nextHasBeenSet = true; m_next.assign(value); }
108 inline DeviceRegistryEnrichActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;}
109 inline DeviceRegistryEnrichActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;}
110 inline DeviceRegistryEnrichActivity& WithNext(const char* value) { SetNext(value); return *this;}
112 private:
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
117 Aws::String m_attribute;
118 bool m_attributeHasBeenSet = false;
119
120 Aws::String m_thingName;
121 bool m_thingNameHasBeenSet = false;
122
123 Aws::String m_roleArn;
124 bool m_roleArnHasBeenSet = false;
125
126 Aws::String m_next;
127 bool m_nextHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace IoTAnalytics
132} // namespace Aws
DeviceRegistryEnrichActivity & WithAttribute(const char *value)
DeviceRegistryEnrichActivity & WithAttribute(Aws::String &&value)
DeviceRegistryEnrichActivity & WithThingName(Aws::String &&value)
AWS_IOTANALYTICS_API DeviceRegistryEnrichActivity(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
DeviceRegistryEnrichActivity & WithName(const Aws::String &value)
DeviceRegistryEnrichActivity & WithName(Aws::String &&value)
DeviceRegistryEnrichActivity & WithRoleArn(Aws::String &&value)
DeviceRegistryEnrichActivity & WithThingName(const char *value)
DeviceRegistryEnrichActivity & WithName(const char *value)
DeviceRegistryEnrichActivity & WithAttribute(const Aws::String &value)
DeviceRegistryEnrichActivity & WithRoleArn(const char *value)
AWS_IOTANALYTICS_API DeviceRegistryEnrichActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
DeviceRegistryEnrichActivity & WithNext(const char *value)
DeviceRegistryEnrichActivity & WithRoleArn(const Aws::String &value)
DeviceRegistryEnrichActivity & WithThingName(const Aws::String &value)
DeviceRegistryEnrichActivity & WithNext(const Aws::String &value)
DeviceRegistryEnrichActivity & WithNext(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue