/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a set of statistics that describes a specific metric.
* See Also:
AWS
* API Reference
The number of samples used for the statistic set.
*/ inline double GetSampleCount() const{ return m_sampleCount; } /** *The number of samples used for the statistic set.
*/ inline bool SampleCountHasBeenSet() const { return m_sampleCountHasBeenSet; } /** *The number of samples used for the statistic set.
*/ inline void SetSampleCount(double value) { m_sampleCountHasBeenSet = true; m_sampleCount = value; } /** *The number of samples used for the statistic set.
*/ inline StatisticSet& WithSampleCount(double value) { SetSampleCount(value); return *this;} /** *The sum of values for the sample set.
*/ inline double GetSum() const{ return m_sum; } /** *The sum of values for the sample set.
*/ inline bool SumHasBeenSet() const { return m_sumHasBeenSet; } /** *The sum of values for the sample set.
*/ inline void SetSum(double value) { m_sumHasBeenSet = true; m_sum = value; } /** *The sum of values for the sample set.
*/ inline StatisticSet& WithSum(double value) { SetSum(value); return *this;} /** *The minimum value of the sample set.
*/ inline double GetMinimum() const{ return m_minimum; } /** *The minimum value of the sample set.
*/ inline bool MinimumHasBeenSet() const { return m_minimumHasBeenSet; } /** *The minimum value of the sample set.
*/ inline void SetMinimum(double value) { m_minimumHasBeenSet = true; m_minimum = value; } /** *The minimum value of the sample set.
*/ inline StatisticSet& WithMinimum(double value) { SetMinimum(value); return *this;} /** *The maximum value of the sample set.
*/ inline double GetMaximum() const{ return m_maximum; } /** *The maximum value of the sample set.
*/ inline bool MaximumHasBeenSet() const { return m_maximumHasBeenSet; } /** *The maximum value of the sample set.
*/ inline void SetMaximum(double value) { m_maximumHasBeenSet = true; m_maximum = value; } /** *The maximum value of the sample set.
*/ inline StatisticSet& WithMaximum(double value) { SetMaximum(value); return *this;} private: double m_sampleCount; bool m_sampleCountHasBeenSet = false; double m_sum; bool m_sumHasBeenSet = false; double m_minimum; bool m_minimumHasBeenSet = false; double m_maximum; bool m_maximumHasBeenSet = false; }; } // namespace Model } // namespace CloudWatch } // namespace Aws