AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 DeviceRegistryEnrichActivity& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetAttribute() const { return m_attribute; }
58 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
59 template<typename AttributeT = Aws::String>
60 void SetAttribute(AttributeT&& value) { m_attributeHasBeenSet = true; m_attribute = std::forward<AttributeT>(value); }
61 template<typename AttributeT = Aws::String>
62 DeviceRegistryEnrichActivity& WithAttribute(AttributeT&& value) { SetAttribute(std::forward<AttributeT>(value)); return *this;}
64
66
70 inline const Aws::String& GetThingName() const { return m_thingName; }
71 inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
72 template<typename ThingNameT = Aws::String>
73 void SetThingName(ThingNameT&& value) { m_thingNameHasBeenSet = true; m_thingName = std::forward<ThingNameT>(value); }
74 template<typename ThingNameT = Aws::String>
75 DeviceRegistryEnrichActivity& WithThingName(ThingNameT&& value) { SetThingName(std::forward<ThingNameT>(value)); return *this;}
77
79
83 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
84 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
85 template<typename RoleArnT = Aws::String>
86 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
87 template<typename RoleArnT = Aws::String>
88 DeviceRegistryEnrichActivity& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
90
92
95 inline const Aws::String& GetNext() const { return m_next; }
96 inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
97 template<typename NextT = Aws::String>
98 void SetNext(NextT&& value) { m_nextHasBeenSet = true; m_next = std::forward<NextT>(value); }
99 template<typename NextT = Aws::String>
100 DeviceRegistryEnrichActivity& WithNext(NextT&& value) { SetNext(std::forward<NextT>(value)); return *this;}
102 private:
103
104 Aws::String m_name;
105 bool m_nameHasBeenSet = false;
106
107 Aws::String m_attribute;
108 bool m_attributeHasBeenSet = false;
109
110 Aws::String m_thingName;
111 bool m_thingNameHasBeenSet = false;
112
113 Aws::String m_roleArn;
114 bool m_roleArnHasBeenSet = false;
115
116 Aws::String m_next;
117 bool m_nextHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace IoTAnalytics
122} // namespace Aws
AWS_IOTANALYTICS_API DeviceRegistryEnrichActivity(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
DeviceRegistryEnrichActivity & WithRoleArn(RoleArnT &&value)
DeviceRegistryEnrichActivity & WithName(NameT &&value)
DeviceRegistryEnrichActivity & WithThingName(ThingNameT &&value)
AWS_IOTANALYTICS_API DeviceRegistryEnrichActivity()=default
AWS_IOTANALYTICS_API DeviceRegistryEnrichActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
DeviceRegistryEnrichActivity & WithAttribute(AttributeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue