/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LookoutEquipment { namespace Model { /** *

Summary of ingestion statistics like whether data exists, number of missing * values, number of invalid values and so on related to the particular sensor. *

See Also:

AWS * API Reference

*/ class SensorStatisticsSummary { public: AWS_LOOKOUTEQUIPMENT_API SensorStatisticsSummary(); AWS_LOOKOUTEQUIPMENT_API SensorStatisticsSummary(Aws::Utils::Json::JsonView jsonValue); AWS_LOOKOUTEQUIPMENT_API SensorStatisticsSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Name of the component to which the particular sensor belongs for which the * statistics belong to.

*/ inline const Aws::String& GetComponentName() const{ return m_componentName; } /** *

Name of the component to which the particular sensor belongs for which the * statistics belong to.

*/ inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; } /** *

Name of the component to which the particular sensor belongs for which the * statistics belong to.

*/ inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; } /** *

Name of the component to which the particular sensor belongs for which the * statistics belong to.

*/ inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); } /** *

Name of the component to which the particular sensor belongs for which the * statistics belong to.

*/ inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); } /** *

Name of the component to which the particular sensor belongs for which the * statistics belong to.

*/ inline SensorStatisticsSummary& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;} /** *

Name of the component to which the particular sensor belongs for which the * statistics belong to.

*/ inline SensorStatisticsSummary& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;} /** *

Name of the component to which the particular sensor belongs for which the * statistics belong to.

*/ inline SensorStatisticsSummary& WithComponentName(const char* value) { SetComponentName(value); return *this;} /** *

Name of the sensor that the statistics belong to.

*/ inline const Aws::String& GetSensorName() const{ return m_sensorName; } /** *

Name of the sensor that the statistics belong to.

*/ inline bool SensorNameHasBeenSet() const { return m_sensorNameHasBeenSet; } /** *

Name of the sensor that the statistics belong to.

*/ inline void SetSensorName(const Aws::String& value) { m_sensorNameHasBeenSet = true; m_sensorName = value; } /** *

Name of the sensor that the statistics belong to.

*/ inline void SetSensorName(Aws::String&& value) { m_sensorNameHasBeenSet = true; m_sensorName = std::move(value); } /** *

Name of the sensor that the statistics belong to.

*/ inline void SetSensorName(const char* value) { m_sensorNameHasBeenSet = true; m_sensorName.assign(value); } /** *

Name of the sensor that the statistics belong to.

*/ inline SensorStatisticsSummary& WithSensorName(const Aws::String& value) { SetSensorName(value); return *this;} /** *

Name of the sensor that the statistics belong to.

*/ inline SensorStatisticsSummary& WithSensorName(Aws::String&& value) { SetSensorName(std::move(value)); return *this;} /** *

Name of the sensor that the statistics belong to.

*/ inline SensorStatisticsSummary& WithSensorName(const char* value) { SetSensorName(value); return *this;} /** *

Parameter that indicates whether data exists for the sensor that the * statistics belong to.

*/ inline bool GetDataExists() const{ return m_dataExists; } /** *

Parameter that indicates whether data exists for the sensor that the * statistics belong to.

*/ inline bool DataExistsHasBeenSet() const { return m_dataExistsHasBeenSet; } /** *

Parameter that indicates whether data exists for the sensor that the * statistics belong to.

*/ inline void SetDataExists(bool value) { m_dataExistsHasBeenSet = true; m_dataExists = value; } /** *

Parameter that indicates whether data exists for the sensor that the * statistics belong to.

*/ inline SensorStatisticsSummary& WithDataExists(bool value) { SetDataExists(value); return *this;} /** *

Parameter that describes the total number of, and percentage of, values that * are missing for the sensor that the statistics belong to.

*/ inline const CountPercent& GetMissingValues() const{ return m_missingValues; } /** *

Parameter that describes the total number of, and percentage of, values that * are missing for the sensor that the statistics belong to.

*/ inline bool MissingValuesHasBeenSet() const { return m_missingValuesHasBeenSet; } /** *

Parameter that describes the total number of, and percentage of, values that * are missing for the sensor that the statistics belong to.

*/ inline void SetMissingValues(const CountPercent& value) { m_missingValuesHasBeenSet = true; m_missingValues = value; } /** *

Parameter that describes the total number of, and percentage of, values that * are missing for the sensor that the statistics belong to.

*/ inline void SetMissingValues(CountPercent&& value) { m_missingValuesHasBeenSet = true; m_missingValues = std::move(value); } /** *

Parameter that describes the total number of, and percentage of, values that * are missing for the sensor that the statistics belong to.

*/ inline SensorStatisticsSummary& WithMissingValues(const CountPercent& value) { SetMissingValues(value); return *this;} /** *

Parameter that describes the total number of, and percentage of, values that * are missing for the sensor that the statistics belong to.

*/ inline SensorStatisticsSummary& WithMissingValues(CountPercent&& value) { SetMissingValues(std::move(value)); return *this;} /** *

Parameter that describes the total number of, and percentage of, values that * are invalid for the sensor that the statistics belong to.

*/ inline const CountPercent& GetInvalidValues() const{ return m_invalidValues; } /** *

Parameter that describes the total number of, and percentage of, values that * are invalid for the sensor that the statistics belong to.

*/ inline bool InvalidValuesHasBeenSet() const { return m_invalidValuesHasBeenSet; } /** *

Parameter that describes the total number of, and percentage of, values that * are invalid for the sensor that the statistics belong to.

*/ inline void SetInvalidValues(const CountPercent& value) { m_invalidValuesHasBeenSet = true; m_invalidValues = value; } /** *

Parameter that describes the total number of, and percentage of, values that * are invalid for the sensor that the statistics belong to.

*/ inline void SetInvalidValues(CountPercent&& value) { m_invalidValuesHasBeenSet = true; m_invalidValues = std::move(value); } /** *

Parameter that describes the total number of, and percentage of, values that * are invalid for the sensor that the statistics belong to.

*/ inline SensorStatisticsSummary& WithInvalidValues(const CountPercent& value) { SetInvalidValues(value); return *this;} /** *

Parameter that describes the total number of, and percentage of, values that * are invalid for the sensor that the statistics belong to.

*/ inline SensorStatisticsSummary& WithInvalidValues(CountPercent&& value) { SetInvalidValues(std::move(value)); return *this;} /** *

Parameter that describes the total number of invalid date entries associated * with the sensor that the statistics belong to.

*/ inline const CountPercent& GetInvalidDateEntries() const{ return m_invalidDateEntries; } /** *

Parameter that describes the total number of invalid date entries associated * with the sensor that the statistics belong to.

*/ inline bool InvalidDateEntriesHasBeenSet() const { return m_invalidDateEntriesHasBeenSet; } /** *

Parameter that describes the total number of invalid date entries associated * with the sensor that the statistics belong to.

*/ inline void SetInvalidDateEntries(const CountPercent& value) { m_invalidDateEntriesHasBeenSet = true; m_invalidDateEntries = value; } /** *

Parameter that describes the total number of invalid date entries associated * with the sensor that the statistics belong to.

*/ inline void SetInvalidDateEntries(CountPercent&& value) { m_invalidDateEntriesHasBeenSet = true; m_invalidDateEntries = std::move(value); } /** *

Parameter that describes the total number of invalid date entries associated * with the sensor that the statistics belong to.

*/ inline SensorStatisticsSummary& WithInvalidDateEntries(const CountPercent& value) { SetInvalidDateEntries(value); return *this;} /** *

Parameter that describes the total number of invalid date entries associated * with the sensor that the statistics belong to.

*/ inline SensorStatisticsSummary& WithInvalidDateEntries(CountPercent&& value) { SetInvalidDateEntries(std::move(value)); return *this;} /** *

Parameter that describes the total number of duplicate timestamp records * associated with the sensor that the statistics belong to.

*/ inline const CountPercent& GetDuplicateTimestamps() const{ return m_duplicateTimestamps; } /** *

Parameter that describes the total number of duplicate timestamp records * associated with the sensor that the statistics belong to.

*/ inline bool DuplicateTimestampsHasBeenSet() const { return m_duplicateTimestampsHasBeenSet; } /** *

Parameter that describes the total number of duplicate timestamp records * associated with the sensor that the statistics belong to.

*/ inline void SetDuplicateTimestamps(const CountPercent& value) { m_duplicateTimestampsHasBeenSet = true; m_duplicateTimestamps = value; } /** *

Parameter that describes the total number of duplicate timestamp records * associated with the sensor that the statistics belong to.

*/ inline void SetDuplicateTimestamps(CountPercent&& value) { m_duplicateTimestampsHasBeenSet = true; m_duplicateTimestamps = std::move(value); } /** *

Parameter that describes the total number of duplicate timestamp records * associated with the sensor that the statistics belong to.

*/ inline SensorStatisticsSummary& WithDuplicateTimestamps(const CountPercent& value) { SetDuplicateTimestamps(value); return *this;} /** *

Parameter that describes the total number of duplicate timestamp records * associated with the sensor that the statistics belong to.

*/ inline SensorStatisticsSummary& WithDuplicateTimestamps(CountPercent&& value) { SetDuplicateTimestamps(std::move(value)); return *this;} /** *

Parameter that describes potential risk about whether data associated with * the sensor is categorical.

*/ inline const CategoricalValues& GetCategoricalValues() const{ return m_categoricalValues; } /** *

Parameter that describes potential risk about whether data associated with * the sensor is categorical.

*/ inline bool CategoricalValuesHasBeenSet() const { return m_categoricalValuesHasBeenSet; } /** *

Parameter that describes potential risk about whether data associated with * the sensor is categorical.

*/ inline void SetCategoricalValues(const CategoricalValues& value) { m_categoricalValuesHasBeenSet = true; m_categoricalValues = value; } /** *

Parameter that describes potential risk about whether data associated with * the sensor is categorical.

*/ inline void SetCategoricalValues(CategoricalValues&& value) { m_categoricalValuesHasBeenSet = true; m_categoricalValues = std::move(value); } /** *

Parameter that describes potential risk about whether data associated with * the sensor is categorical.

*/ inline SensorStatisticsSummary& WithCategoricalValues(const CategoricalValues& value) { SetCategoricalValues(value); return *this;} /** *

Parameter that describes potential risk about whether data associated with * the sensor is categorical.

*/ inline SensorStatisticsSummary& WithCategoricalValues(CategoricalValues&& value) { SetCategoricalValues(std::move(value)); return *this;} /** *

Parameter that describes potential risk about whether data associated with * the sensor has more than one operating mode.

*/ inline const MultipleOperatingModes& GetMultipleOperatingModes() const{ return m_multipleOperatingModes; } /** *

Parameter that describes potential risk about whether data associated with * the sensor has more than one operating mode.

*/ inline bool MultipleOperatingModesHasBeenSet() const { return m_multipleOperatingModesHasBeenSet; } /** *

Parameter that describes potential risk about whether data associated with * the sensor has more than one operating mode.

*/ inline void SetMultipleOperatingModes(const MultipleOperatingModes& value) { m_multipleOperatingModesHasBeenSet = true; m_multipleOperatingModes = value; } /** *

Parameter that describes potential risk about whether data associated with * the sensor has more than one operating mode.

*/ inline void SetMultipleOperatingModes(MultipleOperatingModes&& value) { m_multipleOperatingModesHasBeenSet = true; m_multipleOperatingModes = std::move(value); } /** *

Parameter that describes potential risk about whether data associated with * the sensor has more than one operating mode.

*/ inline SensorStatisticsSummary& WithMultipleOperatingModes(const MultipleOperatingModes& value) { SetMultipleOperatingModes(value); return *this;} /** *

Parameter that describes potential risk about whether data associated with * the sensor has more than one operating mode.

*/ inline SensorStatisticsSummary& WithMultipleOperatingModes(MultipleOperatingModes&& value) { SetMultipleOperatingModes(std::move(value)); return *this;} /** *

Parameter that describes potential risk about whether data associated with * the sensor contains one or more large gaps between consecutive timestamps.

*/ inline const LargeTimestampGaps& GetLargeTimestampGaps() const{ return m_largeTimestampGaps; } /** *

Parameter that describes potential risk about whether data associated with * the sensor contains one or more large gaps between consecutive timestamps.

*/ inline bool LargeTimestampGapsHasBeenSet() const { return m_largeTimestampGapsHasBeenSet; } /** *

Parameter that describes potential risk about whether data associated with * the sensor contains one or more large gaps between consecutive timestamps.

*/ inline void SetLargeTimestampGaps(const LargeTimestampGaps& value) { m_largeTimestampGapsHasBeenSet = true; m_largeTimestampGaps = value; } /** *

Parameter that describes potential risk about whether data associated with * the sensor contains one or more large gaps between consecutive timestamps.

*/ inline void SetLargeTimestampGaps(LargeTimestampGaps&& value) { m_largeTimestampGapsHasBeenSet = true; m_largeTimestampGaps = std::move(value); } /** *

Parameter that describes potential risk about whether data associated with * the sensor contains one or more large gaps between consecutive timestamps.

*/ inline SensorStatisticsSummary& WithLargeTimestampGaps(const LargeTimestampGaps& value) { SetLargeTimestampGaps(value); return *this;} /** *

Parameter that describes potential risk about whether data associated with * the sensor contains one or more large gaps between consecutive timestamps.

*/ inline SensorStatisticsSummary& WithLargeTimestampGaps(LargeTimestampGaps&& value) { SetLargeTimestampGaps(std::move(value)); return *this;} /** *

Parameter that describes potential risk about whether data associated with * the sensor is mostly monotonic.

*/ inline const MonotonicValues& GetMonotonicValues() const{ return m_monotonicValues; } /** *

Parameter that describes potential risk about whether data associated with * the sensor is mostly monotonic.

*/ inline bool MonotonicValuesHasBeenSet() const { return m_monotonicValuesHasBeenSet; } /** *

Parameter that describes potential risk about whether data associated with * the sensor is mostly monotonic.

*/ inline void SetMonotonicValues(const MonotonicValues& value) { m_monotonicValuesHasBeenSet = true; m_monotonicValues = value; } /** *

Parameter that describes potential risk about whether data associated with * the sensor is mostly monotonic.

*/ inline void SetMonotonicValues(MonotonicValues&& value) { m_monotonicValuesHasBeenSet = true; m_monotonicValues = std::move(value); } /** *

Parameter that describes potential risk about whether data associated with * the sensor is mostly monotonic.

*/ inline SensorStatisticsSummary& WithMonotonicValues(const MonotonicValues& value) { SetMonotonicValues(value); return *this;} /** *

Parameter that describes potential risk about whether data associated with * the sensor is mostly monotonic.

*/ inline SensorStatisticsSummary& WithMonotonicValues(MonotonicValues&& value) { SetMonotonicValues(std::move(value)); return *this;} /** *

Indicates the time reference to indicate the beginning of valid data * associated with the sensor that the statistics belong to.

*/ inline const Aws::Utils::DateTime& GetDataStartTime() const{ return m_dataStartTime; } /** *

Indicates the time reference to indicate the beginning of valid data * associated with the sensor that the statistics belong to.

*/ inline bool DataStartTimeHasBeenSet() const { return m_dataStartTimeHasBeenSet; } /** *

Indicates the time reference to indicate the beginning of valid data * associated with the sensor that the statistics belong to.

*/ inline void SetDataStartTime(const Aws::Utils::DateTime& value) { m_dataStartTimeHasBeenSet = true; m_dataStartTime = value; } /** *

Indicates the time reference to indicate the beginning of valid data * associated with the sensor that the statistics belong to.

*/ inline void SetDataStartTime(Aws::Utils::DateTime&& value) { m_dataStartTimeHasBeenSet = true; m_dataStartTime = std::move(value); } /** *

Indicates the time reference to indicate the beginning of valid data * associated with the sensor that the statistics belong to.

*/ inline SensorStatisticsSummary& WithDataStartTime(const Aws::Utils::DateTime& value) { SetDataStartTime(value); return *this;} /** *

Indicates the time reference to indicate the beginning of valid data * associated with the sensor that the statistics belong to.

*/ inline SensorStatisticsSummary& WithDataStartTime(Aws::Utils::DateTime&& value) { SetDataStartTime(std::move(value)); return *this;} /** *

Indicates the time reference to indicate the end of valid data associated * with the sensor that the statistics belong to.

*/ inline const Aws::Utils::DateTime& GetDataEndTime() const{ return m_dataEndTime; } /** *

Indicates the time reference to indicate the end of valid data associated * with the sensor that the statistics belong to.

*/ inline bool DataEndTimeHasBeenSet() const { return m_dataEndTimeHasBeenSet; } /** *

Indicates the time reference to indicate the end of valid data associated * with the sensor that the statistics belong to.

*/ inline void SetDataEndTime(const Aws::Utils::DateTime& value) { m_dataEndTimeHasBeenSet = true; m_dataEndTime = value; } /** *

Indicates the time reference to indicate the end of valid data associated * with the sensor that the statistics belong to.

*/ inline void SetDataEndTime(Aws::Utils::DateTime&& value) { m_dataEndTimeHasBeenSet = true; m_dataEndTime = std::move(value); } /** *

Indicates the time reference to indicate the end of valid data associated * with the sensor that the statistics belong to.

*/ inline SensorStatisticsSummary& WithDataEndTime(const Aws::Utils::DateTime& value) { SetDataEndTime(value); return *this;} /** *

Indicates the time reference to indicate the end of valid data associated * with the sensor that the statistics belong to.

*/ inline SensorStatisticsSummary& WithDataEndTime(Aws::Utils::DateTime&& value) { SetDataEndTime(std::move(value)); return *this;} private: Aws::String m_componentName; bool m_componentNameHasBeenSet = false; Aws::String m_sensorName; bool m_sensorNameHasBeenSet = false; bool m_dataExists; bool m_dataExistsHasBeenSet = false; CountPercent m_missingValues; bool m_missingValuesHasBeenSet = false; CountPercent m_invalidValues; bool m_invalidValuesHasBeenSet = false; CountPercent m_invalidDateEntries; bool m_invalidDateEntriesHasBeenSet = false; CountPercent m_duplicateTimestamps; bool m_duplicateTimestampsHasBeenSet = false; CategoricalValues m_categoricalValues; bool m_categoricalValuesHasBeenSet = false; MultipleOperatingModes m_multipleOperatingModes; bool m_multipleOperatingModesHasBeenSet = false; LargeTimestampGaps m_largeTimestampGaps; bool m_largeTimestampGapsHasBeenSet = false; MonotonicValues m_monotonicValues; bool m_monotonicValuesHasBeenSet = false; Aws::Utils::DateTime m_dataStartTime; bool m_dataStartTimeHasBeenSet = false; Aws::Utils::DateTime m_dataEndTime; bool m_dataEndTimeHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws