AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
SensorStatisticsSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
10#include <aws/lookoutequipment/model/CategoricalValues.h>
11#include <aws/lookoutequipment/model/CountPercent.h>
12#include <aws/lookoutequipment/model/LargeTimestampGaps.h>
13#include <aws/lookoutequipment/model/MonotonicValues.h>
14#include <aws/lookoutequipment/model/MultipleOperatingModes.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace LookoutEquipment {
26namespace Model {
27
36 public:
37 AWS_LOOKOUTEQUIPMENT_API SensorStatisticsSummary() = default;
38 AWS_LOOKOUTEQUIPMENT_API SensorStatisticsSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTEQUIPMENT_API SensorStatisticsSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
47 inline const Aws::String& GetComponentName() const { return m_componentName; }
48 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
49 template <typename ComponentNameT = Aws::String>
50 void SetComponentName(ComponentNameT&& value) {
51 m_componentNameHasBeenSet = true;
52 m_componentName = std::forward<ComponentNameT>(value);
53 }
54 template <typename ComponentNameT = Aws::String>
55 SensorStatisticsSummary& WithComponentName(ComponentNameT&& value) {
56 SetComponentName(std::forward<ComponentNameT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetSensorName() const { return m_sensorName; }
66 inline bool SensorNameHasBeenSet() const { return m_sensorNameHasBeenSet; }
67 template <typename SensorNameT = Aws::String>
68 void SetSensorName(SensorNameT&& value) {
69 m_sensorNameHasBeenSet = true;
70 m_sensorName = std::forward<SensorNameT>(value);
71 }
72 template <typename SensorNameT = Aws::String>
74 SetSensorName(std::forward<SensorNameT>(value));
75 return *this;
76 }
78
80
84 inline bool GetDataExists() const { return m_dataExists; }
85 inline bool DataExistsHasBeenSet() const { return m_dataExistsHasBeenSet; }
86 inline void SetDataExists(bool value) {
87 m_dataExistsHasBeenSet = true;
88 m_dataExists = value;
89 }
91 SetDataExists(value);
92 return *this;
93 }
95
97
101 inline const CountPercent& GetMissingValues() const { return m_missingValues; }
102 inline bool MissingValuesHasBeenSet() const { return m_missingValuesHasBeenSet; }
103 template <typename MissingValuesT = CountPercent>
104 void SetMissingValues(MissingValuesT&& value) {
105 m_missingValuesHasBeenSet = true;
106 m_missingValues = std::forward<MissingValuesT>(value);
107 }
108 template <typename MissingValuesT = CountPercent>
110 SetMissingValues(std::forward<MissingValuesT>(value));
111 return *this;
112 }
114
116
120 inline const CountPercent& GetInvalidValues() const { return m_invalidValues; }
121 inline bool InvalidValuesHasBeenSet() const { return m_invalidValuesHasBeenSet; }
122 template <typename InvalidValuesT = CountPercent>
123 void SetInvalidValues(InvalidValuesT&& value) {
124 m_invalidValuesHasBeenSet = true;
125 m_invalidValues = std::forward<InvalidValuesT>(value);
126 }
127 template <typename InvalidValuesT = CountPercent>
129 SetInvalidValues(std::forward<InvalidValuesT>(value));
130 return *this;
131 }
133
135
139 inline const CountPercent& GetInvalidDateEntries() const { return m_invalidDateEntries; }
140 inline bool InvalidDateEntriesHasBeenSet() const { return m_invalidDateEntriesHasBeenSet; }
141 template <typename InvalidDateEntriesT = CountPercent>
142 void SetInvalidDateEntries(InvalidDateEntriesT&& value) {
143 m_invalidDateEntriesHasBeenSet = true;
144 m_invalidDateEntries = std::forward<InvalidDateEntriesT>(value);
145 }
146 template <typename InvalidDateEntriesT = CountPercent>
147 SensorStatisticsSummary& WithInvalidDateEntries(InvalidDateEntriesT&& value) {
148 SetInvalidDateEntries(std::forward<InvalidDateEntriesT>(value));
149 return *this;
150 }
152
154
158 inline const CountPercent& GetDuplicateTimestamps() const { return m_duplicateTimestamps; }
159 inline bool DuplicateTimestampsHasBeenSet() const { return m_duplicateTimestampsHasBeenSet; }
160 template <typename DuplicateTimestampsT = CountPercent>
161 void SetDuplicateTimestamps(DuplicateTimestampsT&& value) {
162 m_duplicateTimestampsHasBeenSet = true;
163 m_duplicateTimestamps = std::forward<DuplicateTimestampsT>(value);
164 }
165 template <typename DuplicateTimestampsT = CountPercent>
166 SensorStatisticsSummary& WithDuplicateTimestamps(DuplicateTimestampsT&& value) {
167 SetDuplicateTimestamps(std::forward<DuplicateTimestampsT>(value));
168 return *this;
169 }
171
173
177 inline const CategoricalValues& GetCategoricalValues() const { return m_categoricalValues; }
178 inline bool CategoricalValuesHasBeenSet() const { return m_categoricalValuesHasBeenSet; }
179 template <typename CategoricalValuesT = CategoricalValues>
180 void SetCategoricalValues(CategoricalValuesT&& value) {
181 m_categoricalValuesHasBeenSet = true;
182 m_categoricalValues = std::forward<CategoricalValuesT>(value);
183 }
184 template <typename CategoricalValuesT = CategoricalValues>
185 SensorStatisticsSummary& WithCategoricalValues(CategoricalValuesT&& value) {
186 SetCategoricalValues(std::forward<CategoricalValuesT>(value));
187 return *this;
188 }
190
192
196 inline const MultipleOperatingModes& GetMultipleOperatingModes() const { return m_multipleOperatingModes; }
197 inline bool MultipleOperatingModesHasBeenSet() const { return m_multipleOperatingModesHasBeenSet; }
198 template <typename MultipleOperatingModesT = MultipleOperatingModes>
199 void SetMultipleOperatingModes(MultipleOperatingModesT&& value) {
200 m_multipleOperatingModesHasBeenSet = true;
201 m_multipleOperatingModes = std::forward<MultipleOperatingModesT>(value);
202 }
203 template <typename MultipleOperatingModesT = MultipleOperatingModes>
204 SensorStatisticsSummary& WithMultipleOperatingModes(MultipleOperatingModesT&& value) {
205 SetMultipleOperatingModes(std::forward<MultipleOperatingModesT>(value));
206 return *this;
207 }
209
211
215 inline const LargeTimestampGaps& GetLargeTimestampGaps() const { return m_largeTimestampGaps; }
216 inline bool LargeTimestampGapsHasBeenSet() const { return m_largeTimestampGapsHasBeenSet; }
217 template <typename LargeTimestampGapsT = LargeTimestampGaps>
218 void SetLargeTimestampGaps(LargeTimestampGapsT&& value) {
219 m_largeTimestampGapsHasBeenSet = true;
220 m_largeTimestampGaps = std::forward<LargeTimestampGapsT>(value);
221 }
222 template <typename LargeTimestampGapsT = LargeTimestampGaps>
223 SensorStatisticsSummary& WithLargeTimestampGaps(LargeTimestampGapsT&& value) {
224 SetLargeTimestampGaps(std::forward<LargeTimestampGapsT>(value));
225 return *this;
226 }
228
230
234 inline const MonotonicValues& GetMonotonicValues() const { return m_monotonicValues; }
235 inline bool MonotonicValuesHasBeenSet() const { return m_monotonicValuesHasBeenSet; }
236 template <typename MonotonicValuesT = MonotonicValues>
237 void SetMonotonicValues(MonotonicValuesT&& value) {
238 m_monotonicValuesHasBeenSet = true;
239 m_monotonicValues = std::forward<MonotonicValuesT>(value);
240 }
241 template <typename MonotonicValuesT = MonotonicValues>
242 SensorStatisticsSummary& WithMonotonicValues(MonotonicValuesT&& value) {
243 SetMonotonicValues(std::forward<MonotonicValuesT>(value));
244 return *this;
245 }
247
249
253 inline const Aws::Utils::DateTime& GetDataStartTime() const { return m_dataStartTime; }
254 inline bool DataStartTimeHasBeenSet() const { return m_dataStartTimeHasBeenSet; }
255 template <typename DataStartTimeT = Aws::Utils::DateTime>
256 void SetDataStartTime(DataStartTimeT&& value) {
257 m_dataStartTimeHasBeenSet = true;
258 m_dataStartTime = std::forward<DataStartTimeT>(value);
259 }
260 template <typename DataStartTimeT = Aws::Utils::DateTime>
262 SetDataStartTime(std::forward<DataStartTimeT>(value));
263 return *this;
264 }
266
268
272 inline const Aws::Utils::DateTime& GetDataEndTime() const { return m_dataEndTime; }
273 inline bool DataEndTimeHasBeenSet() const { return m_dataEndTimeHasBeenSet; }
274 template <typename DataEndTimeT = Aws::Utils::DateTime>
275 void SetDataEndTime(DataEndTimeT&& value) {
276 m_dataEndTimeHasBeenSet = true;
277 m_dataEndTime = std::forward<DataEndTimeT>(value);
278 }
279 template <typename DataEndTimeT = Aws::Utils::DateTime>
281 SetDataEndTime(std::forward<DataEndTimeT>(value));
282 return *this;
283 }
285 private:
286 Aws::String m_componentName;
287 bool m_componentNameHasBeenSet = false;
288
289 Aws::String m_sensorName;
290 bool m_sensorNameHasBeenSet = false;
291
292 bool m_dataExists{false};
293 bool m_dataExistsHasBeenSet = false;
294
295 CountPercent m_missingValues;
296 bool m_missingValuesHasBeenSet = false;
297
298 CountPercent m_invalidValues;
299 bool m_invalidValuesHasBeenSet = false;
300
301 CountPercent m_invalidDateEntries;
302 bool m_invalidDateEntriesHasBeenSet = false;
303
304 CountPercent m_duplicateTimestamps;
305 bool m_duplicateTimestampsHasBeenSet = false;
306
307 CategoricalValues m_categoricalValues;
308 bool m_categoricalValuesHasBeenSet = false;
309
310 MultipleOperatingModes m_multipleOperatingModes;
311 bool m_multipleOperatingModesHasBeenSet = false;
312
313 LargeTimestampGaps m_largeTimestampGaps;
314 bool m_largeTimestampGapsHasBeenSet = false;
315
316 MonotonicValues m_monotonicValues;
317 bool m_monotonicValuesHasBeenSet = false;
318
319 Aws::Utils::DateTime m_dataStartTime{};
320 bool m_dataStartTimeHasBeenSet = false;
321
322 Aws::Utils::DateTime m_dataEndTime{};
323 bool m_dataEndTimeHasBeenSet = false;
324};
325
326} // namespace Model
327} // namespace LookoutEquipment
328} // namespace Aws
SensorStatisticsSummary & WithInvalidValues(InvalidValuesT &&value)
SensorStatisticsSummary & WithCategoricalValues(CategoricalValuesT &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
SensorStatisticsSummary & WithMissingValues(MissingValuesT &&value)
void SetMultipleOperatingModes(MultipleOperatingModesT &&value)
AWS_LOOKOUTEQUIPMENT_API SensorStatisticsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTEQUIPMENT_API SensorStatisticsSummary(Aws::Utils::Json::JsonView jsonValue)
const MultipleOperatingModes & GetMultipleOperatingModes() const
SensorStatisticsSummary & WithInvalidDateEntries(InvalidDateEntriesT &&value)
SensorStatisticsSummary & WithComponentName(ComponentNameT &&value)
SensorStatisticsSummary & WithSensorName(SensorNameT &&value)
SensorStatisticsSummary & WithDataStartTime(DataStartTimeT &&value)
SensorStatisticsSummary & WithDuplicateTimestamps(DuplicateTimestampsT &&value)
SensorStatisticsSummary & WithMonotonicValues(MonotonicValuesT &&value)
SensorStatisticsSummary & WithDataEndTime(DataEndTimeT &&value)
SensorStatisticsSummary & WithLargeTimestampGaps(LargeTimestampGapsT &&value)
AWS_LOOKOUTEQUIPMENT_API SensorStatisticsSummary()=default
SensorStatisticsSummary & WithMultipleOperatingModes(MultipleOperatingModesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue