/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Database
object represents a logical grouping of tables that
* might reside in a Hive metastore or an RDBMS.See Also:
AWS API
* Reference
The name of the database. For Hive compatibility, this is folded to lowercase * when it is stored.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the database. For Hive compatibility, this is folded to lowercase * when it is stored.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the database. For Hive compatibility, this is folded to lowercase * when it is stored.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the database. For Hive compatibility, this is folded to lowercase * when it is stored.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the database. For Hive compatibility, this is folded to lowercase * when it is stored.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the database. For Hive compatibility, this is folded to lowercase * when it is stored.
*/ inline Database& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the database. For Hive compatibility, this is folded to lowercase * when it is stored.
*/ inline Database& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the database. For Hive compatibility, this is folded to lowercase * when it is stored.
*/ inline Database& WithName(const char* value) { SetName(value); return *this;} /** *A description of the database.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the database.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the database.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the database.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the database.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the database.
*/ inline Database& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the database.
*/ inline Database& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the database.
*/ inline Database& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The location of the database (for example, an HDFS path).
*/ inline const Aws::String& GetLocationUri() const{ return m_locationUri; } /** *The location of the database (for example, an HDFS path).
*/ inline bool LocationUriHasBeenSet() const { return m_locationUriHasBeenSet; } /** *The location of the database (for example, an HDFS path).
*/ inline void SetLocationUri(const Aws::String& value) { m_locationUriHasBeenSet = true; m_locationUri = value; } /** *The location of the database (for example, an HDFS path).
*/ inline void SetLocationUri(Aws::String&& value) { m_locationUriHasBeenSet = true; m_locationUri = std::move(value); } /** *The location of the database (for example, an HDFS path).
*/ inline void SetLocationUri(const char* value) { m_locationUriHasBeenSet = true; m_locationUri.assign(value); } /** *The location of the database (for example, an HDFS path).
*/ inline Database& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;} /** *The location of the database (for example, an HDFS path).
*/ inline Database& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;} /** *The location of the database (for example, an HDFS path).
*/ inline Database& WithLocationUri(const char* value) { SetLocationUri(value); return *this;} /** *These key-value pairs define parameters and properties of the database.
*/ inline const Aws::MapThese key-value pairs define parameters and properties of the database.
*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *These key-value pairs define parameters and properties of the database.
*/ inline void SetParameters(const Aws::MapThese key-value pairs define parameters and properties of the database.
*/ inline void SetParameters(Aws::MapThese key-value pairs define parameters and properties of the database.
*/ inline Database& WithParameters(const Aws::MapThese key-value pairs define parameters and properties of the database.
*/ inline Database& WithParameters(Aws::MapThese key-value pairs define parameters and properties of the database.
*/ inline Database& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } /** *These key-value pairs define parameters and properties of the database.
*/ inline Database& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } /** *These key-value pairs define parameters and properties of the database.
*/ inline Database& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } /** *These key-value pairs define parameters and properties of the database.
*/ inline Database& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } /** *These key-value pairs define parameters and properties of the database.
*/ inline Database& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } /** *These key-value pairs define parameters and properties of the database.
*/ inline Database& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } /** *These key-value pairs define parameters and properties of the database.
*/ inline Database& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } /** *The time at which the metadata database was created in the catalog.
*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *The time at which the metadata database was created in the catalog.
*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *The time at which the metadata database was created in the catalog.
*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *The time at which the metadata database was created in the catalog.
*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *The time at which the metadata database was created in the catalog.
*/ inline Database& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *The time at which the metadata database was created in the catalog.
*/ inline Database& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *Creates a set of default permissions on the table for principals. Used by * Lake Formation. Not used in the normal course of Glue operations.
*/ inline const Aws::VectorCreates a set of default permissions on the table for principals. Used by * Lake Formation. Not used in the normal course of Glue operations.
*/ inline bool CreateTableDefaultPermissionsHasBeenSet() const { return m_createTableDefaultPermissionsHasBeenSet; } /** *Creates a set of default permissions on the table for principals. Used by * Lake Formation. Not used in the normal course of Glue operations.
*/ inline void SetCreateTableDefaultPermissions(const Aws::VectorCreates a set of default permissions on the table for principals. Used by * Lake Formation. Not used in the normal course of Glue operations.
*/ inline void SetCreateTableDefaultPermissions(Aws::VectorCreates a set of default permissions on the table for principals. Used by * Lake Formation. Not used in the normal course of Glue operations.
*/ inline Database& WithCreateTableDefaultPermissions(const Aws::VectorCreates a set of default permissions on the table for principals. Used by * Lake Formation. Not used in the normal course of Glue operations.
*/ inline Database& WithCreateTableDefaultPermissions(Aws::VectorCreates a set of default permissions on the table for principals. Used by * Lake Formation. Not used in the normal course of Glue operations.
*/ inline Database& AddCreateTableDefaultPermissions(const PrincipalPermissions& value) { m_createTableDefaultPermissionsHasBeenSet = true; m_createTableDefaultPermissions.push_back(value); return *this; } /** *Creates a set of default permissions on the table for principals. Used by * Lake Formation. Not used in the normal course of Glue operations.
*/ inline Database& AddCreateTableDefaultPermissions(PrincipalPermissions&& value) { m_createTableDefaultPermissionsHasBeenSet = true; m_createTableDefaultPermissions.push_back(std::move(value)); return *this; } /** *A DatabaseIdentifier
structure that describes a target database
* for resource linking.
A DatabaseIdentifier
structure that describes a target database
* for resource linking.
A DatabaseIdentifier
structure that describes a target database
* for resource linking.
A DatabaseIdentifier
structure that describes a target database
* for resource linking.
A DatabaseIdentifier
structure that describes a target database
* for resource linking.
A DatabaseIdentifier
structure that describes a target database
* for resource linking.
The ID of the Data Catalog in which the database resides.
*/ inline const Aws::String& GetCatalogId() const{ return m_catalogId; } /** *The ID of the Data Catalog in which the database resides.
*/ inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } /** *The ID of the Data Catalog in which the database resides.
*/ inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } /** *The ID of the Data Catalog in which the database resides.
*/ inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } /** *The ID of the Data Catalog in which the database resides.
*/ inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } /** *The ID of the Data Catalog in which the database resides.
*/ inline Database& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} /** *The ID of the Data Catalog in which the database resides.
*/ inline Database& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} /** *The ID of the Data Catalog in which the database resides.
*/ inline Database& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} /** *A FederatedDatabase
structure that references an entity outside
* the Glue Data Catalog.
A FederatedDatabase
structure that references an entity outside
* the Glue Data Catalog.
A FederatedDatabase
structure that references an entity outside
* the Glue Data Catalog.
A FederatedDatabase
structure that references an entity outside
* the Glue Data Catalog.
A FederatedDatabase
structure that references an entity outside
* the Glue Data Catalog.
A FederatedDatabase
structure that references an entity outside
* the Glue Data Catalog.