AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CatalogHudiSource.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/model/GlueSchema.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Glue
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_GLUE_API CatalogHudiSource();
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline CatalogHudiSource& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline CatalogHudiSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline CatalogHudiSource& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::String& GetDatabase() const{ return m_database; }
63 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
64 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
65 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
66 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
67 inline CatalogHudiSource& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
68 inline CatalogHudiSource& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
69 inline CatalogHudiSource& WithDatabase(const char* value) { SetDatabase(value); return *this;}
71
73
76 inline const Aws::String& GetTable() const{ return m_table; }
77 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
78 inline void SetTable(const Aws::String& value) { m_tableHasBeenSet = true; m_table = value; }
79 inline void SetTable(Aws::String&& value) { m_tableHasBeenSet = true; m_table = std::move(value); }
80 inline void SetTable(const char* value) { m_tableHasBeenSet = true; m_table.assign(value); }
81 inline CatalogHudiSource& WithTable(const Aws::String& value) { SetTable(value); return *this;}
82 inline CatalogHudiSource& WithTable(Aws::String&& value) { SetTable(std::move(value)); return *this;}
83 inline CatalogHudiSource& WithTable(const char* value) { SetTable(value); return *this;}
85
87
90 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalHudiOptions() const{ return m_additionalHudiOptions; }
91 inline bool AdditionalHudiOptionsHasBeenSet() const { return m_additionalHudiOptionsHasBeenSet; }
92 inline void SetAdditionalHudiOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions = value; }
93 inline void SetAdditionalHudiOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions = std::move(value); }
96 inline CatalogHudiSource& AddAdditionalHudiOptions(const Aws::String& key, const Aws::String& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(key, value); return *this; }
97 inline CatalogHudiSource& AddAdditionalHudiOptions(Aws::String&& key, const Aws::String& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(std::move(key), value); return *this; }
98 inline CatalogHudiSource& AddAdditionalHudiOptions(const Aws::String& key, Aws::String&& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(key, std::move(value)); return *this; }
99 inline CatalogHudiSource& AddAdditionalHudiOptions(Aws::String&& key, Aws::String&& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(std::move(key), std::move(value)); return *this; }
100 inline CatalogHudiSource& AddAdditionalHudiOptions(const char* key, Aws::String&& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(key, std::move(value)); return *this; }
101 inline CatalogHudiSource& AddAdditionalHudiOptions(Aws::String&& key, const char* value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(std::move(key), value); return *this; }
102 inline CatalogHudiSource& AddAdditionalHudiOptions(const char* key, const char* value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(key, value); return *this; }
104
106
109 inline const Aws::Vector<GlueSchema>& GetOutputSchemas() const{ return m_outputSchemas; }
110 inline bool OutputSchemasHasBeenSet() const { return m_outputSchemasHasBeenSet; }
111 inline void SetOutputSchemas(const Aws::Vector<GlueSchema>& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = value; }
112 inline void SetOutputSchemas(Aws::Vector<GlueSchema>&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = std::move(value); }
114 inline CatalogHudiSource& WithOutputSchemas(Aws::Vector<GlueSchema>&& value) { SetOutputSchemas(std::move(value)); return *this;}
115 inline CatalogHudiSource& AddOutputSchemas(const GlueSchema& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(value); return *this; }
116 inline CatalogHudiSource& AddOutputSchemas(GlueSchema&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(std::move(value)); return *this; }
118 private:
119
120 Aws::String m_name;
121 bool m_nameHasBeenSet = false;
122
123 Aws::String m_database;
124 bool m_databaseHasBeenSet = false;
125
126 Aws::String m_table;
127 bool m_tableHasBeenSet = false;
128
129 Aws::Map<Aws::String, Aws::String> m_additionalHudiOptions;
130 bool m_additionalHudiOptionsHasBeenSet = false;
131
132 Aws::Vector<GlueSchema> m_outputSchemas;
133 bool m_outputSchemasHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace Glue
138} // namespace Aws
CatalogHudiSource & WithAdditionalHudiOptions(Aws::Map< Aws::String, Aws::String > &&value)
CatalogHudiSource & AddOutputSchemas(GlueSchema &&value)
CatalogHudiSource & WithDatabase(Aws::String &&value)
CatalogHudiSource & AddAdditionalHudiOptions(const char *key, const char *value)
CatalogHudiSource & WithTable(const char *value)
CatalogHudiSource & WithDatabase(const Aws::String &value)
void SetAdditionalHudiOptions(const Aws::Map< Aws::String, Aws::String > &value)
CatalogHudiSource & AddAdditionalHudiOptions(const Aws::String &key, const Aws::String &value)
CatalogHudiSource & AddAdditionalHudiOptions(Aws::String &&key, const Aws::String &value)
const Aws::String & GetName() const
CatalogHudiSource & WithTable(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalHudiOptions() const
CatalogHudiSource & AddAdditionalHudiOptions(const Aws::String &key, Aws::String &&value)
const Aws::String & GetTable() const
CatalogHudiSource & AddAdditionalHudiOptions(Aws::String &&key, Aws::String &&value)
CatalogHudiSource & WithName(const Aws::String &value)
CatalogHudiSource & WithName(Aws::String &&value)
CatalogHudiSource & AddAdditionalHudiOptions(const char *key, Aws::String &&value)
void SetName(const Aws::String &value)
CatalogHudiSource & WithDatabase(const char *value)
CatalogHudiSource & AddAdditionalHudiOptions(Aws::String &&key, const char *value)
void SetDatabase(const Aws::String &value)
void SetTable(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutputSchemas(Aws::Vector< GlueSchema > &&value)
AWS_GLUE_API CatalogHudiSource(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
AWS_GLUE_API CatalogHudiSource & operator=(Aws::Utils::Json::JsonView jsonValue)
CatalogHudiSource & WithAdditionalHudiOptions(const Aws::Map< Aws::String, Aws::String > &value)
void SetTable(const Aws::String &value)
CatalogHudiSource & WithName(const char *value)
void SetAdditionalHudiOptions(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetDatabase() const
CatalogHudiSource & WithTable(const Aws::String &value)
CatalogHudiSource & WithOutputSchemas(const Aws::Vector< GlueSchema > &value)
void SetDatabase(Aws::String &&value)
void SetOutputSchemas(const Aws::Vector< GlueSchema > &value)
CatalogHudiSource & WithOutputSchemas(Aws::Vector< GlueSchema > &&value)
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
CatalogHudiSource & AddOutputSchemas(const GlueSchema &value)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue