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

Defines column statistics supported for floating-point number data * columns.

See Also:

AWS * API Reference

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

The lowest value in the column.

*/ inline double GetMinimumValue() const{ return m_minimumValue; } /** *

The lowest value in the column.

*/ inline bool MinimumValueHasBeenSet() const { return m_minimumValueHasBeenSet; } /** *

The lowest value in the column.

*/ inline void SetMinimumValue(double value) { m_minimumValueHasBeenSet = true; m_minimumValue = value; } /** *

The lowest value in the column.

*/ inline DoubleColumnStatisticsData& WithMinimumValue(double value) { SetMinimumValue(value); return *this;} /** *

The highest value in the column.

*/ inline double GetMaximumValue() const{ return m_maximumValue; } /** *

The highest value in the column.

*/ inline bool MaximumValueHasBeenSet() const { return m_maximumValueHasBeenSet; } /** *

The highest value in the column.

*/ inline void SetMaximumValue(double value) { m_maximumValueHasBeenSet = true; m_maximumValue = value; } /** *

The highest value in the column.

*/ inline DoubleColumnStatisticsData& WithMaximumValue(double value) { SetMaximumValue(value); return *this;} /** *

The number of null values in the column.

*/ inline long long GetNumberOfNulls() const{ return m_numberOfNulls; } /** *

The number of null values in the column.

*/ inline bool NumberOfNullsHasBeenSet() const { return m_numberOfNullsHasBeenSet; } /** *

The number of null values in the column.

*/ inline void SetNumberOfNulls(long long value) { m_numberOfNullsHasBeenSet = true; m_numberOfNulls = value; } /** *

The number of null values in the column.

*/ inline DoubleColumnStatisticsData& WithNumberOfNulls(long long value) { SetNumberOfNulls(value); return *this;} /** *

The number of distinct values in a column.

*/ inline long long GetNumberOfDistinctValues() const{ return m_numberOfDistinctValues; } /** *

The number of distinct values in a column.

*/ inline bool NumberOfDistinctValuesHasBeenSet() const { return m_numberOfDistinctValuesHasBeenSet; } /** *

The number of distinct values in a column.

*/ inline void SetNumberOfDistinctValues(long long value) { m_numberOfDistinctValuesHasBeenSet = true; m_numberOfDistinctValues = value; } /** *

The number of distinct values in a column.

*/ inline DoubleColumnStatisticsData& WithNumberOfDistinctValues(long long value) { SetNumberOfDistinctValues(value); return *this;} private: double m_minimumValue; bool m_minimumValueHasBeenSet = false; double m_maximumValue; bool m_maximumValueHasBeenSet = false; long long m_numberOfNulls; bool m_numberOfNullsHasBeenSet = false; long long m_numberOfDistinctValues; bool m_numberOfDistinctValuesHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws