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/TargetFormat.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/glue/model/DirectSchemaChangePolicy.h>
13#include <aws/glue/model/IcebergTargetCompressionType.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>
66 template<
typename InputsT = Aws::Vector<Aws::String>>
67 void SetInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs = std::forward<InputsT>(value); }
68 template<
typename InputsT = Aws::Vector<Aws::String>>
70 template<
typename InputsT = Aws::String>
80 template<
typename PartitionKeysT = Aws::Vector<Aws::Vector<Aws::String>>>
81 void SetPartitionKeys(PartitionKeysT&& value) { m_partitionKeysHasBeenSet =
true; m_partitionKeys = std::forward<PartitionKeysT>(value); }
82 template<
typename PartitionKeysT = Aws::Vector<Aws::Vector<Aws::String>>>
84 template<
typename PartitionKeysT = Aws::Vector<Aws::String>>
94 template<
typename PathT = Aws::String>
95 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
96 template<
typename PathT = Aws::String>
118 template<
typename AdditionalOptionsT = Aws::Map<Aws::String, Aws::String>>
119 void SetAdditionalOptions(AdditionalOptionsT&& value) { m_additionalOptionsHasBeenSet =
true; m_additionalOptions = std::forward<AdditionalOptionsT>(value); }
120 template<
typename AdditionalOptionsT = Aws::Map<Aws::String, Aws::String>>
122 template<
typename AdditionalOptionsKeyT = Aws::String,
typename AdditionalOptionsValueT = Aws::String>
124 m_additionalOptionsHasBeenSet =
true; m_additionalOptions.emplace(std::forward<AdditionalOptionsKeyT>(key), std::forward<AdditionalOptionsValueT>(value));
return *
this;
135 template<
typename SchemaChangePolicyT = DirectSchemaChangePolicy>
136 void SetSchemaChangePolicy(SchemaChangePolicyT&& value) { m_schemaChangePolicyHasBeenSet =
true; m_schemaChangePolicy = std::forward<SchemaChangePolicyT>(value); }
137 template<
typename SchemaChangePolicyT = DirectSchemaChangePolicy>
158 template<
typename NumberTargetPartitionsT = Aws::String>
159 void SetNumberTargetPartitions(NumberTargetPartitionsT&& value) { m_numberTargetPartitionsHasBeenSet =
true; m_numberTargetPartitions = std::forward<NumberTargetPartitionsT>(value); }
160 template<
typename NumberTargetPartitionsT = Aws::String>
166 bool m_nameHasBeenSet =
false;
169 bool m_inputsHasBeenSet =
false;
172 bool m_partitionKeysHasBeenSet =
false;
175 bool m_pathHasBeenSet =
false;
178 bool m_formatHasBeenSet =
false;
181 bool m_additionalOptionsHasBeenSet =
false;
183 DirectSchemaChangePolicy m_schemaChangePolicy;
184 bool m_schemaChangePolicyHasBeenSet =
false;
187 bool m_compressionHasBeenSet =
false;
190 bool m_numberTargetPartitionsHasBeenSet =
false;
S3IcebergDirectTarget & AddAdditionalOptions(AdditionalOptionsKeyT &&key, AdditionalOptionsValueT &&value)
void SetNumberTargetPartitions(NumberTargetPartitionsT &&value)
const Aws::String & GetNumberTargetPartitions() const
void SetInputs(InputsT &&value)
S3IcebergDirectTarget & WithCompression(IcebergTargetCompressionType value)
S3IcebergDirectTarget & WithAdditionalOptions(AdditionalOptionsT &&value)
const Aws::Vector< Aws::Vector< Aws::String > > & GetPartitionKeys() const
bool PartitionKeysHasBeenSet() const
S3IcebergDirectTarget & AddInputs(InputsT &&value)
TargetFormat GetFormat() const
void SetSchemaChangePolicy(SchemaChangePolicyT &&value)
S3IcebergDirectTarget & WithInputs(InputsT &&value)
S3IcebergDirectTarget & WithSchemaChangePolicy(SchemaChangePolicyT &&value)
bool SchemaChangePolicyHasBeenSet() const
void SetPartitionKeys(PartitionKeysT &&value)
bool PathHasBeenSet() const
void SetFormat(TargetFormat value)
S3IcebergDirectTarget & WithNumberTargetPartitions(NumberTargetPartitionsT &&value)
AWS_GLUE_API S3IcebergDirectTarget()=default
const DirectSchemaChangePolicy & GetSchemaChangePolicy() const
S3IcebergDirectTarget & WithPartitionKeys(PartitionKeysT &&value)
const Aws::Vector< Aws::String > & GetInputs() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
S3IcebergDirectTarget & WithPath(PathT &&value)
AWS_GLUE_API S3IcebergDirectTarget(Aws::Utils::Json::JsonView jsonValue)
IcebergTargetCompressionType GetCompression() const
void SetPath(PathT &&value)
S3IcebergDirectTarget & AddPartitionKeys(PartitionKeysT &&value)
const Aws::String & GetPath() const
AWS_GLUE_API S3IcebergDirectTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
S3IcebergDirectTarget & WithFormat(TargetFormat value)
bool CompressionHasBeenSet() const
void SetCompression(IcebergTargetCompressionType value)
bool NameHasBeenSet() const
void SetAdditionalOptions(AdditionalOptionsT &&value)
bool FormatHasBeenSet() const
S3IcebergDirectTarget & WithName(NameT &&value)
bool NumberTargetPartitionsHasBeenSet() const
bool InputsHasBeenSet() const
void SetName(NameT &&value)
bool AdditionalOptionsHasBeenSet() const
const Aws::String & GetName() const
const Aws::Map< Aws::String, Aws::String > & GetAdditionalOptions() const
IcebergTargetCompressionType
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