7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/AutoDataQuality.h>
11#include <aws/glue/model/DirectSchemaChangePolicy.h>
12#include <aws/glue/model/GlueSchema.h>
13#include <aws/glue/model/TargetFormat.h>
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
64 template <
typename InputsT = Aws::Vector<Aws::String>>
66 m_inputsHasBeenSet =
true;
67 m_inputs = std::forward<InputsT>(value);
69 template <
typename InputsT = Aws::Vector<Aws::String>>
74 template <
typename InputsT = Aws::String>
76 m_inputsHasBeenSet =
true;
77 m_inputs.emplace_back(std::forward<InputsT>(value));
88 template <
typename PartitionKeysT = Aws::Vector<Aws::Vector<Aws::String>>>
90 m_partitionKeysHasBeenSet =
true;
91 m_partitionKeys = std::forward<PartitionKeysT>(value);
93 template <
typename PartitionKeysT = Aws::Vector<Aws::Vector<Aws::String>>>
98 template <
typename PartitionKeysT = Aws::Vector<Aws::String>>
100 m_partitionKeysHasBeenSet =
true;
101 m_partitionKeys.emplace_back(std::forward<PartitionKeysT>(value));
112 template <
typename PathT = Aws::String>
114 m_pathHasBeenSet =
true;
115 m_path = std::forward<PathT>(value);
117 template <
typename PathT = Aws::String>
119 SetPath(std::forward<PathT>(value));
132 template <
typename CompressionT = Aws::String>
134 m_compressionHasBeenSet =
true;
135 m_compression = std::forward<CompressionT>(value);
137 template <
typename CompressionT = Aws::String>
151 template <
typename NumberTargetPartitionsT = Aws::String>
153 m_numberTargetPartitionsHasBeenSet =
true;
154 m_numberTargetPartitions = std::forward<NumberTargetPartitionsT>(value);
156 template <
typename NumberTargetPartitionsT = Aws::String>
170 m_formatHasBeenSet =
true;
185 template <
typename SchemaChangePolicyT = DirectSchemaChangePolicy>
187 m_schemaChangePolicyHasBeenSet =
true;
188 m_schemaChangePolicy = std::forward<SchemaChangePolicyT>(value);
190 template <
typename SchemaChangePolicyT = DirectSchemaChangePolicy>
205 template <
typename AutoDataQualityT = AutoDataQuality>
207 m_autoDataQualityHasBeenSet =
true;
208 m_autoDataQuality = std::forward<AutoDataQualityT>(value);
210 template <
typename AutoDataQualityT = AutoDataQuality>
223 template <
typename OutputSchemasT = Aws::Vector<GlueSchema>>
225 m_outputSchemasHasBeenSet =
true;
226 m_outputSchemas = std::forward<OutputSchemasT>(value);
228 template <
typename OutputSchemasT = Aws::Vector<GlueSchema>>
233 template <
typename OutputSchemasT = GlueSchema>
235 m_outputSchemasHasBeenSet =
true;
236 m_outputSchemas.emplace_back(std::forward<OutputSchemasT>(value));
255 DirectSchemaChangePolicy m_schemaChangePolicy;
257 AutoDataQuality m_autoDataQuality;
260 bool m_nameHasBeenSet =
false;
261 bool m_inputsHasBeenSet =
false;
262 bool m_partitionKeysHasBeenSet =
false;
263 bool m_pathHasBeenSet =
false;
264 bool m_compressionHasBeenSet =
false;
265 bool m_numberTargetPartitionsHasBeenSet =
false;
266 bool m_formatHasBeenSet =
false;
267 bool m_schemaChangePolicyHasBeenSet =
false;
268 bool m_autoDataQualityHasBeenSet =
false;
269 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