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

Represents how metadata stored in the Glue Data Catalog is defined in a * DataBrew dataset.

See Also:

AWS * API Reference

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

The unique identifier of the Amazon Web Services account that holds the Data * Catalog that stores the data.

*/ inline const Aws::String& GetCatalogId() const{ return m_catalogId; } /** *

The unique identifier of the Amazon Web Services account that holds the Data * Catalog that stores the data.

*/ inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } /** *

The unique identifier of the Amazon Web Services account that holds the Data * Catalog that stores the data.

*/ inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } /** *

The unique identifier of the Amazon Web Services account that holds the Data * Catalog that stores the data.

*/ inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } /** *

The unique identifier of the Amazon Web Services account that holds the Data * Catalog that stores the data.

*/ inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } /** *

The unique identifier of the Amazon Web Services account that holds the Data * Catalog that stores the data.

*/ inline DataCatalogInputDefinition& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} /** *

The unique identifier of the Amazon Web Services account that holds the Data * Catalog that stores the data.

*/ inline DataCatalogInputDefinition& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} /** *

The unique identifier of the Amazon Web Services account that holds the Data * Catalog that stores the data.

*/ inline DataCatalogInputDefinition& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} /** *

The name of a database in the Data Catalog.

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

The name of a database in the Data Catalog.

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

The name of a database in the Data Catalog.

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

The name of a database in the Data Catalog.

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

The name of a database in the Data Catalog.

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

The name of a database in the Data Catalog.

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

The name of a database in the Data Catalog.

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

The name of a database in the Data Catalog.

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

The name of a database table in the Data Catalog. This table corresponds to a * DataBrew dataset.

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

The name of a database table in the Data Catalog. This table corresponds to a * DataBrew dataset.

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

The name of a database table in the Data Catalog. This table corresponds to a * DataBrew dataset.

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

The name of a database table in the Data Catalog. This table corresponds to a * DataBrew dataset.

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

The name of a database table in the Data Catalog. This table corresponds to a * DataBrew dataset.

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

The name of a database table in the Data Catalog. This table corresponds to a * DataBrew dataset.

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

The name of a database table in the Data Catalog. This table corresponds to a * DataBrew dataset.

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

The name of a database table in the Data Catalog. This table corresponds to a * DataBrew dataset.

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

Represents an Amazon location where DataBrew can store intermediate * results.

*/ inline const S3Location& GetTempDirectory() const{ return m_tempDirectory; } /** *

Represents an Amazon location where DataBrew can store intermediate * results.

*/ inline bool TempDirectoryHasBeenSet() const { return m_tempDirectoryHasBeenSet; } /** *

Represents an Amazon location where DataBrew can store intermediate * results.

*/ inline void SetTempDirectory(const S3Location& value) { m_tempDirectoryHasBeenSet = true; m_tempDirectory = value; } /** *

Represents an Amazon location where DataBrew can store intermediate * results.

*/ inline void SetTempDirectory(S3Location&& value) { m_tempDirectoryHasBeenSet = true; m_tempDirectory = std::move(value); } /** *

Represents an Amazon location where DataBrew can store intermediate * results.

*/ inline DataCatalogInputDefinition& WithTempDirectory(const S3Location& value) { SetTempDirectory(value); return *this;} /** *

Represents an Amazon location where DataBrew can store intermediate * results.

*/ inline DataCatalogInputDefinition& WithTempDirectory(S3Location&& value) { SetTempDirectory(std::move(value)); return *this;} private: Aws::String m_catalogId; bool m_catalogIdHasBeenSet = false; Aws::String m_databaseName; bool m_databaseNameHasBeenSet = false; Aws::String m_tableName; bool m_tableNameHasBeenSet = false; S3Location m_tempDirectory; bool m_tempDirectoryHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws