AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CatalogEntry.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLUE_API CatalogEntry() = default;
39
40
42
45 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
46 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
47 template<typename DatabaseNameT = Aws::String>
48 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
49 template<typename DatabaseNameT = Aws::String>
50 CatalogEntry& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetTableName() const { return m_tableName; }
58 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
59 template<typename TableNameT = Aws::String>
60 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
61 template<typename TableNameT = Aws::String>
62 CatalogEntry& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
64 private:
65
66 Aws::String m_databaseName;
67 bool m_databaseNameHasBeenSet = false;
68
69 Aws::String m_tableName;
70 bool m_tableNameHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Glue
75} // namespace Aws
CatalogEntry & WithTableName(TableNameT &&value)
const Aws::String & GetDatabaseName() const
const Aws::String & GetTableName() const
void SetTableName(TableNameT &&value)
AWS_GLUE_API CatalogEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool TableNameHasBeenSet() const
AWS_GLUE_API CatalogEntry()=default
AWS_GLUE_API CatalogEntry(Aws::Utils::Json::JsonView jsonValue)
void SetDatabaseName(DatabaseNameT &&value)
CatalogEntry & WithDatabaseName(DatabaseNameT &&value)
bool DatabaseNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue