AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChannel(const ChannelActivity& value) { m_channelHasBeenSet = true; m_channel = value; }
57 inline void SetChannel(ChannelActivity&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); }
58 inline PipelineActivity& WithChannel(const ChannelActivity& value) { SetChannel(value); return *this;}
59 inline PipelineActivity& WithChannel(ChannelActivity&& value) { SetChannel(std::move(value)); return *this;}
61
63
66 inline const LambdaActivity& GetLambda() const{ return m_lambda; }
67 inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
68 inline void SetLambda(const LambdaActivity& value) { m_lambdaHasBeenSet = true; m_lambda = value; }
69 inline void SetLambda(LambdaActivity&& value) { m_lambdaHasBeenSet = true; m_lambda = std::move(value); }
70 inline PipelineActivity& WithLambda(const LambdaActivity& value) { SetLambda(value); return *this;}
71 inline PipelineActivity& WithLambda(LambdaActivity&& value) { SetLambda(std::move(value)); return *this;}
73
75
78 inline const DatastoreActivity& GetDatastore() const{ return m_datastore; }
79 inline bool DatastoreHasBeenSet() const { return m_datastoreHasBeenSet; }
80 inline void SetDatastore(const DatastoreActivity& value) { m_datastoreHasBeenSet = true; m_datastore = value; }
81 inline void SetDatastore(DatastoreActivity&& value) { m_datastoreHasBeenSet = true; m_datastore = std::move(value); }
82 inline PipelineActivity& WithDatastore(const DatastoreActivity& value) { SetDatastore(value); return *this;}
83 inline PipelineActivity& WithDatastore(DatastoreActivity&& value) { SetDatastore(std::move(value)); return *this;}
85
87
90 inline const AddAttributesActivity& GetAddAttributes() const{ return m_addAttributes; }
91 inline bool AddAttributesHasBeenSet() const { return m_addAttributesHasBeenSet; }
92 inline void SetAddAttributes(const AddAttributesActivity& value) { m_addAttributesHasBeenSet = true; m_addAttributes = value; }
93 inline void SetAddAttributes(AddAttributesActivity&& value) { m_addAttributesHasBeenSet = true; m_addAttributes = std::move(value); }
94 inline PipelineActivity& WithAddAttributes(const AddAttributesActivity& value) { SetAddAttributes(value); return *this;}
95 inline PipelineActivity& WithAddAttributes(AddAttributesActivity&& value) { SetAddAttributes(std::move(value)); return *this;}
97
99
102 inline const RemoveAttributesActivity& GetRemoveAttributes() const{ return m_removeAttributes; }
103 inline bool RemoveAttributesHasBeenSet() const { return m_removeAttributesHasBeenSet; }
104 inline void SetRemoveAttributes(const RemoveAttributesActivity& value) { m_removeAttributesHasBeenSet = true; m_removeAttributes = value; }
105 inline void SetRemoveAttributes(RemoveAttributesActivity&& value) { m_removeAttributesHasBeenSet = true; m_removeAttributes = std::move(value); }
107 inline PipelineActivity& WithRemoveAttributes(RemoveAttributesActivity&& value) { SetRemoveAttributes(std::move(value)); return *this;}
109
111
115 inline const SelectAttributesActivity& GetSelectAttributes() const{ return m_selectAttributes; }
116 inline bool SelectAttributesHasBeenSet() const { return m_selectAttributesHasBeenSet; }
117 inline void SetSelectAttributes(const SelectAttributesActivity& value) { m_selectAttributesHasBeenSet = true; m_selectAttributes = value; }
118 inline void SetSelectAttributes(SelectAttributesActivity&& value) { m_selectAttributesHasBeenSet = true; m_selectAttributes = std::move(value); }
120 inline PipelineActivity& WithSelectAttributes(SelectAttributesActivity&& value) { SetSelectAttributes(std::move(value)); return *this;}
122
124
127 inline const FilterActivity& GetFilter() const{ return m_filter; }
128 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
129 inline void SetFilter(const FilterActivity& value) { m_filterHasBeenSet = true; m_filter = value; }
130 inline void SetFilter(FilterActivity&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
131 inline PipelineActivity& WithFilter(const FilterActivity& value) { SetFilter(value); return *this;}
132 inline PipelineActivity& WithFilter(FilterActivity&& value) { SetFilter(std::move(value)); return *this;}
134
136
140 inline const MathActivity& GetMath() const{ return m_math; }
141 inline bool MathHasBeenSet() const { return m_mathHasBeenSet; }
142 inline void SetMath(const MathActivity& value) { m_mathHasBeenSet = true; m_math = value; }
143 inline void SetMath(MathActivity&& value) { m_mathHasBeenSet = true; m_math = std::move(value); }
144 inline PipelineActivity& WithMath(const MathActivity& value) { SetMath(value); return *this;}
145 inline PipelineActivity& WithMath(MathActivity&& value) { SetMath(std::move(value)); return *this;}
147
149
152 inline const DeviceRegistryEnrichActivity& GetDeviceRegistryEnrich() const{ return m_deviceRegistryEnrich; }
153 inline bool DeviceRegistryEnrichHasBeenSet() const { return m_deviceRegistryEnrichHasBeenSet; }
154 inline void SetDeviceRegistryEnrich(const DeviceRegistryEnrichActivity& value) { m_deviceRegistryEnrichHasBeenSet = true; m_deviceRegistryEnrich = value; }
155 inline void SetDeviceRegistryEnrich(DeviceRegistryEnrichActivity&& value) { m_deviceRegistryEnrichHasBeenSet = true; m_deviceRegistryEnrich = std::move(value); }
159
161
164 inline const DeviceShadowEnrichActivity& GetDeviceShadowEnrich() const{ return m_deviceShadowEnrich; }
165 inline bool DeviceShadowEnrichHasBeenSet() const { return m_deviceShadowEnrichHasBeenSet; }
166 inline void SetDeviceShadowEnrich(const DeviceShadowEnrichActivity& value) { m_deviceShadowEnrichHasBeenSet = true; m_deviceShadowEnrich = value; }
167 inline void SetDeviceShadowEnrich(DeviceShadowEnrichActivity&& value) { m_deviceShadowEnrichHasBeenSet = true; m_deviceShadowEnrich = std::move(value); }
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 & WithDeviceRegistryEnrich(const DeviceRegistryEnrichActivity &value)
PipelineActivity & WithChannel(const ChannelActivity &value)
AWS_IOTANALYTICS_API PipelineActivity(Aws::Utils::Json::JsonView jsonValue)
const AddAttributesActivity & GetAddAttributes() const
PipelineActivity & WithDeviceShadowEnrich(DeviceShadowEnrichActivity &&value)
PipelineActivity & WithDatastore(const DatastoreActivity &value)
void SetRemoveAttributes(const RemoveAttributesActivity &value)
void SetDeviceRegistryEnrich(DeviceRegistryEnrichActivity &&value)
void SetChannel(const ChannelActivity &value)
PipelineActivity & WithAddAttributes(const AddAttributesActivity &value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTANALYTICS_API PipelineActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
PipelineActivity & WithRemoveAttributes(const RemoveAttributesActivity &value)
PipelineActivity & WithFilter(const FilterActivity &value)
void SetDeviceRegistryEnrich(const DeviceRegistryEnrichActivity &value)
PipelineActivity & WithLambda(LambdaActivity &&value)
PipelineActivity & WithDeviceShadowEnrich(const DeviceShadowEnrichActivity &value)
void SetAddAttributes(AddAttributesActivity &&value)
const DeviceRegistryEnrichActivity & GetDeviceRegistryEnrich() const
const SelectAttributesActivity & GetSelectAttributes() const
PipelineActivity & WithAddAttributes(AddAttributesActivity &&value)
PipelineActivity & WithLambda(const LambdaActivity &value)
void SetDeviceShadowEnrich(DeviceShadowEnrichActivity &&value)
void SetRemoveAttributes(RemoveAttributesActivity &&value)
PipelineActivity & WithSelectAttributes(SelectAttributesActivity &&value)
void SetDatastore(DatastoreActivity &&value)
const DatastoreActivity & GetDatastore() const
void SetDeviceShadowEnrich(const DeviceShadowEnrichActivity &value)
void SetLambda(const LambdaActivity &value)
void SetSelectAttributes(SelectAttributesActivity &&value)
void SetDatastore(const DatastoreActivity &value)
const LambdaActivity & GetLambda() const
void SetChannel(ChannelActivity &&value)
PipelineActivity & WithSelectAttributes(const SelectAttributesActivity &value)
void SetAddAttributes(const AddAttributesActivity &value)
PipelineActivity & WithRemoveAttributes(RemoveAttributesActivity &&value)
const ChannelActivity & GetChannel() const
PipelineActivity & WithMath(MathActivity &&value)
PipelineActivity & WithFilter(FilterActivity &&value)
const DeviceShadowEnrichActivity & GetDeviceShadowEnrich() const
PipelineActivity & WithChannel(ChannelActivity &&value)
const RemoveAttributesActivity & GetRemoveAttributes() const
void SetFilter(const FilterActivity &value)
void SetSelectAttributes(const SelectAttributesActivity &value)
const FilterActivity & GetFilter() const
PipelineActivity & WithDeviceRegistryEnrich(DeviceRegistryEnrichActivity &&value)
void SetMath(const MathActivity &value)
PipelineActivity & WithMath(const MathActivity &value)
PipelineActivity & WithDatastore(DatastoreActivity &&value)
Aws::Utils::Json::JsonValue JsonValue