AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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#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 CleanRoomsML
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLEANROOMSML_API GlueDataSource() = default;
36 AWS_CLEANROOMSML_API GlueDataSource(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLEANROOMSML_API GlueDataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetTableName() const { return m_tableName; }
46 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
47 template<typename TableNameT = Aws::String>
48 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
49 template<typename TableNameT = Aws::String>
50 GlueDataSource& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
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) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
61 template<typename DatabaseNameT = Aws::String>
62 GlueDataSource& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
70 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
71 template<typename CatalogIdT = Aws::String>
72 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
73 template<typename CatalogIdT = Aws::String>
74 GlueDataSource& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
76 private:
77
78 Aws::String m_tableName;
79 bool m_tableNameHasBeenSet = false;
80
81 Aws::String m_databaseName;
82 bool m_databaseNameHasBeenSet = false;
83
84 Aws::String m_catalogId;
85 bool m_catalogIdHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace CleanRoomsML
90} // 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