AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DataCatalogConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_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 SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API DataCatalogConfig() = default;
36 AWS_SAGEMAKER_API DataCatalogConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_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 DataCatalogConfig& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetCatalog() const { return m_catalog; }
58 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
59 template<typename CatalogT = Aws::String>
60 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
61 template<typename CatalogT = Aws::String>
62 DataCatalogConfig& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDatabase() const { return m_database; }
70 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
71 template<typename DatabaseT = Aws::String>
72 void SetDatabase(DatabaseT&& value) { m_databaseHasBeenSet = true; m_database = std::forward<DatabaseT>(value); }
73 template<typename DatabaseT = Aws::String>
74 DataCatalogConfig& WithDatabase(DatabaseT&& value) { SetDatabase(std::forward<DatabaseT>(value)); return *this;}
76 private:
77
78 Aws::String m_tableName;
79 bool m_tableNameHasBeenSet = false;
80
81 Aws::String m_catalog;
82 bool m_catalogHasBeenSet = false;
83
84 Aws::String m_database;
85 bool m_databaseHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SageMaker
90} // namespace Aws
const Aws::String & GetTableName() const
DataCatalogConfig & WithCatalog(CatalogT &&value)
const Aws::String & GetDatabase() const
AWS_SAGEMAKER_API DataCatalogConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
DataCatalogConfig & WithDatabase(DatabaseT &&value)
AWS_SAGEMAKER_API DataCatalogConfig(Aws::Utils::Json::JsonView jsonValue)
DataCatalogConfig & WithTableName(TableNameT &&value)
AWS_SAGEMAKER_API DataCatalogConfig()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue