AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CatalogDeltaSource.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 CatalogDeltaSource();
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 CatalogDeltaSource& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline CatalogDeltaSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline CatalogDeltaSource& 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 CatalogDeltaSource& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
68 inline CatalogDeltaSource& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
69 inline CatalogDeltaSource& 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 CatalogDeltaSource& WithTable(const Aws::String& value) { SetTable(value); return *this;}
82 inline CatalogDeltaSource& WithTable(Aws::String&& value) { SetTable(std::move(value)); return *this;}
83 inline CatalogDeltaSource& WithTable(const char* value) { SetTable(value); return *this;}
85
87
90 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalDeltaOptions() const{ return m_additionalDeltaOptions; }
91 inline bool AdditionalDeltaOptionsHasBeenSet() const { return m_additionalDeltaOptionsHasBeenSet; }
92 inline void SetAdditionalDeltaOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions = value; }
93 inline void SetAdditionalDeltaOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions = std::move(value); }
96 inline CatalogDeltaSource& AddAdditionalDeltaOptions(const Aws::String& key, const Aws::String& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(key, value); return *this; }
97 inline CatalogDeltaSource& AddAdditionalDeltaOptions(Aws::String&& key, const Aws::String& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(std::move(key), value); return *this; }
98 inline CatalogDeltaSource& AddAdditionalDeltaOptions(const Aws::String& key, Aws::String&& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(key, std::move(value)); return *this; }
99 inline CatalogDeltaSource& AddAdditionalDeltaOptions(Aws::String&& key, Aws::String&& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(std::move(key), std::move(value)); return *this; }
100 inline CatalogDeltaSource& AddAdditionalDeltaOptions(const char* key, Aws::String&& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(key, std::move(value)); return *this; }
101 inline CatalogDeltaSource& AddAdditionalDeltaOptions(Aws::String&& key, const char* value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(std::move(key), value); return *this; }
102 inline CatalogDeltaSource& AddAdditionalDeltaOptions(const char* key, const char* value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.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 CatalogDeltaSource& WithOutputSchemas(Aws::Vector<GlueSchema>&& value) { SetOutputSchemas(std::move(value)); return *this;}
115 inline CatalogDeltaSource& AddOutputSchemas(const GlueSchema& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(value); return *this; }
116 inline CatalogDeltaSource& 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_additionalDeltaOptions;
130 bool m_additionalDeltaOptionsHasBeenSet = false;
131
132 Aws::Vector<GlueSchema> m_outputSchemas;
133 bool m_outputSchemasHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace Glue
138} // namespace Aws
void SetAdditionalDeltaOptions(const Aws::Map< Aws::String, Aws::String > &value)
CatalogDeltaSource & AddAdditionalDeltaOptions(Aws::String &&key, const Aws::String &value)
const Aws::String & GetName() const
CatalogDeltaSource & AddOutputSchemas(const GlueSchema &value)
CatalogDeltaSource & WithTable(Aws::String &&value)
CatalogDeltaSource & AddAdditionalDeltaOptions(Aws::String &&key, const char *value)
CatalogDeltaSource & WithTable(const Aws::String &value)
CatalogDeltaSource & WithAdditionalDeltaOptions(const Aws::Map< Aws::String, Aws::String > &value)
CatalogDeltaSource & WithName(const Aws::String &value)
AWS_GLUE_API CatalogDeltaSource(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
CatalogDeltaSource & AddAdditionalDeltaOptions(const Aws::String &key, const Aws::String &value)
CatalogDeltaSource & WithOutputSchemas(Aws::Vector< GlueSchema > &&value)
CatalogDeltaSource & WithOutputSchemas(const Aws::Vector< GlueSchema > &value)
CatalogDeltaSource & AddAdditionalDeltaOptions(const char *key, const char *value)
void SetAdditionalDeltaOptions(Aws::Map< Aws::String, Aws::String > &&value)
CatalogDeltaSource & WithDatabase(const Aws::String &value)
CatalogDeltaSource & WithTable(const char *value)
const Aws::String & GetTable() const
CatalogDeltaSource & WithName(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTable(const Aws::String &value)
CatalogDeltaSource & AddAdditionalDeltaOptions(const Aws::String &key, Aws::String &&value)
void SetDatabase(const Aws::String &value)
void SetOutputSchemas(const Aws::Vector< GlueSchema > &value)
const Aws::String & GetDatabase() const
void SetDatabase(Aws::String &&value)
AWS_GLUE_API CatalogDeltaSource & operator=(Aws::Utils::Json::JsonView jsonValue)
CatalogDeltaSource & WithDatabase(Aws::String &&value)
CatalogDeltaSource & AddOutputSchemas(GlueSchema &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalDeltaOptions() const
CatalogDeltaSource & AddAdditionalDeltaOptions(const char *key, Aws::String &&value)
CatalogDeltaSource & AddAdditionalDeltaOptions(Aws::String &&key, Aws::String &&value)
CatalogDeltaSource & WithAdditionalDeltaOptions(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
CatalogDeltaSource & WithName(const char *value)
void SetOutputSchemas(Aws::Vector< GlueSchema > &&value)
CatalogDeltaSource & WithDatabase(const char *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