/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The database and data catalog context in which the query execution
* occurs.See Also:
AWS
* API Reference
The name of the database used in the query execution. The database must exist * in the catalog.
*/ inline const Aws::String& GetDatabase() const{ return m_database; } /** *The name of the database used in the query execution. The database must exist * in the catalog.
*/ inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; } /** *The name of the database used in the query execution. The database must exist * in the catalog.
*/ inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; } /** *The name of the database used in the query execution. The database must exist * in the catalog.
*/ inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); } /** *The name of the database used in the query execution. The database must exist * in the catalog.
*/ inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); } /** *The name of the database used in the query execution. The database must exist * in the catalog.
*/ inline QueryExecutionContext& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;} /** *The name of the database used in the query execution. The database must exist * in the catalog.
*/ inline QueryExecutionContext& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;} /** *The name of the database used in the query execution. The database must exist * in the catalog.
*/ inline QueryExecutionContext& WithDatabase(const char* value) { SetDatabase(value); return *this;} /** *The name of the data catalog used in the query execution.
*/ inline const Aws::String& GetCatalog() const{ return m_catalog; } /** *The name of the data catalog used in the query execution.
*/ inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; } /** *The name of the data catalog used in the query execution.
*/ inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; } /** *The name of the data catalog used in the query execution.
*/ inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); } /** *The name of the data catalog used in the query execution.
*/ inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); } /** *The name of the data catalog used in the query execution.
*/ inline QueryExecutionContext& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;} /** *The name of the data catalog used in the query execution.
*/ inline QueryExecutionContext& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;} /** *The name of the data catalog used in the query execution.
*/ inline QueryExecutionContext& WithCatalog(const char* value) { SetCatalog(value); return *this;} private: Aws::String m_database; bool m_databaseHasBeenSet = false; Aws::String m_catalog; bool m_catalogHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws