AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
SensorStatisticsSummary.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutequipment/model/CountPercent.h>
10#include <aws/lookoutequipment/model/CategoricalValues.h>
11#include <aws/lookoutequipment/model/MultipleOperatingModes.h>
12#include <aws/lookoutequipment/model/LargeTimestampGaps.h>
13#include <aws/lookoutequipment/model/MonotonicValues.h>
14#include <aws/core/utils/DateTime.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace LookoutEquipment
28{
29namespace Model
30{
31
40 {
41 public:
42 AWS_LOOKOUTEQUIPMENT_API SensorStatisticsSummary() = default;
43 AWS_LOOKOUTEQUIPMENT_API SensorStatisticsSummary(Aws::Utils::Json::JsonView jsonValue);
44 AWS_LOOKOUTEQUIPMENT_API SensorStatisticsSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const Aws::String& GetComponentName() const { return m_componentName; }
54 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
55 template<typename ComponentNameT = Aws::String>
56 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet = true; m_componentName = std::forward<ComponentNameT>(value); }
57 template<typename ComponentNameT = Aws::String>
58 SensorStatisticsSummary& WithComponentName(ComponentNameT&& value) { SetComponentName(std::forward<ComponentNameT>(value)); return *this;}
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) { m_sensorNameHasBeenSet = true; m_sensorName = std::forward<SensorNameT>(value); }
69 template<typename SensorNameT = Aws::String>
70 SensorStatisticsSummary& WithSensorName(SensorNameT&& value) { SetSensorName(std::forward<SensorNameT>(value)); return *this;}
72
74
78 inline bool GetDataExists() const { return m_dataExists; }
79 inline bool DataExistsHasBeenSet() const { return m_dataExistsHasBeenSet; }
80 inline void SetDataExists(bool value) { m_dataExistsHasBeenSet = true; m_dataExists = value; }
81 inline SensorStatisticsSummary& WithDataExists(bool value) { SetDataExists(value); return *this;}
83
85
89 inline const CountPercent& GetMissingValues() const { return m_missingValues; }
90 inline bool MissingValuesHasBeenSet() const { return m_missingValuesHasBeenSet; }
91 template<typename MissingValuesT = CountPercent>
92 void SetMissingValues(MissingValuesT&& value) { m_missingValuesHasBeenSet = true; m_missingValues = std::forward<MissingValuesT>(value); }
93 template<typename MissingValuesT = CountPercent>
94 SensorStatisticsSummary& WithMissingValues(MissingValuesT&& value) { SetMissingValues(std::forward<MissingValuesT>(value)); return *this;}
96
98
102 inline const CountPercent& GetInvalidValues() const { return m_invalidValues; }
103 inline bool InvalidValuesHasBeenSet() const { return m_invalidValuesHasBeenSet; }
104 template<typename InvalidValuesT = CountPercent>
105 void SetInvalidValues(InvalidValuesT&& value) { m_invalidValuesHasBeenSet = true; m_invalidValues = std::forward<InvalidValuesT>(value); }
106 template<typename InvalidValuesT = CountPercent>
107 SensorStatisticsSummary& WithInvalidValues(InvalidValuesT&& value) { SetInvalidValues(std::forward<InvalidValuesT>(value)); return *this;}
109
111
115 inline const CountPercent& GetInvalidDateEntries() const { return m_invalidDateEntries; }
116 inline bool InvalidDateEntriesHasBeenSet() const { return m_invalidDateEntriesHasBeenSet; }
117 template<typename InvalidDateEntriesT = CountPercent>
118 void SetInvalidDateEntries(InvalidDateEntriesT&& value) { m_invalidDateEntriesHasBeenSet = true; m_invalidDateEntries = std::forward<InvalidDateEntriesT>(value); }
119 template<typename InvalidDateEntriesT = CountPercent>
120 SensorStatisticsSummary& WithInvalidDateEntries(InvalidDateEntriesT&& value) { SetInvalidDateEntries(std::forward<InvalidDateEntriesT>(value)); return *this;}
122
124
128 inline const CountPercent& GetDuplicateTimestamps() const { return m_duplicateTimestamps; }
129 inline bool DuplicateTimestampsHasBeenSet() const { return m_duplicateTimestampsHasBeenSet; }
130 template<typename DuplicateTimestampsT = CountPercent>
131 void SetDuplicateTimestamps(DuplicateTimestampsT&& value) { m_duplicateTimestampsHasBeenSet = true; m_duplicateTimestamps = std::forward<DuplicateTimestampsT>(value); }
132 template<typename DuplicateTimestampsT = CountPercent>
133 SensorStatisticsSummary& WithDuplicateTimestamps(DuplicateTimestampsT&& value) { SetDuplicateTimestamps(std::forward<DuplicateTimestampsT>(value)); return *this;}
135
137
141 inline const CategoricalValues& GetCategoricalValues() const { return m_categoricalValues; }
142 inline bool CategoricalValuesHasBeenSet() const { return m_categoricalValuesHasBeenSet; }
143 template<typename CategoricalValuesT = CategoricalValues>
144 void SetCategoricalValues(CategoricalValuesT&& value) { m_categoricalValuesHasBeenSet = true; m_categoricalValues = std::forward<CategoricalValuesT>(value); }
145 template<typename CategoricalValuesT = CategoricalValues>
146 SensorStatisticsSummary& WithCategoricalValues(CategoricalValuesT&& value) { SetCategoricalValues(std::forward<CategoricalValuesT>(value)); return *this;}
148
150
154 inline const MultipleOperatingModes& GetMultipleOperatingModes() const { return m_multipleOperatingModes; }
155 inline bool MultipleOperatingModesHasBeenSet() const { return m_multipleOperatingModesHasBeenSet; }
156 template<typename MultipleOperatingModesT = MultipleOperatingModes>
157 void SetMultipleOperatingModes(MultipleOperatingModesT&& value) { m_multipleOperatingModesHasBeenSet = true; m_multipleOperatingModes = std::forward<MultipleOperatingModesT>(value); }
158 template<typename MultipleOperatingModesT = MultipleOperatingModes>
159 SensorStatisticsSummary& WithMultipleOperatingModes(MultipleOperatingModesT&& value) { SetMultipleOperatingModes(std::forward<MultipleOperatingModesT>(value)); return *this;}
161
163
167 inline const LargeTimestampGaps& GetLargeTimestampGaps() const { return m_largeTimestampGaps; }
168 inline bool LargeTimestampGapsHasBeenSet() const { return m_largeTimestampGapsHasBeenSet; }
169 template<typename LargeTimestampGapsT = LargeTimestampGaps>
170 void SetLargeTimestampGaps(LargeTimestampGapsT&& value) { m_largeTimestampGapsHasBeenSet = true; m_largeTimestampGaps = std::forward<LargeTimestampGapsT>(value); }
171 template<typename LargeTimestampGapsT = LargeTimestampGaps>
172 SensorStatisticsSummary& WithLargeTimestampGaps(LargeTimestampGapsT&& value) { SetLargeTimestampGaps(std::forward<LargeTimestampGapsT>(value)); return *this;}
174
176
180 inline const MonotonicValues& GetMonotonicValues() const { return m_monotonicValues; }
181 inline bool MonotonicValuesHasBeenSet() const { return m_monotonicValuesHasBeenSet; }
182 template<typename MonotonicValuesT = MonotonicValues>
183 void SetMonotonicValues(MonotonicValuesT&& value) { m_monotonicValuesHasBeenSet = true; m_monotonicValues = std::forward<MonotonicValuesT>(value); }
184 template<typename MonotonicValuesT = MonotonicValues>
185 SensorStatisticsSummary& WithMonotonicValues(MonotonicValuesT&& value) { SetMonotonicValues(std::forward<MonotonicValuesT>(value)); return *this;}
187
189
193 inline const Aws::Utils::DateTime& GetDataStartTime() const { return m_dataStartTime; }
194 inline bool DataStartTimeHasBeenSet() const { return m_dataStartTimeHasBeenSet; }
195 template<typename DataStartTimeT = Aws::Utils::DateTime>
196 void SetDataStartTime(DataStartTimeT&& value) { m_dataStartTimeHasBeenSet = true; m_dataStartTime = std::forward<DataStartTimeT>(value); }
197 template<typename DataStartTimeT = Aws::Utils::DateTime>
198 SensorStatisticsSummary& WithDataStartTime(DataStartTimeT&& value) { SetDataStartTime(std::forward<DataStartTimeT>(value)); return *this;}
200
202
206 inline const Aws::Utils::DateTime& GetDataEndTime() const { return m_dataEndTime; }
207 inline bool DataEndTimeHasBeenSet() const { return m_dataEndTimeHasBeenSet; }
208 template<typename DataEndTimeT = Aws::Utils::DateTime>
209 void SetDataEndTime(DataEndTimeT&& value) { m_dataEndTimeHasBeenSet = true; m_dataEndTime = std::forward<DataEndTimeT>(value); }
210 template<typename DataEndTimeT = Aws::Utils::DateTime>
211 SensorStatisticsSummary& WithDataEndTime(DataEndTimeT&& value) { SetDataEndTime(std::forward<DataEndTimeT>(value)); return *this;}
213 private:
214
215 Aws::String m_componentName;
216 bool m_componentNameHasBeenSet = false;
217
218 Aws::String m_sensorName;
219 bool m_sensorNameHasBeenSet = false;
220
221 bool m_dataExists{false};
222 bool m_dataExistsHasBeenSet = false;
223
224 CountPercent m_missingValues;
225 bool m_missingValuesHasBeenSet = false;
226
227 CountPercent m_invalidValues;
228 bool m_invalidValuesHasBeenSet = false;
229
230 CountPercent m_invalidDateEntries;
231 bool m_invalidDateEntriesHasBeenSet = false;
232
233 CountPercent m_duplicateTimestamps;
234 bool m_duplicateTimestampsHasBeenSet = false;
235
236 CategoricalValues m_categoricalValues;
237 bool m_categoricalValuesHasBeenSet = false;
238
239 MultipleOperatingModes m_multipleOperatingModes;
240 bool m_multipleOperatingModesHasBeenSet = false;
241
242 LargeTimestampGaps m_largeTimestampGaps;
243 bool m_largeTimestampGapsHasBeenSet = false;
244
245 MonotonicValues m_monotonicValues;
246 bool m_monotonicValuesHasBeenSet = false;
247
248 Aws::Utils::DateTime m_dataStartTime{};
249 bool m_dataStartTimeHasBeenSet = false;
250
251 Aws::Utils::DateTime m_dataEndTime{};
252 bool m_dataEndTimeHasBeenSet = false;
253 };
254
255} // namespace Model
256} // namespace LookoutEquipment
257} // 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