AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GlueTable.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.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 Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API GlueTable();
37 AWS_GLUE_API GlueTable(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
47 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
48 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
49 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
50 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
51 inline GlueTable& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
52 inline GlueTable& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
53 inline GlueTable& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
55
57
60 inline const Aws::String& GetTableName() const{ return m_tableName; }
61 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
62 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
63 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
64 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
65 inline GlueTable& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
66 inline GlueTable& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
67 inline GlueTable& WithTableName(const char* value) { SetTableName(value); return *this;}
69
71
74 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
75 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
76 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
77 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
78 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
79 inline GlueTable& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
80 inline GlueTable& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
81 inline GlueTable& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
83
85
88 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
89 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
90 inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
91 inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
92 inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
93 inline GlueTable& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
94 inline GlueTable& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
95 inline GlueTable& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
97
99
106 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalOptions() const{ return m_additionalOptions; }
107 inline bool AdditionalOptionsHasBeenSet() const { return m_additionalOptionsHasBeenSet; }
108 inline void SetAdditionalOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = value; }
109 inline void SetAdditionalOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = std::move(value); }
112 inline GlueTable& AddAdditionalOptions(const Aws::String& key, const Aws::String& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, value); return *this; }
113 inline GlueTable& AddAdditionalOptions(Aws::String&& key, const Aws::String& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), value); return *this; }
114 inline GlueTable& AddAdditionalOptions(const Aws::String& key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, std::move(value)); return *this; }
115 inline GlueTable& AddAdditionalOptions(Aws::String&& key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), std::move(value)); return *this; }
116 inline GlueTable& AddAdditionalOptions(const char* key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, std::move(value)); return *this; }
117 inline GlueTable& AddAdditionalOptions(Aws::String&& key, const char* value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), value); return *this; }
118 inline GlueTable& AddAdditionalOptions(const char* key, const char* value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, value); return *this; }
120 private:
121
122 Aws::String m_databaseName;
123 bool m_databaseNameHasBeenSet = false;
124
125 Aws::String m_tableName;
126 bool m_tableNameHasBeenSet = false;
127
128 Aws::String m_catalogId;
129 bool m_catalogIdHasBeenSet = false;
130
131 Aws::String m_connectionName;
132 bool m_connectionNameHasBeenSet = false;
133
134 Aws::Map<Aws::String, Aws::String> m_additionalOptions;
135 bool m_additionalOptionsHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace Glue
140} // namespace Aws
void SetConnectionName(const char *value)
Definition GlueTable.h:92
AWS_GLUE_API GlueTable & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AdditionalOptionsHasBeenSet() const
Definition GlueTable.h:107
GlueTable & AddAdditionalOptions(const char *key, const char *value)
Definition GlueTable.h:118
GlueTable & WithConnectionName(Aws::String &&value)
Definition GlueTable.h:94
void SetDatabaseName(const Aws::String &value)
Definition GlueTable.h:48
GlueTable & WithTableName(const Aws::String &value)
Definition GlueTable.h:65
AWS_GLUE_API GlueTable(Aws::Utils::Json::JsonView jsonValue)
GlueTable & WithCatalogId(const Aws::String &value)
Definition GlueTable.h:79
void SetDatabaseName(const char *value)
Definition GlueTable.h:50
GlueTable & WithAdditionalOptions(Aws::Map< Aws::String, Aws::String > &&value)
Definition GlueTable.h:111
GlueTable & WithCatalogId(Aws::String &&value)
Definition GlueTable.h:80
GlueTable & WithDatabaseName(Aws::String &&value)
Definition GlueTable.h:52
GlueTable & WithAdditionalOptions(const Aws::Map< Aws::String, Aws::String > &value)
Definition GlueTable.h:110
const Aws::String & GetDatabaseName() const
Definition GlueTable.h:46
GlueTable & AddAdditionalOptions(Aws::String &&key, const char *value)
Definition GlueTable.h:117
void SetCatalogId(Aws::String &&value)
Definition GlueTable.h:77
GlueTable & WithTableName(const char *value)
Definition GlueTable.h:67
GlueTable & WithConnectionName(const char *value)
Definition GlueTable.h:95
void SetTableName(const Aws::String &value)
Definition GlueTable.h:62
GlueTable & AddAdditionalOptions(const Aws::String &key, const Aws::String &value)
Definition GlueTable.h:112
GlueTable & WithTableName(Aws::String &&value)
Definition GlueTable.h:66
GlueTable & AddAdditionalOptions(const char *key, Aws::String &&value)
Definition GlueTable.h:116
GlueTable & WithConnectionName(const Aws::String &value)
Definition GlueTable.h:93
void SetTableName(Aws::String &&value)
Definition GlueTable.h:63
void SetAdditionalOptions(const Aws::Map< Aws::String, Aws::String > &value)
Definition GlueTable.h:108
GlueTable & WithDatabaseName(const char *value)
Definition GlueTable.h:53
const Aws::String & GetCatalogId() const
Definition GlueTable.h:74
const Aws::String & GetTableName() const
Definition GlueTable.h:60
bool CatalogIdHasBeenSet() const
Definition GlueTable.h:75
bool TableNameHasBeenSet() const
Definition GlueTable.h:61
void SetCatalogId(const char *value)
Definition GlueTable.h:78
void SetTableName(const char *value)
Definition GlueTable.h:64
GlueTable & WithCatalogId(const char *value)
Definition GlueTable.h:81
GlueTable & AddAdditionalOptions(Aws::String &&key, const Aws::String &value)
Definition GlueTable.h:113
const Aws::Map< Aws::String, Aws::String > & GetAdditionalOptions() const
Definition GlueTable.h:106
bool DatabaseNameHasBeenSet() const
Definition GlueTable.h:47
void SetAdditionalOptions(Aws::Map< Aws::String, Aws::String > &&value)
Definition GlueTable.h:109
GlueTable & AddAdditionalOptions(Aws::String &&key, Aws::String &&value)
Definition GlueTable.h:115
void SetConnectionName(const Aws::String &value)
Definition GlueTable.h:90
bool ConnectionNameHasBeenSet() const
Definition GlueTable.h:89
void SetConnectionName(Aws::String &&value)
Definition GlueTable.h:91
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
GlueTable & AddAdditionalOptions(const Aws::String &key, Aws::String &&value)
Definition GlueTable.h:114
GlueTable & WithDatabaseName(const Aws::String &value)
Definition GlueTable.h:51
void SetCatalogId(const Aws::String &value)
Definition GlueTable.h:76
void SetDatabaseName(Aws::String &&value)
Definition GlueTable.h:49
const Aws::String & GetConnectionName() const
Definition GlueTable.h:88
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue