AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
50 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
51 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
52 inline DataCatalogInputDefinition& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
53 inline DataCatalogInputDefinition& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
54 inline DataCatalogInputDefinition& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
56
58
61 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
62 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
63 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
64 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
65 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
66 inline DataCatalogInputDefinition& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
67 inline DataCatalogInputDefinition& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
68 inline DataCatalogInputDefinition& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
70
72
76 inline const Aws::String& GetTableName() const{ return m_tableName; }
77 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
78 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
79 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
80 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
81 inline DataCatalogInputDefinition& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
82 inline DataCatalogInputDefinition& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
83 inline DataCatalogInputDefinition& WithTableName(const char* value) { SetTableName(value); return *this;}
85
87
91 inline const S3Location& GetTempDirectory() const{ return m_tempDirectory; }
92 inline bool TempDirectoryHasBeenSet() const { return m_tempDirectoryHasBeenSet; }
93 inline void SetTempDirectory(const S3Location& value) { m_tempDirectoryHasBeenSet = true; m_tempDirectory = value; }
94 inline void SetTempDirectory(S3Location&& value) { m_tempDirectoryHasBeenSet = true; m_tempDirectory = std::move(value); }
95 inline DataCatalogInputDefinition& WithTempDirectory(const S3Location& value) { SetTempDirectory(value); return *this;}
96 inline DataCatalogInputDefinition& WithTempDirectory(S3Location&& value) { SetTempDirectory(std::move(value)); return *this;}
98 private:
99
100 Aws::String m_catalogId;
101 bool m_catalogIdHasBeenSet = false;
102
103 Aws::String m_databaseName;
104 bool m_databaseNameHasBeenSet = false;
105
106 Aws::String m_tableName;
107 bool m_tableNameHasBeenSet = false;
108
109 S3Location m_tempDirectory;
110 bool m_tempDirectoryHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace GlueDataBrew
115} // namespace Aws
DataCatalogInputDefinition & WithCatalogId(const char *value)
DataCatalogInputDefinition & WithTableName(const char *value)
DataCatalogInputDefinition & WithCatalogId(Aws::String &&value)
DataCatalogInputDefinition & WithDatabaseName(Aws::String &&value)
DataCatalogInputDefinition & WithCatalogId(const Aws::String &value)
AWS_GLUEDATABREW_API DataCatalogInputDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
DataCatalogInputDefinition & WithTempDirectory(S3Location &&value)
AWS_GLUEDATABREW_API DataCatalogInputDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
DataCatalogInputDefinition & WithDatabaseName(const char *value)
DataCatalogInputDefinition & WithTableName(Aws::String &&value)
DataCatalogInputDefinition & WithTempDirectory(const S3Location &value)
DataCatalogInputDefinition & WithTableName(const Aws::String &value)
DataCatalogInputDefinition & WithDatabaseName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue