AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataCatalogInputDefinition.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/databrew/model/S3Location.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GlueDataBrew
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUEDATABREW_API DataCatalogInputDefinition() = default;
39 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
48 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
49 template<typename CatalogIdT = Aws::String>
50 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
51 template<typename CatalogIdT = Aws::String>
52 DataCatalogInputDefinition& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
60 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
61 template<typename DatabaseNameT = Aws::String>
62 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
63 template<typename DatabaseNameT = Aws::String>
64 DataCatalogInputDefinition& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
66
68
72 inline const Aws::String& GetTableName() const { return m_tableName; }
73 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
74 template<typename TableNameT = Aws::String>
75 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
76 template<typename TableNameT = Aws::String>
77 DataCatalogInputDefinition& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
79
81
85 inline const S3Location& GetTempDirectory() const { return m_tempDirectory; }
86 inline bool TempDirectoryHasBeenSet() const { return m_tempDirectoryHasBeenSet; }
87 template<typename TempDirectoryT = S3Location>
88 void SetTempDirectory(TempDirectoryT&& value) { m_tempDirectoryHasBeenSet = true; m_tempDirectory = std::forward<TempDirectoryT>(value); }
89 template<typename TempDirectoryT = S3Location>
90 DataCatalogInputDefinition& WithTempDirectory(TempDirectoryT&& value) { SetTempDirectory(std::forward<TempDirectoryT>(value)); return *this;}
92 private:
93
94 Aws::String m_catalogId;
95 bool m_catalogIdHasBeenSet = false;
96
97 Aws::String m_databaseName;
98 bool m_databaseNameHasBeenSet = false;
99
100 Aws::String m_tableName;
101 bool m_tableNameHasBeenSet = false;
102
103 S3Location m_tempDirectory;
104 bool m_tempDirectoryHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace GlueDataBrew
109} // namespace Aws
DataCatalogInputDefinition & WithTableName(TableNameT &&value)
DataCatalogInputDefinition & WithDatabaseName(DatabaseNameT &&value)
AWS_GLUEDATABREW_API DataCatalogInputDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API DataCatalogInputDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUEDATABREW_API DataCatalogInputDefinition()=default
DataCatalogInputDefinition & WithCatalogId(CatalogIdT &&value)
DataCatalogInputDefinition & WithTempDirectory(TempDirectoryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue