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

The meta data of the Glue table which serves as data catalog for the * OfflineStore.

See Also:

AWS * API Reference

*/ class DataCatalogConfig { public: AWS_SAGEMAKER_API DataCatalogConfig(); AWS_SAGEMAKER_API DataCatalogConfig(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API DataCatalogConfig& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_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 DataCatalogConfig& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *

The name of the Glue table.

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

The name of the Glue table.

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

The name of the Glue table catalog.

*/ inline const Aws::String& GetCatalog() const{ return m_catalog; } /** *

The name of the Glue table catalog.

*/ inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } /** *

The name of the Glue table catalog.

*/ inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } /** *

The name of the Glue table catalog.

*/ inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } /** *

The name of the Glue table catalog.

*/ inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } /** *

The name of the Glue table catalog.

*/ inline DataCatalogConfig& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} /** *

The name of the Glue table catalog.

*/ inline DataCatalogConfig& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} /** *

The name of the Glue table catalog.

*/ inline DataCatalogConfig& WithCatalog(const char* value) { SetCatalog(value); return *this;} /** *

The name of the Glue table database.

*/ inline const Aws::String& GetDatabase() const{ return m_database; } /** *

The name of the Glue table database.

*/ inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; } /** *

The name of the Glue table database.

*/ inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; } /** *

The name of the Glue table database.

*/ inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); } /** *

The name of the Glue table database.

*/ inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); } /** *

The name of the Glue table database.

*/ inline DataCatalogConfig& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;} /** *

The name of the Glue table database.

*/ inline DataCatalogConfig& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;} /** *

The name of the Glue table database.

*/ inline DataCatalogConfig& WithDatabase(const char* value) { SetDatabase(value); return *this;} private: Aws::String m_tableName; bool m_tableNameHasBeenSet = false; Aws::String m_catalog; bool m_catalogHasBeenSet = false; Aws::String m_database; bool m_databaseHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws