/** * 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 XRay { namespace Model { /** *

The predicted high and low fault count. This is used to determine if a * service has become anomalous and if an insight should be created.

See * Also:

AWS * API Reference

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

The upper limit of fault counts for a service.

*/ inline long long GetFaultCountHigh() const{ return m_faultCountHigh; } /** *

The upper limit of fault counts for a service.

*/ inline bool FaultCountHighHasBeenSet() const { return m_faultCountHighHasBeenSet; } /** *

The upper limit of fault counts for a service.

*/ inline void SetFaultCountHigh(long long value) { m_faultCountHighHasBeenSet = true; m_faultCountHigh = value; } /** *

The upper limit of fault counts for a service.

*/ inline ForecastStatistics& WithFaultCountHigh(long long value) { SetFaultCountHigh(value); return *this;} /** *

The lower limit of fault counts for a service.

*/ inline long long GetFaultCountLow() const{ return m_faultCountLow; } /** *

The lower limit of fault counts for a service.

*/ inline bool FaultCountLowHasBeenSet() const { return m_faultCountLowHasBeenSet; } /** *

The lower limit of fault counts for a service.

*/ inline void SetFaultCountLow(long long value) { m_faultCountLowHasBeenSet = true; m_faultCountLow = value; } /** *

The lower limit of fault counts for a service.

*/ inline ForecastStatistics& WithFaultCountLow(long long value) { SetFaultCountLow(value); return *this;} private: long long m_faultCountHigh; bool m_faultCountHighHasBeenSet = false; long long m_faultCountLow; bool m_faultCountLowHasBeenSet = false; }; } // namespace Model } // namespace XRay } // namespace Aws