/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GlueDataBrew { namespace Model { /** *

Configuration for column evaluations for a profile job. * ColumnStatisticsConfiguration can be used to select evaluations and override * parameters of evaluations for particular columns.

See Also:

AWS * API Reference

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

List of column selectors. Selectors can be used to select columns from the * dataset. When selectors are undefined, configuration will be applied to all * supported columns.

*/ inline const Aws::Vector& GetSelectors() const{ return m_selectors; } /** *

List of column selectors. Selectors can be used to select columns from the * dataset. When selectors are undefined, configuration will be applied to all * supported columns.

*/ inline bool SelectorsHasBeenSet() const { return m_selectorsHasBeenSet; } /** *

List of column selectors. Selectors can be used to select columns from the * dataset. When selectors are undefined, configuration will be applied to all * supported columns.

*/ inline void SetSelectors(const Aws::Vector& value) { m_selectorsHasBeenSet = true; m_selectors = value; } /** *

List of column selectors. Selectors can be used to select columns from the * dataset. When selectors are undefined, configuration will be applied to all * supported columns.

*/ inline void SetSelectors(Aws::Vector&& value) { m_selectorsHasBeenSet = true; m_selectors = std::move(value); } /** *

List of column selectors. Selectors can be used to select columns from the * dataset. When selectors are undefined, configuration will be applied to all * supported columns.

*/ inline ColumnStatisticsConfiguration& WithSelectors(const Aws::Vector& value) { SetSelectors(value); return *this;} /** *

List of column selectors. Selectors can be used to select columns from the * dataset. When selectors are undefined, configuration will be applied to all * supported columns.

*/ inline ColumnStatisticsConfiguration& WithSelectors(Aws::Vector&& value) { SetSelectors(std::move(value)); return *this;} /** *

List of column selectors. Selectors can be used to select columns from the * dataset. When selectors are undefined, configuration will be applied to all * supported columns.

*/ inline ColumnStatisticsConfiguration& AddSelectors(const ColumnSelector& value) { m_selectorsHasBeenSet = true; m_selectors.push_back(value); return *this; } /** *

List of column selectors. Selectors can be used to select columns from the * dataset. When selectors are undefined, configuration will be applied to all * supported columns.

*/ inline ColumnStatisticsConfiguration& AddSelectors(ColumnSelector&& value) { m_selectorsHasBeenSet = true; m_selectors.push_back(std::move(value)); return *this; } /** *

Configuration for evaluations. Statistics can be used to select evaluations * and override parameters of evaluations.

*/ inline const StatisticsConfiguration& GetStatistics() const{ return m_statistics; } /** *

Configuration for evaluations. Statistics can be used to select evaluations * and override parameters of evaluations.

*/ inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; } /** *

Configuration for evaluations. Statistics can be used to select evaluations * and override parameters of evaluations.

*/ inline void SetStatistics(const StatisticsConfiguration& value) { m_statisticsHasBeenSet = true; m_statistics = value; } /** *

Configuration for evaluations. Statistics can be used to select evaluations * and override parameters of evaluations.

*/ inline void SetStatistics(StatisticsConfiguration&& value) { m_statisticsHasBeenSet = true; m_statistics = std::move(value); } /** *

Configuration for evaluations. Statistics can be used to select evaluations * and override parameters of evaluations.

*/ inline ColumnStatisticsConfiguration& WithStatistics(const StatisticsConfiguration& value) { SetStatistics(value); return *this;} /** *

Configuration for evaluations. Statistics can be used to select evaluations * and override parameters of evaluations.

*/ inline ColumnStatisticsConfiguration& WithStatistics(StatisticsConfiguration&& value) { SetStatistics(std::move(value)); return *this;} private: Aws::Vector m_selectors; bool m_selectorsHasBeenSet = false; StatisticsConfiguration m_statistics; bool m_statisticsHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws