AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3HudiCatalogTarget.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/glue/model/CatalogSchemaChangePolicy.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 S3HudiCatalogTarget();
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 S3HudiCatalogTarget& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline S3HudiCatalogTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline S3HudiCatalogTarget& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
63 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
64 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
65 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
66 inline S3HudiCatalogTarget& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
67 inline S3HudiCatalogTarget& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
68 inline S3HudiCatalogTarget& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
69 inline S3HudiCatalogTarget& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
70 inline S3HudiCatalogTarget& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
72
74
77 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetPartitionKeys() const{ return m_partitionKeys; }
78 inline bool PartitionKeysHasBeenSet() const { return m_partitionKeysHasBeenSet; }
79 inline void SetPartitionKeys(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys = value; }
80 inline void SetPartitionKeys(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys = std::move(value); }
83 inline S3HudiCatalogTarget& AddPartitionKeys(const Aws::Vector<Aws::String>& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys.push_back(value); return *this; }
84 inline S3HudiCatalogTarget& AddPartitionKeys(Aws::Vector<Aws::String>&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys.push_back(std::move(value)); return *this; }
86
88
91 inline const Aws::String& GetTable() const{ return m_table; }
92 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
93 inline void SetTable(const Aws::String& value) { m_tableHasBeenSet = true; m_table = value; }
94 inline void SetTable(Aws::String&& value) { m_tableHasBeenSet = true; m_table = std::move(value); }
95 inline void SetTable(const char* value) { m_tableHasBeenSet = true; m_table.assign(value); }
96 inline S3HudiCatalogTarget& WithTable(const Aws::String& value) { SetTable(value); return *this;}
97 inline S3HudiCatalogTarget& WithTable(Aws::String&& value) { SetTable(std::move(value)); return *this;}
98 inline S3HudiCatalogTarget& WithTable(const char* value) { SetTable(value); return *this;}
100
102
105 inline const Aws::String& GetDatabase() const{ return m_database; }
106 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
107 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
108 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
109 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
110 inline S3HudiCatalogTarget& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
111 inline S3HudiCatalogTarget& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
112 inline S3HudiCatalogTarget& WithDatabase(const char* value) { SetDatabase(value); return *this;}
114
116
119 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalOptions() const{ return m_additionalOptions; }
120 inline bool AdditionalOptionsHasBeenSet() const { return m_additionalOptionsHasBeenSet; }
121 inline void SetAdditionalOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = value; }
122 inline void SetAdditionalOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = std::move(value); }
125 inline S3HudiCatalogTarget& AddAdditionalOptions(const Aws::String& key, const Aws::String& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, value); return *this; }
126 inline S3HudiCatalogTarget& AddAdditionalOptions(Aws::String&& key, const Aws::String& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), value); return *this; }
127 inline S3HudiCatalogTarget& AddAdditionalOptions(const Aws::String& key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, std::move(value)); return *this; }
128 inline S3HudiCatalogTarget& AddAdditionalOptions(Aws::String&& key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), std::move(value)); return *this; }
129 inline S3HudiCatalogTarget& AddAdditionalOptions(const char* key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, std::move(value)); return *this; }
130 inline S3HudiCatalogTarget& AddAdditionalOptions(Aws::String&& key, const char* value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), value); return *this; }
131 inline S3HudiCatalogTarget& AddAdditionalOptions(const char* key, const char* value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, value); return *this; }
133
135
138 inline const CatalogSchemaChangePolicy& GetSchemaChangePolicy() const{ return m_schemaChangePolicy; }
139 inline bool SchemaChangePolicyHasBeenSet() const { return m_schemaChangePolicyHasBeenSet; }
140 inline void SetSchemaChangePolicy(const CatalogSchemaChangePolicy& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = value; }
141 inline void SetSchemaChangePolicy(CatalogSchemaChangePolicy&& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = std::move(value); }
145 private:
146
147 Aws::String m_name;
148 bool m_nameHasBeenSet = false;
149
151 bool m_inputsHasBeenSet = false;
152
154 bool m_partitionKeysHasBeenSet = false;
155
156 Aws::String m_table;
157 bool m_tableHasBeenSet = false;
158
159 Aws::String m_database;
160 bool m_databaseHasBeenSet = false;
161
162 Aws::Map<Aws::String, Aws::String> m_additionalOptions;
163 bool m_additionalOptionsHasBeenSet = false;
164
165 CatalogSchemaChangePolicy m_schemaChangePolicy;
166 bool m_schemaChangePolicyHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace Glue
171} // namespace Aws
S3HudiCatalogTarget & WithPartitionKeys(Aws::Vector< Aws::Vector< Aws::String > > &&value)
S3HudiCatalogTarget & AddInputs(const Aws::String &value)
const Aws::String & GetDatabase() const
S3HudiCatalogTarget & AddPartitionKeys(Aws::Vector< Aws::String > &&value)
S3HudiCatalogTarget & WithTable(const char *value)
void SetInputs(const Aws::Vector< Aws::String > &value)
void SetAdditionalOptions(const Aws::Map< Aws::String, Aws::String > &value)
void SetSchemaChangePolicy(CatalogSchemaChangePolicy &&value)
S3HudiCatalogTarget & WithTable(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
S3HudiCatalogTarget & AddAdditionalOptions(Aws::String &&key, const char *value)
S3HudiCatalogTarget & WithInputs(Aws::Vector< Aws::String > &&value)
S3HudiCatalogTarget & WithAdditionalOptions(const Aws::Map< Aws::String, Aws::String > &value)
void SetName(const Aws::String &value)
S3HudiCatalogTarget & AddAdditionalOptions(const char *key, Aws::String &&value)
S3HudiCatalogTarget & WithName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetInputs() const
S3HudiCatalogTarget & WithSchemaChangePolicy(CatalogSchemaChangePolicy &&value)
S3HudiCatalogTarget & AddAdditionalOptions(Aws::String &&key, const Aws::String &value)
S3HudiCatalogTarget & WithDatabase(const Aws::String &value)
S3HudiCatalogTarget & AddAdditionalOptions(const Aws::String &key, Aws::String &&value)
S3HudiCatalogTarget & WithName(const Aws::String &value)
const Aws::Vector< Aws::Vector< Aws::String > > & GetPartitionKeys() const
S3HudiCatalogTarget & AddAdditionalOptions(const char *key, const char *value)
S3HudiCatalogTarget & WithDatabase(Aws::String &&value)
S3HudiCatalogTarget & AddInputs(const char *value)
S3HudiCatalogTarget & WithTable(const Aws::String &value)
S3HudiCatalogTarget & AddInputs(Aws::String &&value)
void SetPartitionKeys(const Aws::Vector< Aws::Vector< Aws::String > > &value)
S3HudiCatalogTarget & WithDatabase(const char *value)
AWS_GLUE_API S3HudiCatalogTarget(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalOptions() const
S3HudiCatalogTarget & AddAdditionalOptions(const Aws::String &key, const Aws::String &value)
S3HudiCatalogTarget & WithAdditionalOptions(Aws::Map< Aws::String, Aws::String > &&value)
void SetPartitionKeys(Aws::Vector< Aws::Vector< Aws::String > > &&value)
S3HudiCatalogTarget & WithPartitionKeys(const Aws::Vector< Aws::Vector< Aws::String > > &value)
void SetTable(const Aws::String &value)
S3HudiCatalogTarget & AddPartitionKeys(const Aws::Vector< Aws::String > &value)
const CatalogSchemaChangePolicy & GetSchemaChangePolicy() const
S3HudiCatalogTarget & WithSchemaChangePolicy(const CatalogSchemaChangePolicy &value)
void SetDatabase(const Aws::String &value)
AWS_GLUE_API S3HudiCatalogTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
S3HudiCatalogTarget & AddAdditionalOptions(Aws::String &&key, Aws::String &&value)
S3HudiCatalogTarget & WithName(const char *value)
void SetSchemaChangePolicy(const CatalogSchemaChangePolicy &value)
void SetAdditionalOptions(Aws::Map< Aws::String, Aws::String > &&value)
S3HudiCatalogTarget & WithInputs(const Aws::Vector< Aws::String > &value)
void SetInputs(Aws::Vector< 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