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/glue/model/DirectSchemaChangePolicy.h>
12#include <aws/glue/model/AutoDataQuality.h>
13#include <aws/glue/model/GlueSchema.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>
69 S3DirectTarget&
AddInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs.emplace_back(std::forward<InputsT>(value));
return *
this; }
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>>
83 S3DirectTarget&
AddPartitionKeys(PartitionKeysT&& value) { m_partitionKeysHasBeenSet =
true; m_partitionKeys.emplace_back(std::forward<PartitionKeysT>(value));
return *
this; }
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>
106 template<
typename CompressionT = Aws::String>
107 void SetCompression(CompressionT&& value) { m_compressionHasBeenSet =
true; m_compression = std::forward<CompressionT>(value); }
108 template<
typename CompressionT = Aws::String>
119 template<
typename NumberTargetPartitionsT = Aws::String>
120 void SetNumberTargetPartitions(NumberTargetPartitionsT&& value) { m_numberTargetPartitionsHasBeenSet =
true; m_numberTargetPartitions = std::forward<NumberTargetPartitionsT>(value); }
121 template<
typename NumberTargetPartitionsT = Aws::String>
141 template<
typename SchemaChangePolicyT = DirectSchemaChangePolicy>
142 void SetSchemaChangePolicy(SchemaChangePolicyT&& value) { m_schemaChangePolicyHasBeenSet =
true; m_schemaChangePolicy = std::forward<SchemaChangePolicyT>(value); }
143 template<
typename SchemaChangePolicyT = DirectSchemaChangePolicy>
155 template<
typename AutoDataQualityT = AutoDataQuality>
156 void SetAutoDataQuality(AutoDataQualityT&& value) { m_autoDataQualityHasBeenSet =
true; m_autoDataQuality = std::forward<AutoDataQualityT>(value); }
157 template<
typename AutoDataQualityT = AutoDataQuality>
167 template<
typename OutputSchemasT = Aws::Vector<GlueSchema>>
168 void SetOutputSchemas(OutputSchemasT&& value) { m_outputSchemasHasBeenSet =
true; m_outputSchemas = std::forward<OutputSchemasT>(value); }
169 template<
typename OutputSchemasT = Aws::Vector<GlueSchema>>
171 template<
typename OutputSchemasT = GlueSchema>
172 S3DirectTarget&
AddOutputSchemas(OutputSchemasT&& value) { m_outputSchemasHasBeenSet =
true; m_outputSchemas.emplace_back(std::forward<OutputSchemasT>(value));
return *
this; }
177 bool m_nameHasBeenSet =
false;
180 bool m_inputsHasBeenSet =
false;
183 bool m_partitionKeysHasBeenSet =
false;
186 bool m_pathHasBeenSet =
false;
189 bool m_compressionHasBeenSet =
false;
192 bool m_numberTargetPartitionsHasBeenSet =
false;
195 bool m_formatHasBeenSet =
false;
197 DirectSchemaChangePolicy m_schemaChangePolicy;
198 bool m_schemaChangePolicyHasBeenSet =
false;
200 AutoDataQuality m_autoDataQuality;
201 bool m_autoDataQualityHasBeenSet =
false;
204 bool m_outputSchemasHasBeenSet =
false;
S3DirectTarget & AddPartitionKeys(PartitionKeysT &&value)
S3DirectTarget & WithInputs(InputsT &&value)
const Aws::String & GetPath() const
S3DirectTarget & WithFormat(TargetFormat value)
void SetCompression(CompressionT &&value)
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
S3DirectTarget & AddOutputSchemas(OutputSchemasT &&value)
void SetFormat(TargetFormat value)
void SetInputs(InputsT &&value)
const Aws::String & GetName() const
AWS_GLUE_API S3DirectTarget()=default
S3DirectTarget & WithCompression(CompressionT &&value)
void SetAutoDataQuality(AutoDataQualityT &&value)
bool SchemaChangePolicyHasBeenSet() const
void SetOutputSchemas(OutputSchemasT &&value)
TargetFormat GetFormat() const
AWS_GLUE_API S3DirectTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PathHasBeenSet() const
bool FormatHasBeenSet() const
void SetPath(PathT &&value)
S3DirectTarget & WithNumberTargetPartitions(NumberTargetPartitionsT &&value)
S3DirectTarget & WithPath(PathT &&value)
S3DirectTarget & WithSchemaChangePolicy(SchemaChangePolicyT &&value)
S3DirectTarget & WithPartitionKeys(PartitionKeysT &&value)
S3DirectTarget & WithOutputSchemas(OutputSchemasT &&value)
bool OutputSchemasHasBeenSet() const
bool NameHasBeenSet() const
bool PartitionKeysHasBeenSet() const
bool CompressionHasBeenSet() const
void SetSchemaChangePolicy(SchemaChangePolicyT &&value)
void SetName(NameT &&value)
const Aws::String & GetCompression() const
void SetPartitionKeys(PartitionKeysT &&value)
bool AutoDataQualityHasBeenSet() const
void SetNumberTargetPartitions(NumberTargetPartitionsT &&value)
S3DirectTarget & AddInputs(InputsT &&value)
bool NumberTargetPartitionsHasBeenSet() const
AWS_GLUE_API S3DirectTarget(Aws::Utils::Json::JsonView jsonValue)
S3DirectTarget & WithName(NameT &&value)
const Aws::String & GetNumberTargetPartitions() const
const DirectSchemaChangePolicy & GetSchemaChangePolicy() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::Vector< Aws::String > > & GetPartitionKeys() const
S3DirectTarget & WithAutoDataQuality(AutoDataQualityT &&value)
bool InputsHasBeenSet() const
const Aws::Vector< Aws::String > & GetInputs() const
const AutoDataQuality & GetAutoDataQuality() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue