AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
39
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 CatalogSource& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDatabase() const { return m_database; }
58 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
59 template<typename DatabaseT = Aws::String>
60 void SetDatabase(DatabaseT&& value) { m_databaseHasBeenSet = true; m_database = std::forward<DatabaseT>(value); }
61 template<typename DatabaseT = Aws::String>
62 CatalogSource& WithDatabase(DatabaseT&& value) { SetDatabase(std::forward<DatabaseT>(value)); return *this;}
64
66
69 inline const Aws::String& GetTable() const { return m_table; }
70 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
71 template<typename TableT = Aws::String>
72 void SetTable(TableT&& value) { m_tableHasBeenSet = true; m_table = std::forward<TableT>(value); }
73 template<typename TableT = Aws::String>
74 CatalogSource& WithTable(TableT&& value) { SetTable(std::forward<TableT>(value)); return *this;}
76 private:
77
78 Aws::String m_name;
79 bool m_nameHasBeenSet = false;
80
81 Aws::String m_database;
82 bool m_databaseHasBeenSet = false;
83
84 Aws::String m_table;
85 bool m_tableHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Glue
90} // namespace Aws
void SetDatabase(DatabaseT &&value)
CatalogSource & WithTable(TableT &&value)
CatalogSource & WithName(NameT &&value)
AWS_GLUE_API CatalogSource & operator=(Aws::Utils::Json::JsonView jsonValue)
CatalogSource & WithDatabase(DatabaseT &&value)
AWS_GLUE_API CatalogSource()=default
const Aws::String & GetDatabase() const
AWS_GLUE_API CatalogSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTable() const
void SetTable(TableT &&value)
const Aws::String & GetName() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue