/** * 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 a long column statistics data.

See Also:

AWS * API Reference

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

Minimum value of the column.

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

Minimum value of the column.

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

Minimum value of the column.

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

Minimum value of the column.

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

Maximum value of the column.

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

Maximum value of the column.

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

Maximum value of the column.

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

Maximum value of the column.

*/ inline LongColumnStatisticsData& WithMaximumValue(long long value) { SetMaximumValue(value); return *this;} /** *

Number of nulls.

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

Number of nulls.

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

Number of nulls.

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

Number of nulls.

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

Number of distinct values.

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

Number of distinct values.

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

Number of distinct values.

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

Number of distinct values.

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