AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 DeviceShadowEnrichActivity& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline DeviceShadowEnrichActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline DeviceShadowEnrichActivity& 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 DeviceShadowEnrichActivity& WithAttribute(const Aws::String& value) { SetAttribute(value); return *this;}
65 inline DeviceShadowEnrichActivity& WithAttribute(Aws::String&& value) { SetAttribute(std::move(value)); return *this;}
66 inline DeviceShadowEnrichActivity& 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 DeviceShadowEnrichActivity& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
80 inline DeviceShadowEnrichActivity& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
81 inline DeviceShadowEnrichActivity& WithThingName(const char* value) { SetThingName(value); return *this;}
83
85
88 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
89 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
90 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
91 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
92 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
93 inline DeviceShadowEnrichActivity& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
94 inline DeviceShadowEnrichActivity& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
95 inline DeviceShadowEnrichActivity& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
97
99
102 inline const Aws::String& GetNext() const{ return m_next; }
103 inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
104 inline void SetNext(const Aws::String& value) { m_nextHasBeenSet = true; m_next = value; }
105 inline void SetNext(Aws::String&& value) { m_nextHasBeenSet = true; m_next = std::move(value); }
106 inline void SetNext(const char* value) { m_nextHasBeenSet = true; m_next.assign(value); }
107 inline DeviceShadowEnrichActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;}
108 inline DeviceShadowEnrichActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;}
109 inline DeviceShadowEnrichActivity& WithNext(const char* value) { SetNext(value); return *this;}
111 private:
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 Aws::String m_attribute;
117 bool m_attributeHasBeenSet = false;
118
119 Aws::String m_thingName;
120 bool m_thingNameHasBeenSet = false;
121
122 Aws::String m_roleArn;
123 bool m_roleArnHasBeenSet = false;
124
125 Aws::String m_next;
126 bool m_nextHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace IoTAnalytics
131} // namespace Aws
DeviceShadowEnrichActivity & WithRoleArn(const Aws::String &value)
DeviceShadowEnrichActivity & WithThingName(const char *value)
DeviceShadowEnrichActivity & WithName(const Aws::String &value)
DeviceShadowEnrichActivity & WithRoleArn(const char *value)
DeviceShadowEnrichActivity & WithAttribute(const Aws::String &value)
DeviceShadowEnrichActivity & WithThingName(const Aws::String &value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
DeviceShadowEnrichActivity & WithAttribute(const char *value)
AWS_IOTANALYTICS_API DeviceShadowEnrichActivity(Aws::Utils::Json::JsonView jsonValue)
DeviceShadowEnrichActivity & WithNext(const char *value)
AWS_IOTANALYTICS_API DeviceShadowEnrichActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
DeviceShadowEnrichActivity & WithName(const char *value)
DeviceShadowEnrichActivity & WithRoleArn(Aws::String &&value)
DeviceShadowEnrichActivity & WithName(Aws::String &&value)
DeviceShadowEnrichActivity & WithAttribute(Aws::String &&value)
DeviceShadowEnrichActivity & WithThingName(Aws::String &&value)
DeviceShadowEnrichActivity & WithNext(Aws::String &&value)
DeviceShadowEnrichActivity & WithNext(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue