AWS SDK for C++  1.8.96
AWS SDK for C++
Public Member Functions | List of all members
Aws::Glue::Model::Database Class Reference

#include <Database.h>

Public Member Functions

 Database ()
 
 Database (Aws::Utils::Json::JsonView jsonValue)
 
Databaseoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
DatabaseWithName (const Aws::String &value)
 
DatabaseWithName (Aws::String &&value)
 
DatabaseWithName (const char *value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
DatabaseWithDescription (const Aws::String &value)
 
DatabaseWithDescription (Aws::String &&value)
 
DatabaseWithDescription (const char *value)
 
const Aws::StringGetLocationUri () const
 
bool LocationUriHasBeenSet () const
 
void SetLocationUri (const Aws::String &value)
 
void SetLocationUri (Aws::String &&value)
 
void SetLocationUri (const char *value)
 
DatabaseWithLocationUri (const Aws::String &value)
 
DatabaseWithLocationUri (Aws::String &&value)
 
DatabaseWithLocationUri (const char *value)
 
const Aws::Map< Aws::String, Aws::String > & GetParameters () const
 
bool ParametersHasBeenSet () const
 
void SetParameters (const Aws::Map< Aws::String, Aws::String > &value)
 
void SetParameters (Aws::Map< Aws::String, Aws::String > &&value)
 
DatabaseWithParameters (const Aws::Map< Aws::String, Aws::String > &value)
 
DatabaseWithParameters (Aws::Map< Aws::String, Aws::String > &&value)
 
DatabaseAddParameters (const Aws::String &key, const Aws::String &value)
 
DatabaseAddParameters (Aws::String &&key, const Aws::String &value)
 
DatabaseAddParameters (const Aws::String &key, Aws::String &&value)
 
DatabaseAddParameters (Aws::String &&key, Aws::String &&value)
 
DatabaseAddParameters (const char *key, Aws::String &&value)
 
DatabaseAddParameters (Aws::String &&key, const char *value)
 
DatabaseAddParameters (const char *key, const char *value)
 
const Aws::Utils::DateTimeGetCreateTime () const
 
bool CreateTimeHasBeenSet () const
 
void SetCreateTime (const Aws::Utils::DateTime &value)
 
void SetCreateTime (Aws::Utils::DateTime &&value)
 
DatabaseWithCreateTime (const Aws::Utils::DateTime &value)
 
DatabaseWithCreateTime (Aws::Utils::DateTime &&value)
 
const Aws::Vector< PrincipalPermissions > & GetCreateTableDefaultPermissions () const
 
bool CreateTableDefaultPermissionsHasBeenSet () const
 
void SetCreateTableDefaultPermissions (const Aws::Vector< PrincipalPermissions > &value)
 
void SetCreateTableDefaultPermissions (Aws::Vector< PrincipalPermissions > &&value)
 
DatabaseWithCreateTableDefaultPermissions (const Aws::Vector< PrincipalPermissions > &value)
 
DatabaseWithCreateTableDefaultPermissions (Aws::Vector< PrincipalPermissions > &&value)
 
DatabaseAddCreateTableDefaultPermissions (const PrincipalPermissions &value)
 
DatabaseAddCreateTableDefaultPermissions (PrincipalPermissions &&value)
 
const DatabaseIdentifierGetTargetDatabase () const
 
bool TargetDatabaseHasBeenSet () const
 
void SetTargetDatabase (const DatabaseIdentifier &value)
 
void SetTargetDatabase (DatabaseIdentifier &&value)
 
DatabaseWithTargetDatabase (const DatabaseIdentifier &value)
 
DatabaseWithTargetDatabase (DatabaseIdentifier &&value)
 
const Aws::StringGetCatalogId () const
 
bool CatalogIdHasBeenSet () const
 
void SetCatalogId (const Aws::String &value)
 
void SetCatalogId (Aws::String &&value)
 
void SetCatalogId (const char *value)
 
DatabaseWithCatalogId (const Aws::String &value)
 
DatabaseWithCatalogId (Aws::String &&value)
 
DatabaseWithCatalogId (const char *value)
 

Detailed Description

The Database object represents a logical grouping of tables that might reside in a Hive metastore or an RDBMS.

See Also:

AWS API Reference

Definition at line 37 of file Database.h.

Constructor & Destructor Documentation

◆ Database() [1/2]

Aws::Glue::Model::Database::Database ( )

◆ Database() [2/2]

Aws::Glue::Model::Database::Database ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddCreateTableDefaultPermissions() [1/2]

Database& Aws::Glue::Model::Database::AddCreateTableDefaultPermissions ( const PrincipalPermissions value)
inline

Creates a set of default permissions on the table for principals.

Definition at line 307 of file Database.h.

◆ AddCreateTableDefaultPermissions() [2/2]

Database& Aws::Glue::Model::Database::AddCreateTableDefaultPermissions ( PrincipalPermissions &&  value)
inline

Creates a set of default permissions on the table for principals.

Definition at line 312 of file Database.h.

◆ AddParameters() [1/7]

Database& Aws::Glue::Model::Database::AddParameters ( const Aws::String key,
const Aws::String value 
)
inline

These key-value pairs define parameters and properties of the database.

Definition at line 210 of file Database.h.

◆ AddParameters() [2/7]

Database& Aws::Glue::Model::Database::AddParameters ( Aws::String &&  key,
const Aws::String value 
)
inline

These key-value pairs define parameters and properties of the database.

Definition at line 215 of file Database.h.

◆ AddParameters() [3/7]

Database& Aws::Glue::Model::Database::AddParameters ( const Aws::String key,
Aws::String &&  value 
)
inline

These key-value pairs define parameters and properties of the database.

Definition at line 220 of file Database.h.

◆ AddParameters() [4/7]

Database& Aws::Glue::Model::Database::AddParameters ( Aws::String &&  key,
Aws::String &&  value 
)
inline

These key-value pairs define parameters and properties of the database.

Definition at line 225 of file Database.h.

◆ AddParameters() [5/7]

Database& Aws::Glue::Model::Database::AddParameters ( const char *  key,
Aws::String &&  value 
)
inline

These key-value pairs define parameters and properties of the database.

Definition at line 230 of file Database.h.

◆ AddParameters() [6/7]

Database& Aws::Glue::Model::Database::AddParameters ( Aws::String &&  key,
const char *  value 
)
inline

These key-value pairs define parameters and properties of the database.

Definition at line 235 of file Database.h.

◆ AddParameters() [7/7]

Database& Aws::Glue::Model::Database::AddParameters ( const char *  key,
const char *  value 
)
inline

These key-value pairs define parameters and properties of the database.

Definition at line 240 of file Database.h.

◆ CatalogIdHasBeenSet()

bool Aws::Glue::Model::Database::CatalogIdHasBeenSet ( ) const
inline

The ID of the Data Catalog in which the database resides.

Definition at line 360 of file Database.h.

◆ CreateTableDefaultPermissionsHasBeenSet()

bool Aws::Glue::Model::Database::CreateTableDefaultPermissionsHasBeenSet ( ) const
inline

Creates a set of default permissions on the table for principals.

Definition at line 282 of file Database.h.

◆ CreateTimeHasBeenSet()

bool Aws::Glue::Model::Database::CreateTimeHasBeenSet ( ) const
inline

The time at which the metadata database was created in the catalog.

Definition at line 251 of file Database.h.

◆ DescriptionHasBeenSet()

bool Aws::Glue::Model::Database::DescriptionHasBeenSet ( ) const
inline

A description of the database.

Definition at line 103 of file Database.h.

◆ GetCatalogId()

const Aws::String& Aws::Glue::Model::Database::GetCatalogId ( ) const
inline

The ID of the Data Catalog in which the database resides.

Definition at line 355 of file Database.h.

◆ GetCreateTableDefaultPermissions()

const Aws::Vector<PrincipalPermissions>& Aws::Glue::Model::Database::GetCreateTableDefaultPermissions ( ) const
inline

Creates a set of default permissions on the table for principals.

Definition at line 277 of file Database.h.

◆ GetCreateTime()

const Aws::Utils::DateTime& Aws::Glue::Model::Database::GetCreateTime ( ) const
inline

The time at which the metadata database was created in the catalog.

Definition at line 246 of file Database.h.

◆ GetDescription()

const Aws::String& Aws::Glue::Model::Database::GetDescription ( ) const
inline

A description of the database.

Definition at line 98 of file Database.h.

◆ GetLocationUri()

const Aws::String& Aws::Glue::Model::Database::GetLocationUri ( ) const
inline

The location of the database (for example, an HDFS path).

Definition at line 139 of file Database.h.

◆ GetName()

const Aws::String& Aws::Glue::Model::Database::GetName ( ) const
inline

The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.

Definition at line 50 of file Database.h.

◆ GetParameters()

const Aws::Map<Aws::String, Aws::String>& Aws::Glue::Model::Database::GetParameters ( ) const
inline

These key-value pairs define parameters and properties of the database.

Definition at line 180 of file Database.h.

◆ GetTargetDatabase()

const DatabaseIdentifier& Aws::Glue::Model::Database::GetTargetDatabase ( ) const
inline

A DatabaseIdentifier structure that describes a target database for resource linking.

Definition at line 319 of file Database.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Glue::Model::Database::Jsonize ( ) const

◆ LocationUriHasBeenSet()

bool Aws::Glue::Model::Database::LocationUriHasBeenSet ( ) const
inline

The location of the database (for example, an HDFS path).

Definition at line 144 of file Database.h.

◆ NameHasBeenSet()

bool Aws::Glue::Model::Database::NameHasBeenSet ( ) const
inline

The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.

Definition at line 56 of file Database.h.

◆ operator=()

Database& Aws::Glue::Model::Database::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ParametersHasBeenSet()

bool Aws::Glue::Model::Database::ParametersHasBeenSet ( ) const
inline

These key-value pairs define parameters and properties of the database.

Definition at line 185 of file Database.h.

◆ SetCatalogId() [1/3]

void Aws::Glue::Model::Database::SetCatalogId ( const Aws::String value)
inline

The ID of the Data Catalog in which the database resides.

Definition at line 365 of file Database.h.

◆ SetCatalogId() [2/3]

void Aws::Glue::Model::Database::SetCatalogId ( Aws::String &&  value)
inline

The ID of the Data Catalog in which the database resides.

Definition at line 370 of file Database.h.

◆ SetCatalogId() [3/3]

void Aws::Glue::Model::Database::SetCatalogId ( const char *  value)
inline

The ID of the Data Catalog in which the database resides.

Definition at line 375 of file Database.h.

◆ SetCreateTableDefaultPermissions() [1/2]

void Aws::Glue::Model::Database::SetCreateTableDefaultPermissions ( const Aws::Vector< PrincipalPermissions > &  value)
inline

Creates a set of default permissions on the table for principals.

Definition at line 287 of file Database.h.

◆ SetCreateTableDefaultPermissions() [2/2]

void Aws::Glue::Model::Database::SetCreateTableDefaultPermissions ( Aws::Vector< PrincipalPermissions > &&  value)
inline

Creates a set of default permissions on the table for principals.

Definition at line 292 of file Database.h.

◆ SetCreateTime() [1/2]

void Aws::Glue::Model::Database::SetCreateTime ( const Aws::Utils::DateTime value)
inline

The time at which the metadata database was created in the catalog.

Definition at line 256 of file Database.h.

◆ SetCreateTime() [2/2]

void Aws::Glue::Model::Database::SetCreateTime ( Aws::Utils::DateTime &&  value)
inline

The time at which the metadata database was created in the catalog.

Definition at line 261 of file Database.h.

◆ SetDescription() [1/3]

void Aws::Glue::Model::Database::SetDescription ( const Aws::String value)
inline

A description of the database.

Definition at line 108 of file Database.h.

◆ SetDescription() [2/3]

void Aws::Glue::Model::Database::SetDescription ( Aws::String &&  value)
inline

A description of the database.

Definition at line 113 of file Database.h.

◆ SetDescription() [3/3]

void Aws::Glue::Model::Database::SetDescription ( const char *  value)
inline

A description of the database.

Definition at line 118 of file Database.h.

◆ SetLocationUri() [1/3]

void Aws::Glue::Model::Database::SetLocationUri ( const Aws::String value)
inline

The location of the database (for example, an HDFS path).

Definition at line 149 of file Database.h.

◆ SetLocationUri() [2/3]

void Aws::Glue::Model::Database::SetLocationUri ( Aws::String &&  value)
inline

The location of the database (for example, an HDFS path).

Definition at line 154 of file Database.h.

◆ SetLocationUri() [3/3]

void Aws::Glue::Model::Database::SetLocationUri ( const char *  value)
inline

The location of the database (for example, an HDFS path).

Definition at line 159 of file Database.h.

◆ SetName() [1/3]

void Aws::Glue::Model::Database::SetName ( const Aws::String value)
inline

The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.

Definition at line 62 of file Database.h.

◆ SetName() [2/3]

void Aws::Glue::Model::Database::SetName ( Aws::String &&  value)
inline

The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.

Definition at line 68 of file Database.h.

◆ SetName() [3/3]

void Aws::Glue::Model::Database::SetName ( const char *  value)
inline

The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.

Definition at line 74 of file Database.h.

◆ SetParameters() [1/2]

void Aws::Glue::Model::Database::SetParameters ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

These key-value pairs define parameters and properties of the database.

Definition at line 190 of file Database.h.

◆ SetParameters() [2/2]

void Aws::Glue::Model::Database::SetParameters ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

These key-value pairs define parameters and properties of the database.

Definition at line 195 of file Database.h.

◆ SetTargetDatabase() [1/2]

void Aws::Glue::Model::Database::SetTargetDatabase ( const DatabaseIdentifier value)
inline

A DatabaseIdentifier structure that describes a target database for resource linking.

Definition at line 331 of file Database.h.

◆ SetTargetDatabase() [2/2]

void Aws::Glue::Model::Database::SetTargetDatabase ( DatabaseIdentifier &&  value)
inline

A DatabaseIdentifier structure that describes a target database for resource linking.

Definition at line 337 of file Database.h.

◆ TargetDatabaseHasBeenSet()

bool Aws::Glue::Model::Database::TargetDatabaseHasBeenSet ( ) const
inline

A DatabaseIdentifier structure that describes a target database for resource linking.

Definition at line 325 of file Database.h.

◆ WithCatalogId() [1/3]

Database& Aws::Glue::Model::Database::WithCatalogId ( const Aws::String value)
inline

The ID of the Data Catalog in which the database resides.

Definition at line 380 of file Database.h.

◆ WithCatalogId() [2/3]

Database& Aws::Glue::Model::Database::WithCatalogId ( Aws::String &&  value)
inline

The ID of the Data Catalog in which the database resides.

Definition at line 385 of file Database.h.

◆ WithCatalogId() [3/3]

Database& Aws::Glue::Model::Database::WithCatalogId ( const char *  value)
inline

The ID of the Data Catalog in which the database resides.

Definition at line 390 of file Database.h.

◆ WithCreateTableDefaultPermissions() [1/2]

Database& Aws::Glue::Model::Database::WithCreateTableDefaultPermissions ( const Aws::Vector< PrincipalPermissions > &  value)
inline

Creates a set of default permissions on the table for principals.

Definition at line 297 of file Database.h.

◆ WithCreateTableDefaultPermissions() [2/2]

Database& Aws::Glue::Model::Database::WithCreateTableDefaultPermissions ( Aws::Vector< PrincipalPermissions > &&  value)
inline

Creates a set of default permissions on the table for principals.

Definition at line 302 of file Database.h.

◆ WithCreateTime() [1/2]

Database& Aws::Glue::Model::Database::WithCreateTime ( const Aws::Utils::DateTime value)
inline

The time at which the metadata database was created in the catalog.

Definition at line 266 of file Database.h.

◆ WithCreateTime() [2/2]

Database& Aws::Glue::Model::Database::WithCreateTime ( Aws::Utils::DateTime &&  value)
inline

The time at which the metadata database was created in the catalog.

Definition at line 271 of file Database.h.

◆ WithDescription() [1/3]

Database& Aws::Glue::Model::Database::WithDescription ( const Aws::String value)
inline

A description of the database.

Definition at line 123 of file Database.h.

◆ WithDescription() [2/3]

Database& Aws::Glue::Model::Database::WithDescription ( Aws::String &&  value)
inline

A description of the database.

Definition at line 128 of file Database.h.

◆ WithDescription() [3/3]

Database& Aws::Glue::Model::Database::WithDescription ( const char *  value)
inline

A description of the database.

Definition at line 133 of file Database.h.

◆ WithLocationUri() [1/3]

Database& Aws::Glue::Model::Database::WithLocationUri ( const Aws::String value)
inline

The location of the database (for example, an HDFS path).

Definition at line 164 of file Database.h.

◆ WithLocationUri() [2/3]

Database& Aws::Glue::Model::Database::WithLocationUri ( Aws::String &&  value)
inline

The location of the database (for example, an HDFS path).

Definition at line 169 of file Database.h.

◆ WithLocationUri() [3/3]

Database& Aws::Glue::Model::Database::WithLocationUri ( const char *  value)
inline

The location of the database (for example, an HDFS path).

Definition at line 174 of file Database.h.

◆ WithName() [1/3]

Database& Aws::Glue::Model::Database::WithName ( const Aws::String value)
inline

The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.

Definition at line 80 of file Database.h.

◆ WithName() [2/3]

Database& Aws::Glue::Model::Database::WithName ( Aws::String &&  value)
inline

The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.

Definition at line 86 of file Database.h.

◆ WithName() [3/3]

Database& Aws::Glue::Model::Database::WithName ( const char *  value)
inline

The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.

Definition at line 92 of file Database.h.

◆ WithParameters() [1/2]

Database& Aws::Glue::Model::Database::WithParameters ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

These key-value pairs define parameters and properties of the database.

Definition at line 200 of file Database.h.

◆ WithParameters() [2/2]

Database& Aws::Glue::Model::Database::WithParameters ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

These key-value pairs define parameters and properties of the database.

Definition at line 205 of file Database.h.

◆ WithTargetDatabase() [1/2]

Database& Aws::Glue::Model::Database::WithTargetDatabase ( const DatabaseIdentifier value)
inline

A DatabaseIdentifier structure that describes a target database for resource linking.

Definition at line 343 of file Database.h.

◆ WithTargetDatabase() [2/2]

Database& Aws::Glue::Model::Database::WithTargetDatabase ( DatabaseIdentifier &&  value)
inline

A DatabaseIdentifier structure that describes a target database for resource linking.

Definition at line 349 of file Database.h.


The documentation for this class was generated from the following file: