AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DataCatalogConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API DataCatalogConfig() = default;
31 AWS_SAGEMAKER_API DataCatalogConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_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 DataCatalogConfig& WithTableName(TableNameT&& value) {
48 SetTableName(std::forward<TableNameT>(value));
49 return *this;
50 }
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) {
61 m_catalogHasBeenSet = true;
62 m_catalog = std::forward<CatalogT>(value);
63 }
64 template <typename CatalogT = Aws::String>
65 DataCatalogConfig& WithCatalog(CatalogT&& value) {
66 SetCatalog(std::forward<CatalogT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDatabase() const { return m_database; }
76 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
77 template <typename DatabaseT = Aws::String>
78 void SetDatabase(DatabaseT&& value) {
79 m_databaseHasBeenSet = true;
80 m_database = std::forward<DatabaseT>(value);
81 }
82 template <typename DatabaseT = Aws::String>
83 DataCatalogConfig& WithDatabase(DatabaseT&& value) {
84 SetDatabase(std::forward<DatabaseT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_tableName;
90
91 Aws::String m_catalog;
92
93 Aws::String m_database;
94 bool m_tableNameHasBeenSet = false;
95 bool m_catalogHasBeenSet = false;
96 bool m_databaseHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SageMaker
101} // 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