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 <aws/glue/model/AutoDataQuality.h>
53 template<
typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
55 template<
typename NameT = Aws::String>
65 template<
typename InputsT = Aws::Vector<Aws::String>>
66 void SetInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs = std::forward<InputsT>(value); }
67 template<
typename InputsT = Aws::Vector<Aws::String>>
69 template<
typename InputsT = Aws::String>
70 S3HudiDirectTarget&
AddInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs.emplace_back(std::forward<InputsT>(value));
return *
this; }
79 template<
typename PathT = Aws::String>
80 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
81 template<
typename PathT = Aws::String>
104 template<
typename NumberTargetPartitionsT = Aws::String>
105 void SetNumberTargetPartitions(NumberTargetPartitionsT&& value) { m_numberTargetPartitionsHasBeenSet =
true; m_numberTargetPartitions = std::forward<NumberTargetPartitionsT>(value); }
106 template<
typename NumberTargetPartitionsT = Aws::String>
116 template<
typename PartitionKeysT = Aws::Vector<Aws::Vector<Aws::String>>>
117 void SetPartitionKeys(PartitionKeysT&& value) { m_partitionKeysHasBeenSet =
true; m_partitionKeys = std::forward<PartitionKeysT>(value); }
118 template<
typename PartitionKeysT = Aws::Vector<Aws::Vector<Aws::String>>>
120 template<
typename PartitionKeysT = Aws::Vector<Aws::String>>
140 template<
typename AdditionalOptionsT = Aws::Map<Aws::String, Aws::String>>
141 void SetAdditionalOptions(AdditionalOptionsT&& value) { m_additionalOptionsHasBeenSet =
true; m_additionalOptions = std::forward<AdditionalOptionsT>(value); }
142 template<
typename AdditionalOptionsT = Aws::Map<Aws::String, Aws::String>>
144 template<
typename AdditionalOptionsKeyT = Aws::String,
typename AdditionalOptionsValueT = Aws::String>
146 m_additionalOptionsHasBeenSet =
true; m_additionalOptions.emplace(std::forward<AdditionalOptionsKeyT>(key), std::forward<AdditionalOptionsValueT>(value));
return *
this;
156 template<
typename SchemaChangePolicyT = DirectSchemaChangePolicy>
157 void SetSchemaChangePolicy(SchemaChangePolicyT&& value) { m_schemaChangePolicyHasBeenSet =
true; m_schemaChangePolicy = std::forward<SchemaChangePolicyT>(value); }
158 template<
typename SchemaChangePolicyT = DirectSchemaChangePolicy>
170 template<
typename AutoDataQualityT = AutoDataQuality>
171 void SetAutoDataQuality(AutoDataQualityT&& value) { m_autoDataQualityHasBeenSet =
true; m_autoDataQuality = std::forward<AutoDataQualityT>(value); }
172 template<
typename AutoDataQualityT = AutoDataQuality>
178 bool m_nameHasBeenSet =
false;
181 bool m_inputsHasBeenSet =
false;
184 bool m_pathHasBeenSet =
false;
187 bool m_compressionHasBeenSet =
false;
190 bool m_numberTargetPartitionsHasBeenSet =
false;
193 bool m_partitionKeysHasBeenSet =
false;
196 bool m_formatHasBeenSet =
false;
199 bool m_additionalOptionsHasBeenSet =
false;
201 DirectSchemaChangePolicy m_schemaChangePolicy;
202 bool m_schemaChangePolicyHasBeenSet =
false;
204 AutoDataQuality m_autoDataQuality;
205 bool m_autoDataQualityHasBeenSet =
false;
bool FormatHasBeenSet() const
S3HudiDirectTarget & WithCompression(HudiTargetCompressionType value)
S3HudiDirectTarget & WithAdditionalOptions(AdditionalOptionsT &&value)
bool InputsHasBeenSet() const
void SetNumberTargetPartitions(NumberTargetPartitionsT &&value)
void SetFormat(TargetFormat value)
bool AdditionalOptionsHasBeenSet() const
S3HudiDirectTarget & WithFormat(TargetFormat value)
void SetName(NameT &&value)
S3HudiDirectTarget & WithInputs(InputsT &&value)
const Aws::String & GetPath() const
S3HudiDirectTarget & AddInputs(InputsT &&value)
void SetPartitionKeys(PartitionKeysT &&value)
bool CompressionHasBeenSet() const
const Aws::String & GetName() const
const Aws::Vector< Aws::Vector< Aws::String > > & GetPartitionKeys() const
S3HudiDirectTarget & AddPartitionKeys(PartitionKeysT &&value)
S3HudiDirectTarget & WithName(NameT &&value)
AWS_GLUE_API S3HudiDirectTarget(Aws::Utils::Json::JsonView jsonValue)
void SetCompression(HudiTargetCompressionType value)
bool NameHasBeenSet() const
bool NumberTargetPartitionsHasBeenSet() const
S3HudiDirectTarget & WithPartitionKeys(PartitionKeysT &&value)
void SetSchemaChangePolicy(SchemaChangePolicyT &&value)
bool SchemaChangePolicyHasBeenSet() const
S3HudiDirectTarget & AddAdditionalOptions(AdditionalOptionsKeyT &&key, AdditionalOptionsValueT &&value)
AWS_GLUE_API S3HudiDirectTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
S3HudiDirectTarget & WithAutoDataQuality(AutoDataQualityT &&value)
HudiTargetCompressionType GetCompression() const
S3HudiDirectTarget & WithPath(PathT &&value)
TargetFormat GetFormat() const
bool AutoDataQualityHasBeenSet() const
void SetInputs(InputsT &&value)
bool PartitionKeysHasBeenSet() const
const AutoDataQuality & GetAutoDataQuality() const
bool PathHasBeenSet() const
S3HudiDirectTarget & WithSchemaChangePolicy(SchemaChangePolicyT &&value)
void SetAdditionalOptions(AdditionalOptionsT &&value)
const Aws::String & GetNumberTargetPartitions() const
const Aws::Vector< Aws::String > & GetInputs() const
S3HudiDirectTarget & WithNumberTargetPartitions(NumberTargetPartitionsT &&value)
void SetPath(PathT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalOptions() const
AWS_GLUE_API S3HudiDirectTarget()=default
void SetAutoDataQuality(AutoDataQualityT &&value)
const DirectSchemaChangePolicy & GetSchemaChangePolicy() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
HudiTargetCompressionType
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