AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeviceShadowEnrichActivity.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 DeviceShadowEnrichActivity() = 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 DeviceShadowEnrichActivity& 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 DeviceShadowEnrichActivity& 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 DeviceShadowEnrichActivity& WithThingName(ThingNameT&& value) { SetThingName(std::forward<ThingNameT>(value)); return *this;}
77
79
82 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
83 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
84 template<typename RoleArnT = Aws::String>
85 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
86 template<typename RoleArnT = Aws::String>
87 DeviceShadowEnrichActivity& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
89
91
94 inline const Aws::String& GetNext() const { return m_next; }
95 inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
96 template<typename NextT = Aws::String>
97 void SetNext(NextT&& value) { m_nextHasBeenSet = true; m_next = std::forward<NextT>(value); }
98 template<typename NextT = Aws::String>
99 DeviceShadowEnrichActivity& WithNext(NextT&& value) { SetNext(std::forward<NextT>(value)); return *this;}
101 private:
102
103 Aws::String m_name;
104 bool m_nameHasBeenSet = false;
105
106 Aws::String m_attribute;
107 bool m_attributeHasBeenSet = false;
108
109 Aws::String m_thingName;
110 bool m_thingNameHasBeenSet = false;
111
112 Aws::String m_roleArn;
113 bool m_roleArnHasBeenSet = false;
114
115 Aws::String m_next;
116 bool m_nextHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace IoTAnalytics
121} // namespace Aws
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTANALYTICS_API DeviceShadowEnrichActivity(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTANALYTICS_API DeviceShadowEnrichActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
DeviceShadowEnrichActivity & WithThingName(ThingNameT &&value)
DeviceShadowEnrichActivity & WithRoleArn(RoleArnT &&value)
DeviceShadowEnrichActivity & WithNext(NextT &&value)
DeviceShadowEnrichActivity & WithName(NameT &&value)
AWS_IOTANALYTICS_API DeviceShadowEnrichActivity()=default
DeviceShadowEnrichActivity & WithAttribute(AttributeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue