/** * 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 information on sensors that have shorter date range. *

See Also:

AWS * API Reference

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

Indicates the number of sensors that have less than 90 days of data.

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

Indicates the number of sensors that have less than 90 days of data.

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

Indicates the number of sensors that have less than 90 days of data.

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

Indicates the number of sensors that have less than 90 days of data.

*/ inline SensorsWithShortDateRange& WithAffectedSensorCount(int value) { SetAffectedSensorCount(value); return *this;} private: int m_affectedSensorCount; bool m_affectedSensorCountHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws