AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3HudiDirectTarget.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/glue/model/HudiTargetCompressionType.h>
11#include <aws/glue/model/TargetFormat.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/glue/model/DirectSchemaChangePolicy.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Glue
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_GLUE_API S3HudiDirectTarget();
44
45
47
50 inline const Aws::String& GetName() const{ return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
54 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
55 inline S3HudiDirectTarget& WithName(const Aws::String& value) { SetName(value); return *this;}
56 inline S3HudiDirectTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
57 inline S3HudiDirectTarget& WithName(const char* value) { SetName(value); return *this;}
59
61
64 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
65 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
66 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
67 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
68 inline S3HudiDirectTarget& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
69 inline S3HudiDirectTarget& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
70 inline S3HudiDirectTarget& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
71 inline S3HudiDirectTarget& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
72 inline S3HudiDirectTarget& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
74
76
79 inline const Aws::String& GetPath() const{ return m_path; }
80 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
81 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
82 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
83 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
84 inline S3HudiDirectTarget& WithPath(const Aws::String& value) { SetPath(value); return *this;}
85 inline S3HudiDirectTarget& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
86 inline S3HudiDirectTarget& WithPath(const char* value) { SetPath(value); return *this;}
88
90
95 inline const HudiTargetCompressionType& GetCompression() const{ return m_compression; }
96 inline bool CompressionHasBeenSet() const { return m_compressionHasBeenSet; }
97 inline void SetCompression(const HudiTargetCompressionType& value) { m_compressionHasBeenSet = true; m_compression = value; }
98 inline void SetCompression(HudiTargetCompressionType&& value) { m_compressionHasBeenSet = true; m_compression = std::move(value); }
99 inline S3HudiDirectTarget& WithCompression(const HudiTargetCompressionType& value) { SetCompression(value); return *this;}
100 inline S3HudiDirectTarget& WithCompression(HudiTargetCompressionType&& value) { SetCompression(std::move(value)); return *this;}
102
104
107 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetPartitionKeys() const{ return m_partitionKeys; }
108 inline bool PartitionKeysHasBeenSet() const { return m_partitionKeysHasBeenSet; }
109 inline void SetPartitionKeys(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys = value; }
110 inline void SetPartitionKeys(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys = std::move(value); }
113 inline S3HudiDirectTarget& AddPartitionKeys(const Aws::Vector<Aws::String>& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys.push_back(value); return *this; }
114 inline S3HudiDirectTarget& AddPartitionKeys(Aws::Vector<Aws::String>&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys.push_back(std::move(value)); return *this; }
116
118
121 inline const TargetFormat& GetFormat() const{ return m_format; }
122 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
123 inline void SetFormat(const TargetFormat& value) { m_formatHasBeenSet = true; m_format = value; }
124 inline void SetFormat(TargetFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
125 inline S3HudiDirectTarget& WithFormat(const TargetFormat& value) { SetFormat(value); return *this;}
126 inline S3HudiDirectTarget& WithFormat(TargetFormat&& value) { SetFormat(std::move(value)); return *this;}
128
130
133 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalOptions() const{ return m_additionalOptions; }
134 inline bool AdditionalOptionsHasBeenSet() const { return m_additionalOptionsHasBeenSet; }
135 inline void SetAdditionalOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = value; }
136 inline void SetAdditionalOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = std::move(value); }
139 inline S3HudiDirectTarget& AddAdditionalOptions(const Aws::String& key, const Aws::String& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, value); return *this; }
140 inline S3HudiDirectTarget& AddAdditionalOptions(Aws::String&& key, const Aws::String& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), value); return *this; }
141 inline S3HudiDirectTarget& AddAdditionalOptions(const Aws::String& key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, std::move(value)); return *this; }
142 inline S3HudiDirectTarget& AddAdditionalOptions(Aws::String&& key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), std::move(value)); return *this; }
143 inline S3HudiDirectTarget& AddAdditionalOptions(const char* key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, std::move(value)); return *this; }
144 inline S3HudiDirectTarget& AddAdditionalOptions(Aws::String&& key, const char* value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), value); return *this; }
145 inline S3HudiDirectTarget& AddAdditionalOptions(const char* key, const char* value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, value); return *this; }
147
149
152 inline const DirectSchemaChangePolicy& GetSchemaChangePolicy() const{ return m_schemaChangePolicy; }
153 inline bool SchemaChangePolicyHasBeenSet() const { return m_schemaChangePolicyHasBeenSet; }
154 inline void SetSchemaChangePolicy(const DirectSchemaChangePolicy& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = value; }
155 inline void SetSchemaChangePolicy(DirectSchemaChangePolicy&& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = std::move(value); }
159 private:
160
161 Aws::String m_name;
162 bool m_nameHasBeenSet = false;
163
165 bool m_inputsHasBeenSet = false;
166
167 Aws::String m_path;
168 bool m_pathHasBeenSet = false;
169
170 HudiTargetCompressionType m_compression;
171 bool m_compressionHasBeenSet = false;
172
174 bool m_partitionKeysHasBeenSet = false;
175
176 TargetFormat m_format;
177 bool m_formatHasBeenSet = false;
178
179 Aws::Map<Aws::String, Aws::String> m_additionalOptions;
180 bool m_additionalOptionsHasBeenSet = false;
181
182 DirectSchemaChangePolicy m_schemaChangePolicy;
183 bool m_schemaChangePolicyHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace Glue
188} // namespace Aws
S3HudiDirectTarget & WithAdditionalOptions(Aws::Map< Aws::String, Aws::String > &&value)
void SetCompression(HudiTargetCompressionType &&value)
S3HudiDirectTarget & WithFormat(TargetFormat &&value)
S3HudiDirectTarget & AddPartitionKeys(Aws::Vector< Aws::String > &&value)
void SetInputs(const Aws::Vector< Aws::String > &value)
S3HudiDirectTarget & AddAdditionalOptions(const char *key, const char *value)
const TargetFormat & GetFormat() const
void SetName(const Aws::String &value)
S3HudiDirectTarget & WithInputs(Aws::Vector< Aws::String > &&value)
S3HudiDirectTarget & WithSchemaChangePolicy(const DirectSchemaChangePolicy &value)
S3HudiDirectTarget & WithName(const Aws::String &value)
S3HudiDirectTarget & WithAdditionalOptions(const Aws::Map< Aws::String, Aws::String > &value)
void SetAdditionalOptions(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetPath() const
void SetPath(const Aws::String &value)
void SetPartitionKeys(const Aws::Vector< Aws::Vector< Aws::String > > &value)
void SetSchemaChangePolicy(const DirectSchemaChangePolicy &value)
S3HudiDirectTarget & WithPartitionKeys(Aws::Vector< Aws::Vector< Aws::String > > &&value)
const Aws::String & GetName() const
const Aws::Vector< Aws::Vector< Aws::String > > & GetPartitionKeys() const
void SetPartitionKeys(Aws::Vector< Aws::Vector< Aws::String > > &&value)
void SetCompression(const HudiTargetCompressionType &value)
void SetAdditionalOptions(const Aws::Map< Aws::String, Aws::String > &value)
S3HudiDirectTarget & WithName(Aws::String &&value)
S3HudiDirectTarget & WithPath(const Aws::String &value)
AWS_GLUE_API S3HudiDirectTarget(Aws::Utils::Json::JsonView jsonValue)
S3HudiDirectTarget & AddAdditionalOptions(const Aws::String &key, Aws::String &&value)
S3HudiDirectTarget & AddAdditionalOptions(Aws::String &&key, const char *value)
S3HudiDirectTarget & WithCompression(HudiTargetCompressionType &&value)
S3HudiDirectTarget & WithName(const char *value)
S3HudiDirectTarget & WithInputs(const Aws::Vector< Aws::String > &value)
S3HudiDirectTarget & WithSchemaChangePolicy(DirectSchemaChangePolicy &&value)
void SetSchemaChangePolicy(DirectSchemaChangePolicy &&value)
AWS_GLUE_API S3HudiDirectTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
S3HudiDirectTarget & AddInputs(const Aws::String &value)
S3HudiDirectTarget & AddAdditionalOptions(Aws::String &&key, const Aws::String &value)
S3HudiDirectTarget & WithPartitionKeys(const Aws::Vector< Aws::Vector< Aws::String > > &value)
const HudiTargetCompressionType & GetCompression() const
S3HudiDirectTarget & AddInputs(Aws::String &&value)
S3HudiDirectTarget & WithFormat(const TargetFormat &value)
void SetFormat(const TargetFormat &value)
S3HudiDirectTarget & WithPath(Aws::String &&value)
S3HudiDirectTarget & AddAdditionalOptions(Aws::String &&key, Aws::String &&value)
S3HudiDirectTarget & AddAdditionalOptions(const Aws::String &key, const Aws::String &value)
const Aws::Vector< Aws::String > & GetInputs() const
void SetInputs(Aws::Vector< Aws::String > &&value)
S3HudiDirectTarget & WithCompression(const HudiTargetCompressionType &value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalOptions() const
S3HudiDirectTarget & AddPartitionKeys(const Aws::Vector< Aws::String > &value)
S3HudiDirectTarget & AddInputs(const char *value)
S3HudiDirectTarget & WithPath(const char *value)
const DirectSchemaChangePolicy & GetSchemaChangePolicy() const
S3HudiDirectTarget & AddAdditionalOptions(const char *key, Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() 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