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

A reference value to compare Performance Insights metrics against to * determine if the metrics demonstrate anomalous behavior.

See * Also:

AWS * API Reference

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

The reference value.

*/ inline double GetValue() const{ return m_value; } /** *

The reference value.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The reference value.

*/ inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; } /** *

The reference value.

*/ inline PerformanceInsightsReferenceScalar& WithValue(double value) { SetValue(value); return *this;} private: double m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws