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

Entity that comprises information on large gaps between consecutive * timestamps in data.

See Also:

AWS * API Reference

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

Indicates whether there is a potential data issue related to large gaps in * timestamps.

*/ inline const StatisticalIssueStatus& GetStatus() const{ return m_status; } /** *

Indicates whether there is a potential data issue related to large gaps in * timestamps.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Indicates whether there is a potential data issue related to large gaps in * timestamps.

*/ inline void SetStatus(const StatisticalIssueStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Indicates whether there is a potential data issue related to large gaps in * timestamps.

*/ inline void SetStatus(StatisticalIssueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Indicates whether there is a potential data issue related to large gaps in * timestamps.

*/ inline LargeTimestampGaps& WithStatus(const StatisticalIssueStatus& value) { SetStatus(value); return *this;} /** *

Indicates whether there is a potential data issue related to large gaps in * timestamps.

*/ inline LargeTimestampGaps& WithStatus(StatisticalIssueStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

Indicates the number of large timestamp gaps, if there are any.

*/ inline int GetNumberOfLargeTimestampGaps() const{ return m_numberOfLargeTimestampGaps; } /** *

Indicates the number of large timestamp gaps, if there are any.

*/ inline bool NumberOfLargeTimestampGapsHasBeenSet() const { return m_numberOfLargeTimestampGapsHasBeenSet; } /** *

Indicates the number of large timestamp gaps, if there are any.

*/ inline void SetNumberOfLargeTimestampGaps(int value) { m_numberOfLargeTimestampGapsHasBeenSet = true; m_numberOfLargeTimestampGaps = value; } /** *

Indicates the number of large timestamp gaps, if there are any.

*/ inline LargeTimestampGaps& WithNumberOfLargeTimestampGaps(int value) { SetNumberOfLargeTimestampGaps(value); return *this;} /** *

Indicates the size of the largest timestamp gap, in days.

*/ inline int GetMaxTimestampGapInDays() const{ return m_maxTimestampGapInDays; } /** *

Indicates the size of the largest timestamp gap, in days.

*/ inline bool MaxTimestampGapInDaysHasBeenSet() const { return m_maxTimestampGapInDaysHasBeenSet; } /** *

Indicates the size of the largest timestamp gap, in days.

*/ inline void SetMaxTimestampGapInDays(int value) { m_maxTimestampGapInDaysHasBeenSet = true; m_maxTimestampGapInDays = value; } /** *

Indicates the size of the largest timestamp gap, in days.

*/ inline LargeTimestampGaps& WithMaxTimestampGapInDays(int value) { SetMaxTimestampGapInDays(value); return *this;} private: StatisticalIssueStatus m_status; bool m_statusHasBeenSet = false; int m_numberOfLargeTimestampGaps; bool m_numberOfLargeTimestampGapsHasBeenSet = false; int m_maxTimestampGapInDays; bool m_maxTimestampGapInDaysHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws