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/DeltaTargetCompressionType.h>
11#include <aws/glue/model/TargetFormat.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/glue/model/DirectSchemaChangePolicy.h>
52 template<
typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
54 template<
typename NameT = Aws::String>
64 template<
typename InputsT = Aws::Vector<Aws::String>>
65 void SetInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs = std::forward<InputsT>(value); }
66 template<
typename InputsT = Aws::Vector<Aws::String>>
68 template<
typename InputsT = Aws::String>
78 template<
typename PartitionKeysT = Aws::Vector<Aws::Vector<Aws::String>>>
79 void SetPartitionKeys(PartitionKeysT&& value) { m_partitionKeysHasBeenSet =
true; m_partitionKeys = std::forward<PartitionKeysT>(value); }
80 template<
typename PartitionKeysT = Aws::Vector<Aws::Vector<Aws::String>>>
82 template<
typename PartitionKeysT = Aws::Vector<Aws::String>>
92 template<
typename PathT = Aws::String>
93 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
94 template<
typename PathT = Aws::String>
117 template<
typename NumberTargetPartitionsT = Aws::String>
118 void SetNumberTargetPartitions(NumberTargetPartitionsT&& value) { m_numberTargetPartitionsHasBeenSet =
true; m_numberTargetPartitions = std::forward<NumberTargetPartitionsT>(value); }
119 template<
typename NumberTargetPartitionsT = Aws::String>
139 template<
typename AdditionalOptionsT = Aws::Map<Aws::String, Aws::String>>
140 void SetAdditionalOptions(AdditionalOptionsT&& value) { m_additionalOptionsHasBeenSet =
true; m_additionalOptions = std::forward<AdditionalOptionsT>(value); }
141 template<
typename AdditionalOptionsT = Aws::Map<Aws::String, Aws::String>>
143 template<
typename AdditionalOptionsKeyT = Aws::String,
typename AdditionalOptionsValueT = Aws::String>
145 m_additionalOptionsHasBeenSet =
true; m_additionalOptions.emplace(std::forward<AdditionalOptionsKeyT>(key), std::forward<AdditionalOptionsValueT>(value));
return *
this;
155 template<
typename SchemaChangePolicyT = DirectSchemaChangePolicy>
156 void SetSchemaChangePolicy(SchemaChangePolicyT&& value) { m_schemaChangePolicyHasBeenSet =
true; m_schemaChangePolicy = std::forward<SchemaChangePolicyT>(value); }
157 template<
typename SchemaChangePolicyT = DirectSchemaChangePolicy>
163 bool m_nameHasBeenSet =
false;
166 bool m_inputsHasBeenSet =
false;
169 bool m_partitionKeysHasBeenSet =
false;
172 bool m_pathHasBeenSet =
false;
175 bool m_compressionHasBeenSet =
false;
178 bool m_numberTargetPartitionsHasBeenSet =
false;
181 bool m_formatHasBeenSet =
false;
184 bool m_additionalOptionsHasBeenSet =
false;
186 DirectSchemaChangePolicy m_schemaChangePolicy;
187 bool m_schemaChangePolicyHasBeenSet =
false;
AWS_GLUE_API S3DeltaDirectTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalOptions() const
S3DeltaDirectTarget & WithFormat(TargetFormat value)
bool SchemaChangePolicyHasBeenSet() const
S3DeltaDirectTarget & WithPartitionKeys(PartitionKeysT &&value)
AWS_GLUE_API S3DeltaDirectTarget(Aws::Utils::Json::JsonView jsonValue)
bool InputsHasBeenSet() const
bool AdditionalOptionsHasBeenSet() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::Vector< Aws::String > > & GetPartitionKeys() const
void SetAdditionalOptions(AdditionalOptionsT &&value)
bool CompressionHasBeenSet() const
S3DeltaDirectTarget & WithCompression(DeltaTargetCompressionType value)
S3DeltaDirectTarget & WithNumberTargetPartitions(NumberTargetPartitionsT &&value)
S3DeltaDirectTarget & WithInputs(InputsT &&value)
AWS_GLUE_API S3DeltaDirectTarget()=default
S3DeltaDirectTarget & AddPartitionKeys(PartitionKeysT &&value)
const Aws::String & GetNumberTargetPartitions() const
S3DeltaDirectTarget & AddInputs(InputsT &&value)
void SetPartitionKeys(PartitionKeysT &&value)
S3DeltaDirectTarget & WithAdditionalOptions(AdditionalOptionsT &&value)
const DirectSchemaChangePolicy & GetSchemaChangePolicy() const
S3DeltaDirectTarget & WithSchemaChangePolicy(SchemaChangePolicyT &&value)
const Aws::String & GetName() const
DeltaTargetCompressionType GetCompression() const
void SetName(NameT &&value)
void SetCompression(DeltaTargetCompressionType value)
bool NumberTargetPartitionsHasBeenSet() const
S3DeltaDirectTarget & WithPath(PathT &&value)
bool FormatHasBeenSet() const
bool NameHasBeenSet() const
void SetInputs(InputsT &&value)
S3DeltaDirectTarget & WithName(NameT &&value)
void SetPath(PathT &&value)
void SetFormat(TargetFormat value)
TargetFormat GetFormat() const
bool PathHasBeenSet() const
const Aws::Vector< Aws::String > & GetInputs() const
void SetSchemaChangePolicy(SchemaChangePolicyT &&value)
S3DeltaDirectTarget & AddAdditionalOptions(AdditionalOptionsKeyT &&key, AdditionalOptionsValueT &&value)
const Aws::String & GetPath() const
void SetNumberTargetPartitions(NumberTargetPartitionsT &&value)
bool PartitionKeysHasBeenSet() const
DeltaTargetCompressionType
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