/** * 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 { /** *

Specifies a table definition in the Glue Data Catalog.

See * Also:

AWS * API Reference

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

The database in which the table metadata resides.

*/ inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } /** *

The database in which the table metadata resides.

*/ inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } /** *

The database in which the table metadata resides.

*/ inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } /** *

The database in which the table metadata resides.

*/ inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } /** *

The database in which the table metadata resides.

*/ inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } /** *

The database in which the table metadata resides.

*/ inline CatalogEntry& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} /** *

The database in which the table metadata resides.

*/ inline CatalogEntry& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} /** *

The database in which the table metadata resides.

*/ inline CatalogEntry& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} /** *

The name of the table in question.

*/ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *

The name of the table in question.

*/ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** *

The name of the table in question.

*/ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** *

The name of the table in question.

*/ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** *

The name of the table in question.

*/ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** *

The name of the table in question.

*/ inline CatalogEntry& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *

The name of the table in question.

*/ inline CatalogEntry& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *

The name of the table in question.

*/ inline CatalogEntry& WithTableName(const char* value) { SetTableName(value); return *this;} private: Aws::String m_databaseName; bool m_databaseNameHasBeenSet = false; Aws::String m_tableName; bool m_tableNameHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws