AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
CatalogEntry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API CatalogEntry() = default;
34
36
39 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
40 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
41 template <typename DatabaseNameT = Aws::String>
42 void SetDatabaseName(DatabaseNameT&& value) {
43 m_databaseNameHasBeenSet = true;
44 m_databaseName = std::forward<DatabaseNameT>(value);
45 }
46 template <typename DatabaseNameT = Aws::String>
47 CatalogEntry& WithDatabaseName(DatabaseNameT&& value) {
48 SetDatabaseName(std::forward<DatabaseNameT>(value));
49 return *this;
50 }
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) {
61 m_tableNameHasBeenSet = true;
62 m_tableName = std::forward<TableNameT>(value);
63 }
64 template <typename TableNameT = Aws::String>
65 CatalogEntry& WithTableName(TableNameT&& value) {
66 SetTableName(std::forward<TableNameT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_databaseName;
72 bool m_databaseNameHasBeenSet = false;
73
74 Aws::String m_tableName;
75 bool m_tableNameHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Glue
80} // 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