/** * 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 integer data columns.

See * Also:

AWS * API Reference

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

The lowest value in the column.

*/ inline long long 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(long long value) { m_minimumValueHasBeenSet = true; m_minimumValue = value; } /** *

The lowest value in the column.

*/ inline LongColumnStatisticsData& WithMinimumValue(long long value) { SetMinimumValue(value); return *this;} /** *

The highest value in the column.

*/ inline long long 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(long long value) { m_maximumValueHasBeenSet = true; m_maximumValue = value; } /** *

The highest value in the column.

*/ inline LongColumnStatisticsData& WithMaximumValue(long long 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 LongColumnStatisticsData& 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 LongColumnStatisticsData& WithNumberOfDistinctValues(long long value) { SetNumberOfDistinctValues(value); return *this;} private: long long m_minimumValue; bool m_minimumValueHasBeenSet = false; long long 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