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

Entity that comprises aggregated information on sensors having missing data. *

See Also:

AWS * API Reference

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

Indicates the number of sensors that have atleast some data missing.

*/ inline int GetAffectedSensorCount() const{ return m_affectedSensorCount; } /** *

Indicates the number of sensors that have atleast some data missing.

*/ inline bool AffectedSensorCountHasBeenSet() const { return m_affectedSensorCountHasBeenSet; } /** *

Indicates the number of sensors that have atleast some data missing.

*/ inline void SetAffectedSensorCount(int value) { m_affectedSensorCountHasBeenSet = true; m_affectedSensorCount = value; } /** *

Indicates the number of sensors that have atleast some data missing.

*/ inline MissingSensorData& WithAffectedSensorCount(int value) { SetAffectedSensorCount(value); return *this;} /** *

Indicates the total number of missing values across all the sensors.

*/ inline int GetTotalNumberOfMissingValues() const{ return m_totalNumberOfMissingValues; } /** *

Indicates the total number of missing values across all the sensors.

*/ inline bool TotalNumberOfMissingValuesHasBeenSet() const { return m_totalNumberOfMissingValuesHasBeenSet; } /** *

Indicates the total number of missing values across all the sensors.

*/ inline void SetTotalNumberOfMissingValues(int value) { m_totalNumberOfMissingValuesHasBeenSet = true; m_totalNumberOfMissingValues = value; } /** *

Indicates the total number of missing values across all the sensors.

*/ inline MissingSensorData& WithTotalNumberOfMissingValues(int value) { SetTotalNumberOfMissingValues(value); return *this;} private: int m_affectedSensorCount; bool m_affectedSensorCountHasBeenSet = false; int m_totalNumberOfMissingValues; bool m_totalNumberOfMissingValuesHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws