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

Internal only. Represents a set of statistics that describe a * specific metric. To learn more about the metrics published to Amazon CloudWatch, * see Amazon * MWAA performance metrics in Amazon CloudWatch.

See Also:

AWS * API Reference

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

Internal only. The maximum value of the sample set.

*/ inline double GetMaximum() const{ return m_maximum; } /** *

Internal only. The maximum value of the sample set.

*/ inline bool MaximumHasBeenSet() const { return m_maximumHasBeenSet; } /** *

Internal only. The maximum value of the sample set.

*/ inline void SetMaximum(double value) { m_maximumHasBeenSet = true; m_maximum = value; } /** *

Internal only. The maximum value of the sample set.

*/ inline StatisticSet& WithMaximum(double value) { SetMaximum(value); return *this;} /** *

Internal only. The minimum value of the sample set.

*/ inline double GetMinimum() const{ return m_minimum; } /** *

Internal only. The minimum value of the sample set.

*/ inline bool MinimumHasBeenSet() const { return m_minimumHasBeenSet; } /** *

Internal only. The minimum value of the sample set.

*/ inline void SetMinimum(double value) { m_minimumHasBeenSet = true; m_minimum = value; } /** *

Internal only. The minimum value of the sample set.

*/ inline StatisticSet& WithMinimum(double value) { SetMinimum(value); return *this;} /** *

Internal only. The number of samples used for the statistic set.

*/ inline int GetSampleCount() const{ return m_sampleCount; } /** *

Internal only. The number of samples used for the statistic set.

*/ inline bool SampleCountHasBeenSet() const { return m_sampleCountHasBeenSet; } /** *

Internal only. The number of samples used for the statistic set.

*/ inline void SetSampleCount(int value) { m_sampleCountHasBeenSet = true; m_sampleCount = value; } /** *

Internal only. The number of samples used for the statistic set.

*/ inline StatisticSet& WithSampleCount(int value) { SetSampleCount(value); return *this;} /** *

Internal only. The sum of values for the sample set.

*/ inline double GetSum() const{ return m_sum; } /** *

Internal only. The sum of values for the sample set.

*/ inline bool SumHasBeenSet() const { return m_sumHasBeenSet; } /** *

Internal only. The sum of values for the sample set.

*/ inline void SetSum(double value) { m_sumHasBeenSet = true; m_sum = value; } /** *

Internal only. The sum of values for the sample set.

*/ inline StatisticSet& WithSum(double value) { SetSum(value); return *this;} private: double m_maximum; bool m_maximumHasBeenSet = false; double m_minimum; bool m_minimumHasBeenSet = false; int m_sampleCount; bool m_sampleCountHasBeenSet = false; double m_sum; bool m_sumHasBeenSet = false; }; } // namespace Model } // namespace MWAA } // namespace Aws