7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/glue/model/DatabaseIdentifier.h>
13#include <aws/glue/model/FederatedDatabase.h>
14#include <aws/glue/model/PrincipalPermissions.h>
56 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
70 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
84 inline void SetLocationUri(
const char* value) { m_locationUriHasBeenSet =
true; m_locationUri.assign(value); }
106 inline Database&
AddParameters(
const char* key,
const char* value) { m_parametersHasBeenSet =
true; m_parameters.emplace(key, value);
return *
this; }
157 inline void SetCatalogId(
const char* value) { m_catalogIdHasBeenSet =
true; m_catalogId.assign(value); }
178 bool m_nameHasBeenSet =
false;
181 bool m_descriptionHasBeenSet =
false;
184 bool m_locationUriHasBeenSet =
false;
187 bool m_parametersHasBeenSet =
false;
190 bool m_createTimeHasBeenSet =
false;
193 bool m_createTableDefaultPermissionsHasBeenSet =
false;
196 bool m_targetDatabaseHasBeenSet =
false;
199 bool m_catalogIdHasBeenSet =
false;
202 bool m_federatedDatabaseHasBeenSet =
false;
void SetTargetDatabase(const DatabaseIdentifier &value)
Database & AddParameters(const char *key, const char *value)
Database & AddParameters(Aws::String &&key, const Aws::String &value)
Database & WithTargetDatabase(const DatabaseIdentifier &value)
bool CreateTimeHasBeenSet() const
Database & WithFederatedDatabase(FederatedDatabase &&value)
bool TargetDatabaseHasBeenSet() const
void SetDescription(Aws::String &&value)
bool LocationUriHasBeenSet() const
const DatabaseIdentifier & GetTargetDatabase() const
void SetCreateTableDefaultPermissions(const Aws::Vector< PrincipalPermissions > &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetCatalogId(const char *value)
const Aws::String & GetLocationUri() const
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
Database & AddParameters(Aws::String &&key, const char *value)
void SetDescription(const char *value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
bool CreateTableDefaultPermissionsHasBeenSet() const
void SetCatalogId(const Aws::String &value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetCreateTableDefaultPermissions(Aws::Vector< PrincipalPermissions > &&value)
void SetDescription(const Aws::String &value)
Database & WithCreateTime(Aws::Utils::DateTime &&value)
Database & WithCatalogId(const Aws::String &value)
const Aws::String & GetName() const
void SetName(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetName(const char *value)
Database & WithCreateTime(const Aws::Utils::DateTime &value)
void SetLocationUri(const char *value)
Database & WithCatalogId(Aws::String &&value)
void SetTargetDatabase(DatabaseIdentifier &&value)
const Aws::Utils::DateTime & GetCreateTime() const
Database & WithFederatedDatabase(const FederatedDatabase &value)
AWS_GLUE_API Database(Aws::Utils::Json::JsonView jsonValue)
Database & WithCreateTableDefaultPermissions(Aws::Vector< PrincipalPermissions > &&value)
void SetFederatedDatabase(const FederatedDatabase &value)
Database & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
bool NameHasBeenSet() const
Database & WithLocationUri(const char *value)
Database & WithLocationUri(const Aws::String &value)
const FederatedDatabase & GetFederatedDatabase() const
Database & WithDescription(const char *value)
AWS_GLUE_API Database & operator=(Aws::Utils::Json::JsonView jsonValue)
Database & AddParameters(const char *key, Aws::String &&value)
Database & WithDescription(const Aws::String &value)
void SetLocationUri(const Aws::String &value)
Database & AddCreateTableDefaultPermissions(const PrincipalPermissions &value)
Database & WithDescription(Aws::String &&value)
Database & WithName(const char *value)
Database & WithLocationUri(Aws::String &&value)
Database & WithName(Aws::String &&value)
Database & AddParameters(Aws::String &&key, Aws::String &&value)
void SetCatalogId(Aws::String &&value)
bool FederatedDatabaseHasBeenSet() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLocationUri(Aws::String &&value)
void SetName(Aws::String &&value)
Database & AddParameters(const Aws::String &key, Aws::String &&value)
Database & AddCreateTableDefaultPermissions(PrincipalPermissions &&value)
Database & WithCatalogId(const char *value)
const Aws::Vector< PrincipalPermissions > & GetCreateTableDefaultPermissions() const
Database & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetDescription() const
Database & WithCreateTableDefaultPermissions(const Aws::Vector< PrincipalPermissions > &value)
Database & WithTargetDatabase(DatabaseIdentifier &&value)
bool CatalogIdHasBeenSet() const
void SetFederatedDatabase(FederatedDatabase &&value)
bool ParametersHasBeenSet() const
Database & AddParameters(const Aws::String &key, const Aws::String &value)
Database & WithName(const Aws::String &value)
void SetCreateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetCatalogId() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue