AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3HudiSource.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/S3DirectSourceAdditionalOptions.h>
12#include <aws/glue/model/GlueSchema.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Glue
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_GLUE_API S3HudiSource();
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 S3HudiSource& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline S3HudiSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline S3HudiSource& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const Aws::Vector<Aws::String>& GetPaths() const{ return m_paths; }
64 inline bool PathsHasBeenSet() const { return m_pathsHasBeenSet; }
65 inline void SetPaths(const Aws::Vector<Aws::String>& value) { m_pathsHasBeenSet = true; m_paths = value; }
66 inline void SetPaths(Aws::Vector<Aws::String>&& value) { m_pathsHasBeenSet = true; m_paths = std::move(value); }
67 inline S3HudiSource& WithPaths(const Aws::Vector<Aws::String>& value) { SetPaths(value); return *this;}
68 inline S3HudiSource& WithPaths(Aws::Vector<Aws::String>&& value) { SetPaths(std::move(value)); return *this;}
69 inline S3HudiSource& AddPaths(const Aws::String& value) { m_pathsHasBeenSet = true; m_paths.push_back(value); return *this; }
70 inline S3HudiSource& AddPaths(Aws::String&& value) { m_pathsHasBeenSet = true; m_paths.push_back(std::move(value)); return *this; }
71 inline S3HudiSource& AddPaths(const char* value) { m_pathsHasBeenSet = true; m_paths.push_back(value); return *this; }
73
75
78 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalHudiOptions() const{ return m_additionalHudiOptions; }
79 inline bool AdditionalHudiOptionsHasBeenSet() const { return m_additionalHudiOptionsHasBeenSet; }
80 inline void SetAdditionalHudiOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions = value; }
81 inline void SetAdditionalHudiOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions = std::move(value); }
84 inline S3HudiSource& AddAdditionalHudiOptions(const Aws::String& key, const Aws::String& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(key, value); return *this; }
85 inline S3HudiSource& AddAdditionalHudiOptions(Aws::String&& key, const Aws::String& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(std::move(key), value); return *this; }
86 inline S3HudiSource& AddAdditionalHudiOptions(const Aws::String& key, Aws::String&& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(key, std::move(value)); return *this; }
87 inline S3HudiSource& AddAdditionalHudiOptions(Aws::String&& key, Aws::String&& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(std::move(key), std::move(value)); return *this; }
88 inline S3HudiSource& AddAdditionalHudiOptions(const char* key, Aws::String&& value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(key, std::move(value)); return *this; }
89 inline S3HudiSource& AddAdditionalHudiOptions(Aws::String&& key, const char* value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(std::move(key), value); return *this; }
90 inline S3HudiSource& AddAdditionalHudiOptions(const char* key, const char* value) { m_additionalHudiOptionsHasBeenSet = true; m_additionalHudiOptions.emplace(key, value); return *this; }
92
94
97 inline const S3DirectSourceAdditionalOptions& GetAdditionalOptions() const{ return m_additionalOptions; }
98 inline bool AdditionalOptionsHasBeenSet() const { return m_additionalOptionsHasBeenSet; }
99 inline void SetAdditionalOptions(const S3DirectSourceAdditionalOptions& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = value; }
100 inline void SetAdditionalOptions(S3DirectSourceAdditionalOptions&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = std::move(value); }
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); }
113 inline S3HudiSource& WithOutputSchemas(const Aws::Vector<GlueSchema>& value) { SetOutputSchemas(value); return *this;}
114 inline S3HudiSource& WithOutputSchemas(Aws::Vector<GlueSchema>&& value) { SetOutputSchemas(std::move(value)); return *this;}
115 inline S3HudiSource& AddOutputSchemas(const GlueSchema& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(value); return *this; }
116 inline S3HudiSource& 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
124 bool m_pathsHasBeenSet = false;
125
126 Aws::Map<Aws::String, Aws::String> m_additionalHudiOptions;
127 bool m_additionalHudiOptionsHasBeenSet = false;
128
129 S3DirectSourceAdditionalOptions m_additionalOptions;
130 bool m_additionalOptionsHasBeenSet = false;
131
132 Aws::Vector<GlueSchema> m_outputSchemas;
133 bool m_outputSchemasHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace Glue
138} // namespace Aws
S3HudiSource & WithName(Aws::String &&value)
const S3DirectSourceAdditionalOptions & GetAdditionalOptions() const
bool AdditionalHudiOptionsHasBeenSet() const
void SetPaths(const Aws::Vector< Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalHudiOptions() const
S3HudiSource & WithName(const char *value)
S3HudiSource & WithAdditionalHudiOptions(Aws::Map< Aws::String, Aws::String > &&value)
void SetAdditionalOptions(S3DirectSourceAdditionalOptions &&value)
void SetName(Aws::String &&value)
S3HudiSource & AddOutputSchemas(const GlueSchema &value)
S3HudiSource & WithAdditionalOptions(S3DirectSourceAdditionalOptions &&value)
void SetOutputSchemas(Aws::Vector< GlueSchema > &&value)
S3HudiSource & AddOutputSchemas(GlueSchema &&value)
AWS_GLUE_API S3HudiSource(Aws::Utils::Json::JsonView jsonValue)
void SetAdditionalOptions(const S3DirectSourceAdditionalOptions &value)
void SetAdditionalHudiOptions(Aws::Map< Aws::String, Aws::String > &&value)
void SetOutputSchemas(const Aws::Vector< GlueSchema > &value)
S3HudiSource & AddPaths(const char *value)
const Aws::Vector< Aws::String > & GetPaths() const
S3HudiSource & WithPaths(const Aws::Vector< Aws::String > &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API S3HudiSource & operator=(Aws::Utils::Json::JsonView jsonValue)
S3HudiSource & AddAdditionalHudiOptions(const char *key, const char *value)
S3HudiSource & WithOutputSchemas(Aws::Vector< GlueSchema > &&value)
S3HudiSource & AddAdditionalHudiOptions(Aws::String &&key, const char *value)
S3HudiSource & AddPaths(Aws::String &&value)
S3HudiSource & WithPaths(Aws::Vector< Aws::String > &&value)
S3HudiSource & WithAdditionalOptions(const S3DirectSourceAdditionalOptions &value)
void SetAdditionalHudiOptions(const Aws::Map< Aws::String, Aws::String > &value)
void SetPaths(Aws::Vector< Aws::String > &&value)
S3HudiSource & AddAdditionalHudiOptions(Aws::String &&key, Aws::String &&value)
S3HudiSource & AddAdditionalHudiOptions(const Aws::String &key, Aws::String &&value)
void SetName(const char *value)
S3HudiSource & WithName(const Aws::String &value)
void SetName(const Aws::String &value)
bool AdditionalOptionsHasBeenSet() const
S3HudiSource & WithAdditionalHudiOptions(const Aws::Map< Aws::String, Aws::String > &value)
S3HudiSource & AddPaths(const Aws::String &value)
S3HudiSource & AddAdditionalHudiOptions(Aws::String &&key, const Aws::String &value)
S3HudiSource & WithOutputSchemas(const Aws::Vector< GlueSchema > &value)
const Aws::String & GetName() const
S3HudiSource & AddAdditionalHudiOptions(const Aws::String &key, const Aws::String &value)
S3HudiSource & AddAdditionalHudiOptions(const char *key, Aws::String &&value)
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
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