AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3CatalogDeltaSource.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
37 {
38 public:
39 AWS_GLUE_API S3CatalogDeltaSource();
43
44
46
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline S3CatalogDeltaSource& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline S3CatalogDeltaSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline S3CatalogDeltaSource& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const Aws::String& GetDatabase() const{ return m_database; }
64 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
65 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
66 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
67 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
68 inline S3CatalogDeltaSource& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
69 inline S3CatalogDeltaSource& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
70 inline S3CatalogDeltaSource& WithDatabase(const char* value) { SetDatabase(value); return *this;}
72
74
77 inline const Aws::String& GetTable() const{ return m_table; }
78 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
79 inline void SetTable(const Aws::String& value) { m_tableHasBeenSet = true; m_table = value; }
80 inline void SetTable(Aws::String&& value) { m_tableHasBeenSet = true; m_table = std::move(value); }
81 inline void SetTable(const char* value) { m_tableHasBeenSet = true; m_table.assign(value); }
82 inline S3CatalogDeltaSource& WithTable(const Aws::String& value) { SetTable(value); return *this;}
83 inline S3CatalogDeltaSource& WithTable(Aws::String&& value) { SetTable(std::move(value)); return *this;}
84 inline S3CatalogDeltaSource& WithTable(const char* value) { SetTable(value); return *this;}
86
88
91 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalDeltaOptions() const{ return m_additionalDeltaOptions; }
92 inline bool AdditionalDeltaOptionsHasBeenSet() const { return m_additionalDeltaOptionsHasBeenSet; }
93 inline void SetAdditionalDeltaOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions = value; }
94 inline void SetAdditionalDeltaOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions = std::move(value); }
97 inline S3CatalogDeltaSource& AddAdditionalDeltaOptions(const Aws::String& key, const Aws::String& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(key, value); return *this; }
98 inline S3CatalogDeltaSource& AddAdditionalDeltaOptions(Aws::String&& key, const Aws::String& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(std::move(key), value); return *this; }
99 inline S3CatalogDeltaSource& AddAdditionalDeltaOptions(const Aws::String& key, Aws::String&& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(key, std::move(value)); return *this; }
100 inline S3CatalogDeltaSource& AddAdditionalDeltaOptions(Aws::String&& key, Aws::String&& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(std::move(key), std::move(value)); return *this; }
101 inline S3CatalogDeltaSource& AddAdditionalDeltaOptions(const char* key, Aws::String&& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(key, std::move(value)); return *this; }
102 inline S3CatalogDeltaSource& AddAdditionalDeltaOptions(Aws::String&& key, const char* value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(std::move(key), value); return *this; }
103 inline S3CatalogDeltaSource& AddAdditionalDeltaOptions(const char* key, const char* value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(key, value); return *this; }
105
107
110 inline const Aws::Vector<GlueSchema>& GetOutputSchemas() const{ return m_outputSchemas; }
111 inline bool OutputSchemasHasBeenSet() const { return m_outputSchemasHasBeenSet; }
112 inline void SetOutputSchemas(const Aws::Vector<GlueSchema>& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = value; }
113 inline void SetOutputSchemas(Aws::Vector<GlueSchema>&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = std::move(value); }
115 inline S3CatalogDeltaSource& WithOutputSchemas(Aws::Vector<GlueSchema>&& value) { SetOutputSchemas(std::move(value)); return *this;}
116 inline S3CatalogDeltaSource& AddOutputSchemas(const GlueSchema& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(value); return *this; }
117 inline S3CatalogDeltaSource& AddOutputSchemas(GlueSchema&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(std::move(value)); return *this; }
119 private:
120
121 Aws::String m_name;
122 bool m_nameHasBeenSet = false;
123
124 Aws::String m_database;
125 bool m_databaseHasBeenSet = false;
126
127 Aws::String m_table;
128 bool m_tableHasBeenSet = false;
129
130 Aws::Map<Aws::String, Aws::String> m_additionalDeltaOptions;
131 bool m_additionalDeltaOptionsHasBeenSet = false;
132
133 Aws::Vector<GlueSchema> m_outputSchemas;
134 bool m_outputSchemasHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace Glue
139} // namespace Aws
S3CatalogDeltaSource & WithName(Aws::String &&value)
S3CatalogDeltaSource & WithTable(const Aws::String &value)
void SetDatabase(const Aws::String &value)
S3CatalogDeltaSource & WithName(const char *value)
S3CatalogDeltaSource & AddAdditionalDeltaOptions(Aws::String &&key, const char *value)
S3CatalogDeltaSource & AddOutputSchemas(const GlueSchema &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
S3CatalogDeltaSource & AddAdditionalDeltaOptions(Aws::String &&key, Aws::String &&value)
S3CatalogDeltaSource & WithDatabase(Aws::String &&value)
void SetAdditionalDeltaOptions(const Aws::Map< Aws::String, Aws::String > &value)
S3CatalogDeltaSource & AddAdditionalDeltaOptions(Aws::String &&key, const Aws::String &value)
S3CatalogDeltaSource & AddAdditionalDeltaOptions(const char *key, const char *value)
void SetOutputSchemas(Aws::Vector< GlueSchema > &&value)
S3CatalogDeltaSource & WithDatabase(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalDeltaOptions() const
S3CatalogDeltaSource & AddAdditionalDeltaOptions(const Aws::String &key, const Aws::String &value)
S3CatalogDeltaSource & AddOutputSchemas(GlueSchema &&value)
S3CatalogDeltaSource & WithAdditionalDeltaOptions(Aws::Map< Aws::String, Aws::String > &&value)
void SetOutputSchemas(const Aws::Vector< GlueSchema > &value)
void SetTable(const Aws::String &value)
S3CatalogDeltaSource & WithOutputSchemas(Aws::Vector< GlueSchema > &&value)
S3CatalogDeltaSource & WithName(const Aws::String &value)
AWS_GLUE_API S3CatalogDeltaSource & operator=(Aws::Utils::Json::JsonView jsonValue)
S3CatalogDeltaSource & WithAdditionalDeltaOptions(const Aws::Map< Aws::String, Aws::String > &value)
S3CatalogDeltaSource & WithTable(Aws::String &&value)
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
void SetName(const Aws::String &value)
void SetAdditionalDeltaOptions(Aws::Map< Aws::String, Aws::String > &&value)
S3CatalogDeltaSource & AddAdditionalDeltaOptions(const Aws::String &key, Aws::String &&value)
S3CatalogDeltaSource & WithOutputSchemas(const Aws::Vector< GlueSchema > &value)
S3CatalogDeltaSource & AddAdditionalDeltaOptions(const char *key, Aws::String &&value)
S3CatalogDeltaSource & WithTable(const char *value)
AWS_GLUE_API S3CatalogDeltaSource(Aws::Utils::Json::JsonView jsonValue)
S3CatalogDeltaSource & WithDatabase(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