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>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
62 template<
typename InputsT = Aws::Vector<Aws::String>>
63 void SetInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs = std::forward<InputsT>(value); }
64 template<
typename InputsT = Aws::Vector<Aws::String>>
66 template<
typename InputsT = Aws::String>
67 S3DirectTarget&
AddInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs.emplace_back(std::forward<InputsT>(value));
return *
this; }
76 template<
typename PartitionKeysT = Aws::Vector<Aws::Vector<Aws::String>>>
77 void SetPartitionKeys(PartitionKeysT&& value) { m_partitionKeysHasBeenSet =
true; m_partitionKeys = std::forward<PartitionKeysT>(value); }
78 template<
typename PartitionKeysT = Aws::Vector<Aws::Vector<Aws::String>>>
80 template<
typename PartitionKeysT = Aws::Vector<Aws::String>>
81 S3DirectTarget&
AddPartitionKeys(PartitionKeysT&& value) { m_partitionKeysHasBeenSet =
true; m_partitionKeys.emplace_back(std::forward<PartitionKeysT>(value));
return *
this; }
90 template<
typename PathT = Aws::String>
91 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
92 template<
typename PathT = Aws::String>
104 template<
typename CompressionT = Aws::String>
105 void SetCompression(CompressionT&& value) { m_compressionHasBeenSet =
true; m_compression = std::forward<CompressionT>(value); }
106 template<
typename CompressionT = 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 SchemaChangePolicyT = DirectSchemaChangePolicy>
140 void SetSchemaChangePolicy(SchemaChangePolicyT&& value) { m_schemaChangePolicyHasBeenSet =
true; m_schemaChangePolicy = std::forward<SchemaChangePolicyT>(value); }
141 template<
typename SchemaChangePolicyT = DirectSchemaChangePolicy>
147 bool m_nameHasBeenSet =
false;
150 bool m_inputsHasBeenSet =
false;
153 bool m_partitionKeysHasBeenSet =
false;
156 bool m_pathHasBeenSet =
false;
159 bool m_compressionHasBeenSet =
false;
162 bool m_numberTargetPartitionsHasBeenSet =
false;
165 bool m_formatHasBeenSet =
false;
167 DirectSchemaChangePolicy m_schemaChangePolicy;
168 bool m_schemaChangePolicyHasBeenSet =
false;
S3DirectTarget & AddPartitionKeys(PartitionKeysT &&value)
S3DirectTarget & WithInputs(InputsT &&value)
const Aws::String & GetPath() const
S3DirectTarget & WithFormat(TargetFormat value)
void SetCompression(CompressionT &&value)
void SetFormat(TargetFormat value)
void SetInputs(InputsT &&value)
const Aws::String & GetName() const
AWS_GLUE_API S3DirectTarget()=default
S3DirectTarget & WithCompression(CompressionT &&value)
bool SchemaChangePolicyHasBeenSet() const
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)
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)
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
bool InputsHasBeenSet() const
const Aws::Vector< Aws::String > & GetInputs() 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