AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
GlueDataSource.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CleanRoomsML {
20namespace Model {
21
29 public:
30 AWS_CLEANROOMSML_API GlueDataSource() = default;
31 AWS_CLEANROOMSML_API GlueDataSource(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CLEANROOMSML_API GlueDataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetTableName() const { return m_tableName; }
40 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
41 template <typename TableNameT = Aws::String>
42 void SetTableName(TableNameT&& value) {
43 m_tableNameHasBeenSet = true;
44 m_tableName = std::forward<TableNameT>(value);
45 }
46 template <typename TableNameT = Aws::String>
47 GlueDataSource& WithTableName(TableNameT&& value) {
48 SetTableName(std::forward<TableNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
58 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
59 template <typename DatabaseNameT = Aws::String>
60 void SetDatabaseName(DatabaseNameT&& value) {
61 m_databaseNameHasBeenSet = true;
62 m_databaseName = std::forward<DatabaseNameT>(value);
63 }
64 template <typename DatabaseNameT = Aws::String>
65 GlueDataSource& WithDatabaseName(DatabaseNameT&& value) {
66 SetDatabaseName(std::forward<DatabaseNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
76 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
77 template <typename CatalogIdT = Aws::String>
78 void SetCatalogId(CatalogIdT&& value) {
79 m_catalogIdHasBeenSet = true;
80 m_catalogId = std::forward<CatalogIdT>(value);
81 }
82 template <typename CatalogIdT = Aws::String>
83 GlueDataSource& WithCatalogId(CatalogIdT&& value) {
84 SetCatalogId(std::forward<CatalogIdT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_tableName;
90
91 Aws::String m_databaseName;
92
93 Aws::String m_catalogId;
94 bool m_tableNameHasBeenSet = false;
95 bool m_databaseNameHasBeenSet = false;
96 bool m_catalogIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace CleanRoomsML
101} // namespace Aws
GlueDataSource & WithCatalogId(CatalogIdT &&value)
void SetDatabaseName(DatabaseNameT &&value)
const Aws::String & GetCatalogId() const
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
GlueDataSource & WithDatabaseName(DatabaseNameT &&value)
const Aws::String & GetTableName() const
AWS_CLEANROOMSML_API GlueDataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API GlueDataSource()=default
AWS_CLEANROOMSML_API GlueDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDatabaseName() const
GlueDataSource & WithTableName(TableNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue