/** * 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 insufficient * data.

See Also:

AWS * API Reference

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

Indicates the number of sensors that have at least some invalid values.

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

Indicates the number of sensors that have at least some invalid values.

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

Indicates the number of sensors that have at least some invalid values.

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

Indicates the number of sensors that have at least some invalid values.

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

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

*/ inline int GetTotalNumberOfInvalidValues() const{ return m_totalNumberOfInvalidValues; } /** *

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

*/ inline bool TotalNumberOfInvalidValuesHasBeenSet() const { return m_totalNumberOfInvalidValuesHasBeenSet; } /** *

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

*/ inline void SetTotalNumberOfInvalidValues(int value) { m_totalNumberOfInvalidValuesHasBeenSet = true; m_totalNumberOfInvalidValues = value; } /** *

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

*/ inline InvalidSensorData& WithTotalNumberOfInvalidValues(int value) { SetTotalNumberOfInvalidValues(value); return *this;} private: int m_affectedSensorCount; bool m_affectedSensorCountHasBeenSet = false; int m_totalNumberOfInvalidValues; bool m_totalNumberOfInvalidValuesHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws