AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
RelationalCatalogSource.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 RelationalCatalogSource() = default;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
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) {
61 m_databaseHasBeenSet = true;
62 m_database = std::forward<DatabaseT>(value);
63 }
64 template <typename DatabaseT = Aws::String>
66 SetDatabase(std::forward<DatabaseT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetTable() const { return m_table; }
76 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
77 template <typename TableT = Aws::String>
78 void SetTable(TableT&& value) {
79 m_tableHasBeenSet = true;
80 m_table = std::forward<TableT>(value);
81 }
82 template <typename TableT = Aws::String>
84 SetTable(std::forward<TableT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_name;
90
91 Aws::String m_database;
92
93 Aws::String m_table;
94 bool m_nameHasBeenSet = false;
95 bool m_databaseHasBeenSet = false;
96 bool m_tableHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Glue
101} // namespace Aws
RelationalCatalogSource & WithDatabase(DatabaseT &&value)
AWS_GLUE_API RelationalCatalogSource & operator=(Aws::Utils::Json::JsonView jsonValue)
RelationalCatalogSource & WithName(NameT &&value)
AWS_GLUE_API RelationalCatalogSource()=default
RelationalCatalogSource & WithTable(TableT &&value)
AWS_GLUE_API RelationalCatalogSource(Aws::Utils::Json::JsonView jsonValue)
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