AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
46 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
47 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
48 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
49 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
50 inline CatalogEntry& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
51 inline CatalogEntry& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
52 inline CatalogEntry& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
54
56
59 inline const Aws::String& GetTableName() const{ return m_tableName; }
60 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
61 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
62 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
63 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
64 inline CatalogEntry& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
65 inline CatalogEntry& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
66 inline CatalogEntry& WithTableName(const char* value) { SetTableName(value); return *this;}
68 private:
69
70 Aws::String m_databaseName;
71 bool m_databaseNameHasBeenSet = false;
72
73 Aws::String m_tableName;
74 bool m_tableNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Glue
79} // namespace Aws
void SetTableName(const Aws::String &value)
void SetTableName(Aws::String &&value)
const Aws::String & GetDatabaseName() const
const Aws::String & GetTableName() const
AWS_GLUE_API CatalogEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
CatalogEntry & WithTableName(const Aws::String &value)
void SetDatabaseName(const char *value)
AWS_GLUE_API CatalogEntry()
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTableName(const char *value)
void SetDatabaseName(const Aws::String &value)
void SetDatabaseName(Aws::String &&value)
bool TableNameHasBeenSet() const
AWS_GLUE_API CatalogEntry(Aws::Utils::Json::JsonView jsonValue)
CatalogEntry & WithTableName(const char *value)
CatalogEntry & WithDatabaseName(const char *value)
bool DatabaseNameHasBeenSet() const
CatalogEntry & WithDatabaseName(const Aws::String &value)
CatalogEntry & WithTableName(Aws::String &&value)
CatalogEntry & WithDatabaseName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue