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

See * Also:

AWS * API Reference

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

The number of true values in the column.

*/ inline long long GetNumberOfTrues() const{ return m_numberOfTrues; } /** *

The number of true values in the column.

*/ inline bool NumberOfTruesHasBeenSet() const { return m_numberOfTruesHasBeenSet; } /** *

The number of true values in the column.

*/ inline void SetNumberOfTrues(long long value) { m_numberOfTruesHasBeenSet = true; m_numberOfTrues = value; } /** *

The number of true values in the column.

*/ inline BooleanColumnStatisticsData& WithNumberOfTrues(long long value) { SetNumberOfTrues(value); return *this;} /** *

The number of false values in the column.

*/ inline long long GetNumberOfFalses() const{ return m_numberOfFalses; } /** *

The number of false values in the column.

*/ inline bool NumberOfFalsesHasBeenSet() const { return m_numberOfFalsesHasBeenSet; } /** *

The number of false values in the column.

*/ inline void SetNumberOfFalses(long long value) { m_numberOfFalsesHasBeenSet = true; m_numberOfFalses = value; } /** *

The number of false values in the column.

*/ inline BooleanColumnStatisticsData& WithNumberOfFalses(long long value) { SetNumberOfFalses(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 BooleanColumnStatisticsData& WithNumberOfNulls(long long value) { SetNumberOfNulls(value); return *this;} private: long long m_numberOfTrues; bool m_numberOfTruesHasBeenSet = false; long long m_numberOfFalses; bool m_numberOfFalsesHasBeenSet = false; long long m_numberOfNulls; bool m_numberOfNullsHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws