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

Configuration of statistics that are allowed to be run on columns that * contain detected entities. When undefined, no statistics will be computed on * columns that contain detected entities.

See Also:

AWS * API Reference

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

One or more column statistics to allow for columns that contain detected * entities.

*/ inline const Aws::Vector& GetStatistics() const{ return m_statistics; } /** *

One or more column statistics to allow for columns that contain detected * entities.

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

One or more column statistics to allow for columns that contain detected * entities.

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

One or more column statistics to allow for columns that contain detected * entities.

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

One or more column statistics to allow for columns that contain detected * entities.

*/ inline AllowedStatistics& WithStatistics(const Aws::Vector& value) { SetStatistics(value); return *this;} /** *

One or more column statistics to allow for columns that contain detected * entities.

*/ inline AllowedStatistics& WithStatistics(Aws::Vector&& value) { SetStatistics(std::move(value)); return *this;} /** *

One or more column statistics to allow for columns that contain detected * entities.

*/ inline AllowedStatistics& AddStatistics(const Aws::String& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(value); return *this; } /** *

One or more column statistics to allow for columns that contain detected * entities.

*/ inline AllowedStatistics& AddStatistics(Aws::String&& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(std::move(value)); return *this; } /** *

One or more column statistics to allow for columns that contain detected * entities.

*/ inline AllowedStatistics& AddStatistics(const char* value) { m_statisticsHasBeenSet = true; m_statistics.push_back(value); return *this; } private: Aws::Vector m_statistics; bool m_statisticsHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws