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

A structure containing the column name and column importance score for a * column.

Column importance helps you understand how columns contribute to * your model, by identifying which columns in your records are more important than * others.

See Also:

AWS * API Reference

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

The name of a column.

*/ inline const Aws::String& GetColumnName() const{ return m_columnName; } /** *

The name of a column.

*/ inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } /** *

The name of a column.

*/ inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } /** *

The name of a column.

*/ inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } /** *

The name of a column.

*/ inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } /** *

The name of a column.

*/ inline ColumnImportance& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} /** *

The name of a column.

*/ inline ColumnImportance& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} /** *

The name of a column.

*/ inline ColumnImportance& WithColumnName(const char* value) { SetColumnName(value); return *this;} /** *

The column importance score for the column, as a decimal.

*/ inline double GetImportance() const{ return m_importance; } /** *

The column importance score for the column, as a decimal.

*/ inline bool ImportanceHasBeenSet() const { return m_importanceHasBeenSet; } /** *

The column importance score for the column, as a decimal.

*/ inline void SetImportance(double value) { m_importanceHasBeenSet = true; m_importance = value; } /** *

The column importance score for the column, as a decimal.

*/ inline ColumnImportance& WithImportance(double value) { SetImportance(value); return *this;} private: Aws::String m_columnName; bool m_columnNameHasBeenSet = false; double m_importance; bool m_importanceHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws