/** * 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 CleanRooms { namespace Model { /** *

A reference to a table within an Glue data catalog.

See Also:

* AWS * API Reference

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

The name of the Glue table.

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

The name of the Glue table.

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

The name of the Glue table.

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

The name of the Glue table.

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

The name of the Glue table.

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

The name of the Glue table.

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

The name of the Glue table.

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

The name of the Glue table.

*/ inline GlueTableReference& WithTableName(const char* value) { SetTableName(value); return *this;} /** *

The name of the database the Glue table belongs to.

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

The name of the database the Glue table belongs to.

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

The name of the database the Glue table belongs to.

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

The name of the database the Glue table belongs to.

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

The name of the database the Glue table belongs to.

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

The name of the database the Glue table belongs to.

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

The name of the database the Glue table belongs to.

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

The name of the database the Glue table belongs to.

*/ inline GlueTableReference& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} private: Aws::String m_tableName; bool m_tableNameHasBeenSet = false; Aws::String m_databaseName; bool m_databaseNameHasBeenSet = false; }; } // namespace Model } // namespace CleanRooms } // namespace Aws