/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #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 profile jobs. Configuration can be used to select columns, * do evaluations, and override default parameters of evaluations. When * configuration is undefined, the profile job will apply default settings to all * supported columns.

See Also:

AWS * API Reference

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

Configuration for inter-column evaluations. Configuration can be used to * select evaluations and override parameters of evaluations. When configuration is * undefined, the profile job will run all supported inter-column evaluations.

*/ inline const StatisticsConfiguration& GetDatasetStatisticsConfiguration() const{ return m_datasetStatisticsConfiguration; } /** *

Configuration for inter-column evaluations. Configuration can be used to * select evaluations and override parameters of evaluations. When configuration is * undefined, the profile job will run all supported inter-column evaluations.

*/ inline bool DatasetStatisticsConfigurationHasBeenSet() const { return m_datasetStatisticsConfigurationHasBeenSet; } /** *

Configuration for inter-column evaluations. Configuration can be used to * select evaluations and override parameters of evaluations. When configuration is * undefined, the profile job will run all supported inter-column evaluations.

*/ inline void SetDatasetStatisticsConfiguration(const StatisticsConfiguration& value) { m_datasetStatisticsConfigurationHasBeenSet = true; m_datasetStatisticsConfiguration = value; } /** *

Configuration for inter-column evaluations. Configuration can be used to * select evaluations and override parameters of evaluations. When configuration is * undefined, the profile job will run all supported inter-column evaluations.

*/ inline void SetDatasetStatisticsConfiguration(StatisticsConfiguration&& value) { m_datasetStatisticsConfigurationHasBeenSet = true; m_datasetStatisticsConfiguration = std::move(value); } /** *

Configuration for inter-column evaluations. Configuration can be used to * select evaluations and override parameters of evaluations. When configuration is * undefined, the profile job will run all supported inter-column evaluations.

*/ inline ProfileConfiguration& WithDatasetStatisticsConfiguration(const StatisticsConfiguration& value) { SetDatasetStatisticsConfiguration(value); return *this;} /** *

Configuration for inter-column evaluations. Configuration can be used to * select evaluations and override parameters of evaluations. When configuration is * undefined, the profile job will run all supported inter-column evaluations.

*/ inline ProfileConfiguration& WithDatasetStatisticsConfiguration(StatisticsConfiguration&& value) { SetDatasetStatisticsConfiguration(std::move(value)); return *this;} /** *

List of column selectors. ProfileColumns can be used to select columns from * the dataset. When ProfileColumns is undefined, the profile job will profile all * supported columns.

*/ inline const Aws::Vector& GetProfileColumns() const{ return m_profileColumns; } /** *

List of column selectors. ProfileColumns can be used to select columns from * the dataset. When ProfileColumns is undefined, the profile job will profile all * supported columns.

*/ inline bool ProfileColumnsHasBeenSet() const { return m_profileColumnsHasBeenSet; } /** *

List of column selectors. ProfileColumns can be used to select columns from * the dataset. When ProfileColumns is undefined, the profile job will profile all * supported columns.

*/ inline void SetProfileColumns(const Aws::Vector& value) { m_profileColumnsHasBeenSet = true; m_profileColumns = value; } /** *

List of column selectors. ProfileColumns can be used to select columns from * the dataset. When ProfileColumns is undefined, the profile job will profile all * supported columns.

*/ inline void SetProfileColumns(Aws::Vector&& value) { m_profileColumnsHasBeenSet = true; m_profileColumns = std::move(value); } /** *

List of column selectors. ProfileColumns can be used to select columns from * the dataset. When ProfileColumns is undefined, the profile job will profile all * supported columns.

*/ inline ProfileConfiguration& WithProfileColumns(const Aws::Vector& value) { SetProfileColumns(value); return *this;} /** *

List of column selectors. ProfileColumns can be used to select columns from * the dataset. When ProfileColumns is undefined, the profile job will profile all * supported columns.

*/ inline ProfileConfiguration& WithProfileColumns(Aws::Vector&& value) { SetProfileColumns(std::move(value)); return *this;} /** *

List of column selectors. ProfileColumns can be used to select columns from * the dataset. When ProfileColumns is undefined, the profile job will profile all * supported columns.

*/ inline ProfileConfiguration& AddProfileColumns(const ColumnSelector& value) { m_profileColumnsHasBeenSet = true; m_profileColumns.push_back(value); return *this; } /** *

List of column selectors. ProfileColumns can be used to select columns from * the dataset. When ProfileColumns is undefined, the profile job will profile all * supported columns.

*/ inline ProfileConfiguration& AddProfileColumns(ColumnSelector&& value) { m_profileColumnsHasBeenSet = true; m_profileColumns.push_back(std::move(value)); return *this; } /** *

List of configurations for column evaluations. ColumnStatisticsConfigurations * are used to select evaluations and override parameters of evaluations for * particular columns. When ColumnStatisticsConfigurations is undefined, the * profile job will profile all supported columns and run all supported * evaluations.

*/ inline const Aws::Vector& GetColumnStatisticsConfigurations() const{ return m_columnStatisticsConfigurations; } /** *

List of configurations for column evaluations. ColumnStatisticsConfigurations * are used to select evaluations and override parameters of evaluations for * particular columns. When ColumnStatisticsConfigurations is undefined, the * profile job will profile all supported columns and run all supported * evaluations.

*/ inline bool ColumnStatisticsConfigurationsHasBeenSet() const { return m_columnStatisticsConfigurationsHasBeenSet; } /** *

List of configurations for column evaluations. ColumnStatisticsConfigurations * are used to select evaluations and override parameters of evaluations for * particular columns. When ColumnStatisticsConfigurations is undefined, the * profile job will profile all supported columns and run all supported * evaluations.

*/ inline void SetColumnStatisticsConfigurations(const Aws::Vector& value) { m_columnStatisticsConfigurationsHasBeenSet = true; m_columnStatisticsConfigurations = value; } /** *

List of configurations for column evaluations. ColumnStatisticsConfigurations * are used to select evaluations and override parameters of evaluations for * particular columns. When ColumnStatisticsConfigurations is undefined, the * profile job will profile all supported columns and run all supported * evaluations.

*/ inline void SetColumnStatisticsConfigurations(Aws::Vector&& value) { m_columnStatisticsConfigurationsHasBeenSet = true; m_columnStatisticsConfigurations = std::move(value); } /** *

List of configurations for column evaluations. ColumnStatisticsConfigurations * are used to select evaluations and override parameters of evaluations for * particular columns. When ColumnStatisticsConfigurations is undefined, the * profile job will profile all supported columns and run all supported * evaluations.

*/ inline ProfileConfiguration& WithColumnStatisticsConfigurations(const Aws::Vector& value) { SetColumnStatisticsConfigurations(value); return *this;} /** *

List of configurations for column evaluations. ColumnStatisticsConfigurations * are used to select evaluations and override parameters of evaluations for * particular columns. When ColumnStatisticsConfigurations is undefined, the * profile job will profile all supported columns and run all supported * evaluations.

*/ inline ProfileConfiguration& WithColumnStatisticsConfigurations(Aws::Vector&& value) { SetColumnStatisticsConfigurations(std::move(value)); return *this;} /** *

List of configurations for column evaluations. ColumnStatisticsConfigurations * are used to select evaluations and override parameters of evaluations for * particular columns. When ColumnStatisticsConfigurations is undefined, the * profile job will profile all supported columns and run all supported * evaluations.

*/ inline ProfileConfiguration& AddColumnStatisticsConfigurations(const ColumnStatisticsConfiguration& value) { m_columnStatisticsConfigurationsHasBeenSet = true; m_columnStatisticsConfigurations.push_back(value); return *this; } /** *

List of configurations for column evaluations. ColumnStatisticsConfigurations * are used to select evaluations and override parameters of evaluations for * particular columns. When ColumnStatisticsConfigurations is undefined, the * profile job will profile all supported columns and run all supported * evaluations.

*/ inline ProfileConfiguration& AddColumnStatisticsConfigurations(ColumnStatisticsConfiguration&& value) { m_columnStatisticsConfigurationsHasBeenSet = true; m_columnStatisticsConfigurations.push_back(std::move(value)); return *this; } /** *

Configuration of entity detection for a profile job. When undefined, entity * detection is disabled.

*/ inline const EntityDetectorConfiguration& GetEntityDetectorConfiguration() const{ return m_entityDetectorConfiguration; } /** *

Configuration of entity detection for a profile job. When undefined, entity * detection is disabled.

*/ inline bool EntityDetectorConfigurationHasBeenSet() const { return m_entityDetectorConfigurationHasBeenSet; } /** *

Configuration of entity detection for a profile job. When undefined, entity * detection is disabled.

*/ inline void SetEntityDetectorConfiguration(const EntityDetectorConfiguration& value) { m_entityDetectorConfigurationHasBeenSet = true; m_entityDetectorConfiguration = value; } /** *

Configuration of entity detection for a profile job. When undefined, entity * detection is disabled.

*/ inline void SetEntityDetectorConfiguration(EntityDetectorConfiguration&& value) { m_entityDetectorConfigurationHasBeenSet = true; m_entityDetectorConfiguration = std::move(value); } /** *

Configuration of entity detection for a profile job. When undefined, entity * detection is disabled.

*/ inline ProfileConfiguration& WithEntityDetectorConfiguration(const EntityDetectorConfiguration& value) { SetEntityDetectorConfiguration(value); return *this;} /** *

Configuration of entity detection for a profile job. When undefined, entity * detection is disabled.

*/ inline ProfileConfiguration& WithEntityDetectorConfiguration(EntityDetectorConfiguration&& value) { SetEntityDetectorConfiguration(std::move(value)); return *this;} private: StatisticsConfiguration m_datasetStatisticsConfiguration; bool m_datasetStatisticsConfigurationHasBeenSet = false; Aws::Vector m_profileColumns; bool m_profileColumnsHasBeenSet = false; Aws::Vector m_columnStatisticsConfigurations; bool m_columnStatisticsConfigurationsHasBeenSet = false; EntityDetectorConfiguration m_entityDetectorConfiguration; bool m_entityDetectorConfigurationHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws