/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains metadata information for a database in a data catalog.See
* Also:
AWS API
* Reference
The name of the database.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the database.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the database.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the database.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the database.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the database.
*/ inline Database& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the database.
*/ inline Database& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the database.
*/ inline Database& WithName(const char* value) { SetName(value); return *this;} /** *An optional description of the database.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *An optional description of the database.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *An optional description of the database.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *An optional description of the database.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *An optional description of the database.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *An optional description of the database.
*/ inline Database& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *An optional description of the database.
*/ inline Database& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *An optional description of the database.
*/ inline Database& WithDescription(const char* value) { SetDescription(value); return *this;} /** *A set of custom key/value pairs.
*/ inline const Aws::MapA set of custom key/value pairs.
*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *A set of custom key/value pairs.
*/ inline void SetParameters(const Aws::MapA set of custom key/value pairs.
*/ inline void SetParameters(Aws::MapA set of custom key/value pairs.
*/ inline Database& WithParameters(const Aws::MapA set of custom key/value pairs.
*/ inline Database& WithParameters(Aws::MapA set of custom key/value pairs.
*/ inline Database& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } /** *A set of custom key/value pairs.
*/ inline Database& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } /** *A set of custom key/value pairs.
*/ inline Database& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } /** *A set of custom key/value pairs.
*/ inline Database& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } /** *A set of custom key/value pairs.
*/ inline Database& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } /** *A set of custom key/value pairs.
*/ inline Database& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } /** *A set of custom key/value pairs.
*/ inline Database& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Map