/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An entry in a histogram for a statistic. A histogram maps the range of
* observed values on the X axis, and the prevalence of each value on the Y
* axis.See Also:
AWS
* API Reference
The value of the entry.
*/ inline double GetValue() const{ return m_value; } /** *The value of the entry.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value of the entry.
*/ inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; } /** *The value of the entry.
*/ inline HistogramEntry& WithValue(double value) { SetValue(value); return *this;} /** *The prevalence of the entry.
*/ inline int GetCount() const{ return m_count; } /** *The prevalence of the entry.
*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *The prevalence of the entry.
*/ inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } /** *The prevalence of the entry.
*/ inline HistogramEntry& WithCount(int value) { SetCount(value); return *this;} private: double m_value; bool m_valueHasBeenSet; int m_count; bool m_countHasBeenSet; }; } // namespace Model } // namespace XRay } // namespace Aws