This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-athena/include/aws/athena/model/GetDatabaseRequest.h

130 lines
4.2 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/athena/Athena_EXPORTS.h>
#include <aws/athena/AthenaRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Athena
{
namespace Model
{
/**
*/
class AWS_ATHENA_API GetDatabaseRequest : public AthenaRequest
{
public:
GetDatabaseRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "GetDatabase"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the data catalog that contains the database to return.</p>
*/
inline const Aws::String& GetCatalogName() const{ return m_catalogName; }
/**
* <p>The name of the data catalog that contains the database to return.</p>
*/
inline bool CatalogNameHasBeenSet() const { return m_catalogNameHasBeenSet; }
/**
* <p>The name of the data catalog that contains the database to return.</p>
*/
inline void SetCatalogName(const Aws::String& value) { m_catalogNameHasBeenSet = true; m_catalogName = value; }
/**
* <p>The name of the data catalog that contains the database to return.</p>
*/
inline void SetCatalogName(Aws::String&& value) { m_catalogNameHasBeenSet = true; m_catalogName = std::move(value); }
/**
* <p>The name of the data catalog that contains the database to return.</p>
*/
inline void SetCatalogName(const char* value) { m_catalogNameHasBeenSet = true; m_catalogName.assign(value); }
/**
* <p>The name of the data catalog that contains the database to return.</p>
*/
inline GetDatabaseRequest& WithCatalogName(const Aws::String& value) { SetCatalogName(value); return *this;}
/**
* <p>The name of the data catalog that contains the database to return.</p>
*/
inline GetDatabaseRequest& WithCatalogName(Aws::String&& value) { SetCatalogName(std::move(value)); return *this;}
/**
* <p>The name of the data catalog that contains the database to return.</p>
*/
inline GetDatabaseRequest& WithCatalogName(const char* value) { SetCatalogName(value); return *this;}
/**
* <p>The name of the database to return.</p>
*/
inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
/**
* <p>The name of the database to return.</p>
*/
inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
/**
* <p>The name of the database to return.</p>
*/
inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
/**
* <p>The name of the database to return.</p>
*/
inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
/**
* <p>The name of the database to return.</p>
*/
inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
/**
* <p>The name of the database to return.</p>
*/
inline GetDatabaseRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
/**
* <p>The name of the database to return.</p>
*/
inline GetDatabaseRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
/**
* <p>The name of the database to return.</p>
*/
inline GetDatabaseRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
private:
Aws::String m_catalogName;
bool m_catalogNameHasBeenSet;
Aws::String m_databaseName;
bool m_databaseNameHasBeenSet;
};
} // namespace Model
} // namespace Athena
} // namespace Aws