AWS SDK for C++  1.9.158
AWS SDK for C++
DataCatalogConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetTableName() const{ return m_tableName; }
45 
49  inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
50 
54  inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
55 
59  inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
60 
64  inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
65 
69  inline DataCatalogConfig& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
70 
74  inline DataCatalogConfig& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
75 
79  inline DataCatalogConfig& WithTableName(const char* value) { SetTableName(value); return *this;}
80 
81 
85  inline const Aws::String& GetCatalog() const{ return m_catalog; }
86 
90  inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
91 
95  inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; }
96 
100  inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); }
101 
105  inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); }
106 
110  inline DataCatalogConfig& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;}
111 
115  inline DataCatalogConfig& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;}
116 
120  inline DataCatalogConfig& WithCatalog(const char* value) { SetCatalog(value); return *this;}
121 
122 
126  inline const Aws::String& GetDatabase() const{ return m_database; }
127 
131  inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
132 
136  inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
137 
141  inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
142 
146  inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
147 
151  inline DataCatalogConfig& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
152 
156  inline DataCatalogConfig& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
157 
161  inline DataCatalogConfig& WithDatabase(const char* value) { SetDatabase(value); return *this;}
162 
163  private:
164 
165  Aws::String m_tableName;
166  bool m_tableNameHasBeenSet;
167 
168  Aws::String m_catalog;
169  bool m_catalogHasBeenSet;
170 
171  Aws::String m_database;
172  bool m_databaseHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace SageMaker
177 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DataCatalogConfig::SetDatabase
void SetDatabase(const char *value)
Definition: DataCatalogConfig.h:146
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DataCatalogConfig::WithDatabase
DataCatalogConfig & WithDatabase(Aws::String &&value)
Definition: DataCatalogConfig.h:156
Aws::SageMaker::Model::DataCatalogConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::DataCatalogConfig::TableNameHasBeenSet
bool TableNameHasBeenSet() const
Definition: DataCatalogConfig.h:49
Aws::SageMaker::Model::DataCatalogConfig::GetDatabase
const Aws::String & GetDatabase() const
Definition: DataCatalogConfig.h:126
Aws::SageMaker::Model::DataCatalogConfig::SetCatalog
void SetCatalog(Aws::String &&value)
Definition: DataCatalogConfig.h:100
Aws::SageMaker::Model::DataCatalogConfig::WithTableName
DataCatalogConfig & WithTableName(Aws::String &&value)
Definition: DataCatalogConfig.h:74
Aws::SageMaker::Model::DataCatalogConfig::CatalogHasBeenSet
bool CatalogHasBeenSet() const
Definition: DataCatalogConfig.h:90
Aws::SageMaker::Model::DataCatalogConfig::WithCatalog
DataCatalogConfig & WithCatalog(const char *value)
Definition: DataCatalogConfig.h:120
Aws::SageMaker::Model::DataCatalogConfig::GetCatalog
const Aws::String & GetCatalog() const
Definition: DataCatalogConfig.h:85
Aws::SageMaker::Model::DataCatalogConfig::DataCatalogConfig
DataCatalogConfig()
Aws::SageMaker::Model::DataCatalogConfig
Definition: DataCatalogConfig.h:33
Aws::SageMaker::Model::DataCatalogConfig::DataCatalogConfig
DataCatalogConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DataCatalogConfig::WithDatabase
DataCatalogConfig & WithDatabase(const Aws::String &value)
Definition: DataCatalogConfig.h:151
Aws::SageMaker::Model::DataCatalogConfig::SetTableName
void SetTableName(Aws::String &&value)
Definition: DataCatalogConfig.h:59
Aws::SageMaker::Model::DataCatalogConfig::SetCatalog
void SetCatalog(const Aws::String &value)
Definition: DataCatalogConfig.h:95
Aws::SageMaker::Model::DataCatalogConfig::SetCatalog
void SetCatalog(const char *value)
Definition: DataCatalogConfig.h:105
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::DataCatalogConfig::WithTableName
DataCatalogConfig & WithTableName(const char *value)
Definition: DataCatalogConfig.h:79
Aws::SageMaker::Model::DataCatalogConfig::WithDatabase
DataCatalogConfig & WithDatabase(const char *value)
Definition: DataCatalogConfig.h:161
Aws::SageMaker::Model::DataCatalogConfig::DatabaseHasBeenSet
bool DatabaseHasBeenSet() const
Definition: DataCatalogConfig.h:131
Aws::SageMaker::Model::DataCatalogConfig::SetTableName
void SetTableName(const char *value)
Definition: DataCatalogConfig.h:64
Aws::SageMaker::Model::DataCatalogConfig::SetDatabase
void SetDatabase(const Aws::String &value)
Definition: DataCatalogConfig.h:136
Aws::SageMaker::Model::DataCatalogConfig::SetTableName
void SetTableName(const Aws::String &value)
Definition: DataCatalogConfig.h:54
Aws::SageMaker::Model::DataCatalogConfig::SetDatabase
void SetDatabase(Aws::String &&value)
Definition: DataCatalogConfig.h:141
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DataCatalogConfig::WithCatalog
DataCatalogConfig & WithCatalog(const Aws::String &value)
Definition: DataCatalogConfig.h:110
Aws::SageMaker::Model::DataCatalogConfig::WithTableName
DataCatalogConfig & WithTableName(const Aws::String &value)
Definition: DataCatalogConfig.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DataCatalogConfig::operator=
DataCatalogConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::DataCatalogConfig::GetTableName
const Aws::String & GetTableName() const
Definition: DataCatalogConfig.h:44
Aws::SageMaker::Model::DataCatalogConfig::WithCatalog
DataCatalogConfig & WithCatalog(Aws::String &&value)
Definition: DataCatalogConfig.h:115