AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3CatalogHudiSource.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 S3CatalogHudiSource();
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 S3CatalogHudiSource& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline S3CatalogHudiSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline S3CatalogHudiSource& 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 S3CatalogHudiSource& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
68 inline S3CatalogHudiSource& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
69 inline S3CatalogHudiSource& 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 S3CatalogHudiSource& WithTable(const Aws::String& value) { SetTable(value); return *this;}
82 inline S3CatalogHudiSource& WithTable(Aws::String&& value) { SetTable(std::move(value)); return *this;}
83 inline S3CatalogHudiSource& 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 S3CatalogHudiSource& AddAdditionalHudiOptions(const Aws::String& key, const Aws::String& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(key, value); return *this; }
97 inline S3CatalogHudiSource& AddAdditionalHudiOptions(Aws::String&& key, const Aws::String& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(std::move(key), value); return *this; }
98 inline S3CatalogHudiSource& AddAdditionalHudiOptions(const Aws::String& key, Aws::String&& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(key, std::move(value)); return *this; }
99 inline S3CatalogHudiSource& AddAdditionalHudiOptions(Aws::String&& key, Aws::String&& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(std::move(key), std::move(value)); return *this; }
100 inline S3CatalogHudiSource& AddAdditionalHudiOptions(const char* key, Aws::String&& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(key, std::move(value)); return *this; }
101 inline S3CatalogHudiSource& AddAdditionalHudiOptions(Aws::String&& key, const char* value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(std::move(key), value); return *this; }
102 inline S3CatalogHudiSource& 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 S3CatalogHudiSource& WithOutputSchemas(Aws::Vector<GlueSchema>&& value) { SetOutputSchemas(std::move(value)); return *this;}
115 inline S3CatalogHudiSource& AddOutputSchemas(const GlueSchema& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(value); return *this; }
116 inline S3CatalogHudiSource& 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
AWS_GLUE_API S3CatalogHudiSource(Aws::Utils::Json::JsonView jsonValue)
S3CatalogHudiSource & AddAdditionalHudiOptions(const Aws::String &key, Aws::String &&value)
S3CatalogHudiSource & WithName(const char *value)
S3CatalogHudiSource & WithDatabase(Aws::String &&value)
S3CatalogHudiSource & WithTable(Aws::String &&value)
S3CatalogHudiSource & WithDatabase(const Aws::String &value)
S3CatalogHudiSource & WithTable(const Aws::String &value)
S3CatalogHudiSource & AddOutputSchemas(const GlueSchema &value)
S3CatalogHudiSource & WithOutputSchemas(Aws::Vector< GlueSchema > &&value)
S3CatalogHudiSource & WithAdditionalHudiOptions(const Aws::Map< Aws::String, Aws::String > &value)
S3CatalogHudiSource & WithAdditionalHudiOptions(Aws::Map< Aws::String, Aws::String > &&value)
S3CatalogHudiSource & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
S3CatalogHudiSource & AddOutputSchemas(GlueSchema &&value)
S3CatalogHudiSource & AddAdditionalHudiOptions(Aws::String &&key, const char *value)
S3CatalogHudiSource & WithName(const Aws::String &value)
void SetOutputSchemas(const Aws::Vector< GlueSchema > &value)
S3CatalogHudiSource & WithTable(const char *value)
S3CatalogHudiSource & AddAdditionalHudiOptions(const char *key, Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutputSchemas(Aws::Vector< GlueSchema > &&value)
S3CatalogHudiSource & AddAdditionalHudiOptions(Aws::String &&key, const Aws::String &value)
void SetTable(const Aws::String &value)
AWS_GLUE_API S3CatalogHudiSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDatabase(const Aws::String &value)
void SetAdditionalHudiOptions(const Aws::Map< Aws::String, Aws::String > &value)
S3CatalogHudiSource & AddAdditionalHudiOptions(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalHudiOptions() const
S3CatalogHudiSource & WithOutputSchemas(const Aws::Vector< GlueSchema > &value)
const Aws::String & GetDatabase() const
void SetAdditionalHudiOptions(Aws::Map< Aws::String, Aws::String > &&value)
S3CatalogHudiSource & AddAdditionalHudiOptions(const char *key, const char *value)
S3CatalogHudiSource & WithDatabase(const char *value)
S3CatalogHudiSource & AddAdditionalHudiOptions(const Aws::String &key, const Aws::String &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