/** * 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 bit sequence data * values.

See Also:

AWS * API Reference

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

The size of the longest bit sequence in the column.

*/ inline long long GetMaximumLength() const{ return m_maximumLength; } /** *

The size of the longest bit sequence in the column.

*/ inline bool MaximumLengthHasBeenSet() const { return m_maximumLengthHasBeenSet; } /** *

The size of the longest bit sequence in the column.

*/ inline void SetMaximumLength(long long value) { m_maximumLengthHasBeenSet = true; m_maximumLength = value; } /** *

The size of the longest bit sequence in the column.

*/ inline BinaryColumnStatisticsData& WithMaximumLength(long long value) { SetMaximumLength(value); return *this;} /** *

The average bit sequence length in the column.

*/ inline double GetAverageLength() const{ return m_averageLength; } /** *

The average bit sequence length in the column.

*/ inline bool AverageLengthHasBeenSet() const { return m_averageLengthHasBeenSet; } /** *

The average bit sequence length in the column.

*/ inline void SetAverageLength(double value) { m_averageLengthHasBeenSet = true; m_averageLength = value; } /** *

The average bit sequence length in the column.

*/ inline BinaryColumnStatisticsData& WithAverageLength(double value) { SetAverageLength(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 BinaryColumnStatisticsData& WithNumberOfNulls(long long value) { SetNumberOfNulls(value); return *this;} private: long long m_maximumLength; bool m_maximumLengthHasBeenSet = false; double m_averageLength; bool m_averageLengthHasBeenSet = false; long long m_numberOfNulls; bool m_numberOfNullsHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws