AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CatalogSource.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 CatalogSource();
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline CatalogSource& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline CatalogSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline CatalogSource& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetDatabase() const{ return m_database; }
60 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
61 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
62 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
63 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
64 inline CatalogSource& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
65 inline CatalogSource& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
66 inline CatalogSource& WithDatabase(const char* value) { SetDatabase(value); return *this;}
68
70
73 inline const Aws::String& GetTable() const{ return m_table; }
74 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
75 inline void SetTable(const Aws::String& value) { m_tableHasBeenSet = true; m_table = value; }
76 inline void SetTable(Aws::String&& value) { m_tableHasBeenSet = true; m_table = std::move(value); }
77 inline void SetTable(const char* value) { m_tableHasBeenSet = true; m_table.assign(value); }
78 inline CatalogSource& WithTable(const Aws::String& value) { SetTable(value); return *this;}
79 inline CatalogSource& WithTable(Aws::String&& value) { SetTable(std::move(value)); return *this;}
80 inline CatalogSource& WithTable(const char* value) { SetTable(value); return *this;}
82 private:
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86
87 Aws::String m_database;
88 bool m_databaseHasBeenSet = false;
89
90 Aws::String m_table;
91 bool m_tableHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Glue
96} // namespace Aws
void SetDatabase(const Aws::String &value)
CatalogSource & WithDatabase(const Aws::String &value)
CatalogSource & WithTable(const Aws::String &value)
void SetTable(const char *value)
CatalogSource & WithTable(const char *value)
CatalogSource & WithName(Aws::String &&value)
void SetDatabase(Aws::String &&value)
void SetName(const Aws::String &value)
CatalogSource & WithName(const char *value)
AWS_GLUE_API CatalogSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
CatalogSource & WithTable(Aws::String &&value)
void SetTable(Aws::String &&value)
CatalogSource & WithName(const Aws::String &value)
void SetTable(const Aws::String &value)
const Aws::String & GetDatabase() const
AWS_GLUE_API CatalogSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTable() const
void SetName(Aws::String &&value)
const Aws::String & GetName() const
CatalogSource & WithDatabase(Aws::String &&value)
void SetDatabase(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
CatalogSource & WithDatabase(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue