AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
PipelineActivity.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/model/ChannelActivity.h>
9#include <aws/iotanalytics/model/LambdaActivity.h>
10#include <aws/iotanalytics/model/DatastoreActivity.h>
11#include <aws/iotanalytics/model/AddAttributesActivity.h>
12#include <aws/iotanalytics/model/RemoveAttributesActivity.h>
13#include <aws/iotanalytics/model/SelectAttributesActivity.h>
14#include <aws/iotanalytics/model/FilterActivity.h>
15#include <aws/iotanalytics/model/MathActivity.h>
16#include <aws/iotanalytics/model/DeviceRegistryEnrichActivity.h>
17#include <aws/iotanalytics/model/DeviceShadowEnrichActivity.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace IoTAnalytics
31{
32namespace Model
33{
34
42 {
43 public:
44 AWS_IOTANALYTICS_API PipelineActivity() = default;
45 AWS_IOTANALYTICS_API PipelineActivity(Aws::Utils::Json::JsonView jsonValue);
46 AWS_IOTANALYTICS_API PipelineActivity& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const ChannelActivity& GetChannel() const { return m_channel; }
55 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
56 template<typename ChannelT = ChannelActivity>
57 void SetChannel(ChannelT&& value) { m_channelHasBeenSet = true; m_channel = std::forward<ChannelT>(value); }
58 template<typename ChannelT = ChannelActivity>
59 PipelineActivity& WithChannel(ChannelT&& value) { SetChannel(std::forward<ChannelT>(value)); return *this;}
61
63
66 inline const LambdaActivity& GetLambda() const { return m_lambda; }
67 inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
68 template<typename LambdaT = LambdaActivity>
69 void SetLambda(LambdaT&& value) { m_lambdaHasBeenSet = true; m_lambda = std::forward<LambdaT>(value); }
70 template<typename LambdaT = LambdaActivity>
71 PipelineActivity& WithLambda(LambdaT&& value) { SetLambda(std::forward<LambdaT>(value)); return *this;}
73
75
78 inline const DatastoreActivity& GetDatastore() const { return m_datastore; }
79 inline bool DatastoreHasBeenSet() const { return m_datastoreHasBeenSet; }
80 template<typename DatastoreT = DatastoreActivity>
81 void SetDatastore(DatastoreT&& value) { m_datastoreHasBeenSet = true; m_datastore = std::forward<DatastoreT>(value); }
82 template<typename DatastoreT = DatastoreActivity>
83 PipelineActivity& WithDatastore(DatastoreT&& value) { SetDatastore(std::forward<DatastoreT>(value)); return *this;}
85
87
90 inline const AddAttributesActivity& GetAddAttributes() const { return m_addAttributes; }
91 inline bool AddAttributesHasBeenSet() const { return m_addAttributesHasBeenSet; }
92 template<typename AddAttributesT = AddAttributesActivity>
93 void SetAddAttributes(AddAttributesT&& value) { m_addAttributesHasBeenSet = true; m_addAttributes = std::forward<AddAttributesT>(value); }
94 template<typename AddAttributesT = AddAttributesActivity>
95 PipelineActivity& WithAddAttributes(AddAttributesT&& value) { SetAddAttributes(std::forward<AddAttributesT>(value)); return *this;}
97
99
102 inline const RemoveAttributesActivity& GetRemoveAttributes() const { return m_removeAttributes; }
103 inline bool RemoveAttributesHasBeenSet() const { return m_removeAttributesHasBeenSet; }
104 template<typename RemoveAttributesT = RemoveAttributesActivity>
105 void SetRemoveAttributes(RemoveAttributesT&& value) { m_removeAttributesHasBeenSet = true; m_removeAttributes = std::forward<RemoveAttributesT>(value); }
106 template<typename RemoveAttributesT = RemoveAttributesActivity>
107 PipelineActivity& WithRemoveAttributes(RemoveAttributesT&& value) { SetRemoveAttributes(std::forward<RemoveAttributesT>(value)); return *this;}
109
111
115 inline const SelectAttributesActivity& GetSelectAttributes() const { return m_selectAttributes; }
116 inline bool SelectAttributesHasBeenSet() const { return m_selectAttributesHasBeenSet; }
117 template<typename SelectAttributesT = SelectAttributesActivity>
118 void SetSelectAttributes(SelectAttributesT&& value) { m_selectAttributesHasBeenSet = true; m_selectAttributes = std::forward<SelectAttributesT>(value); }
119 template<typename SelectAttributesT = SelectAttributesActivity>
120 PipelineActivity& WithSelectAttributes(SelectAttributesT&& value) { SetSelectAttributes(std::forward<SelectAttributesT>(value)); return *this;}
122
124
127 inline const FilterActivity& GetFilter() const { return m_filter; }
128 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
129 template<typename FilterT = FilterActivity>
130 void SetFilter(FilterT&& value) { m_filterHasBeenSet = true; m_filter = std::forward<FilterT>(value); }
131 template<typename FilterT = FilterActivity>
132 PipelineActivity& WithFilter(FilterT&& value) { SetFilter(std::forward<FilterT>(value)); return *this;}
134
136
140 inline const MathActivity& GetMath() const { return m_math; }
141 inline bool MathHasBeenSet() const { return m_mathHasBeenSet; }
142 template<typename MathT = MathActivity>
143 void SetMath(MathT&& value) { m_mathHasBeenSet = true; m_math = std::forward<MathT>(value); }
144 template<typename MathT = MathActivity>
145 PipelineActivity& WithMath(MathT&& value) { SetMath(std::forward<MathT>(value)); return *this;}
147
149
152 inline const DeviceRegistryEnrichActivity& GetDeviceRegistryEnrich() const { return m_deviceRegistryEnrich; }
153 inline bool DeviceRegistryEnrichHasBeenSet() const { return m_deviceRegistryEnrichHasBeenSet; }
154 template<typename DeviceRegistryEnrichT = DeviceRegistryEnrichActivity>
155 void SetDeviceRegistryEnrich(DeviceRegistryEnrichT&& value) { m_deviceRegistryEnrichHasBeenSet = true; m_deviceRegistryEnrich = std::forward<DeviceRegistryEnrichT>(value); }
156 template<typename DeviceRegistryEnrichT = DeviceRegistryEnrichActivity>
157 PipelineActivity& WithDeviceRegistryEnrich(DeviceRegistryEnrichT&& value) { SetDeviceRegistryEnrich(std::forward<DeviceRegistryEnrichT>(value)); return *this;}
159
161
164 inline const DeviceShadowEnrichActivity& GetDeviceShadowEnrich() const { return m_deviceShadowEnrich; }
165 inline bool DeviceShadowEnrichHasBeenSet() const { return m_deviceShadowEnrichHasBeenSet; }
166 template<typename DeviceShadowEnrichT = DeviceShadowEnrichActivity>
167 void SetDeviceShadowEnrich(DeviceShadowEnrichT&& value) { m_deviceShadowEnrichHasBeenSet = true; m_deviceShadowEnrich = std::forward<DeviceShadowEnrichT>(value); }
168 template<typename DeviceShadowEnrichT = DeviceShadowEnrichActivity>
169 PipelineActivity& WithDeviceShadowEnrich(DeviceShadowEnrichT&& value) { SetDeviceShadowEnrich(std::forward<DeviceShadowEnrichT>(value)); return *this;}
171 private:
172
173 ChannelActivity m_channel;
174 bool m_channelHasBeenSet = false;
175
176 LambdaActivity m_lambda;
177 bool m_lambdaHasBeenSet = false;
178
179 DatastoreActivity m_datastore;
180 bool m_datastoreHasBeenSet = false;
181
182 AddAttributesActivity m_addAttributes;
183 bool m_addAttributesHasBeenSet = false;
184
185 RemoveAttributesActivity m_removeAttributes;
186 bool m_removeAttributesHasBeenSet = false;
187
188 SelectAttributesActivity m_selectAttributes;
189 bool m_selectAttributesHasBeenSet = false;
190
191 FilterActivity m_filter;
192 bool m_filterHasBeenSet = false;
193
194 MathActivity m_math;
195 bool m_mathHasBeenSet = false;
196
197 DeviceRegistryEnrichActivity m_deviceRegistryEnrich;
198 bool m_deviceRegistryEnrichHasBeenSet = false;
199
200 DeviceShadowEnrichActivity m_deviceShadowEnrich;
201 bool m_deviceShadowEnrichHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace IoTAnalytics
206} // namespace Aws
PipelineActivity & WithDatastore(DatastoreT &&value)
AWS_IOTANALYTICS_API PipelineActivity(Aws::Utils::Json::JsonView jsonValue)
void SetRemoveAttributes(RemoveAttributesT &&value)
const AddAttributesActivity & GetAddAttributes() const
PipelineActivity & WithRemoveAttributes(RemoveAttributesT &&value)
AWS_IOTANALYTICS_API PipelineActivity()=default
PipelineActivity & WithDeviceRegistryEnrich(DeviceRegistryEnrichT &&value)
PipelineActivity & WithAddAttributes(AddAttributesT &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTANALYTICS_API PipelineActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
PipelineActivity & WithSelectAttributes(SelectAttributesT &&value)
PipelineActivity & WithDeviceShadowEnrich(DeviceShadowEnrichT &&value)
const DeviceRegistryEnrichActivity & GetDeviceRegistryEnrich() const
PipelineActivity & WithChannel(ChannelT &&value)
const SelectAttributesActivity & GetSelectAttributes() const
const DatastoreActivity & GetDatastore() const
PipelineActivity & WithFilter(FilterT &&value)
const LambdaActivity & GetLambda() const
PipelineActivity & WithMath(MathT &&value)
void SetSelectAttributes(SelectAttributesT &&value)
void SetDeviceRegistryEnrich(DeviceRegistryEnrichT &&value)
const ChannelActivity & GetChannel() const
void SetDeviceShadowEnrich(DeviceShadowEnrichT &&value)
const DeviceShadowEnrichActivity & GetDeviceShadowEnrich() const
const RemoveAttributesActivity & GetRemoveAttributes() const
const FilterActivity & GetFilter() const
PipelineActivity & WithLambda(LambdaT &&value)
void SetAddAttributes(AddAttributesT &&value)
Aws::Utils::Json::JsonValue JsonValue