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/CompressionType.h>
11#include <aws/glue/model/GlueSchema.h>
12#include <aws/glue/model/QuoteChar.h>
13#include <aws/glue/model/S3DirectSourceAdditionalOptions.h>
14#include <aws/glue/model/Separator.h>
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
65 template <
typename PathsT = Aws::Vector<Aws::String>>
67 m_pathsHasBeenSet =
true;
68 m_paths = std::forward<PathsT>(value);
70 template <
typename PathsT = Aws::Vector<Aws::String>>
72 SetPaths(std::forward<PathsT>(value));
75 template <
typename PathsT = Aws::String>
77 m_pathsHasBeenSet =
true;
78 m_paths.emplace_back(std::forward<PathsT>(value));
92 m_compressionTypeHasBeenSet =
true;
93 m_compressionType = value;
108 template <
typename ExclusionsT = Aws::Vector<Aws::String>>
110 m_exclusionsHasBeenSet =
true;
111 m_exclusions = std::forward<ExclusionsT>(value);
113 template <
typename ExclusionsT = Aws::Vector<Aws::String>>
118 template <
typename ExclusionsT = Aws::String>
120 m_exclusionsHasBeenSet =
true;
121 m_exclusions.emplace_back(std::forward<ExclusionsT>(value));
135 template <
typename GroupSizeT = Aws::String>
137 m_groupSizeHasBeenSet =
true;
138 m_groupSize = std::forward<GroupSizeT>(value);
140 template <
typename GroupSizeT = Aws::String>
156 template <
typename GroupFilesT = Aws::String>
158 m_groupFilesHasBeenSet =
true;
159 m_groupFiles = std::forward<GroupFilesT>(value);
161 template <
typename GroupFilesT = Aws::String>
176 m_recurseHasBeenSet =
true;
196 m_maxBandHasBeenSet =
true;
214 m_maxFilesInBandHasBeenSet =
true;
215 m_maxFilesInBand = value;
229 template <
typename AdditionalOptionsT = S3DirectSourceAdditionalOptions>
231 m_additionalOptionsHasBeenSet =
true;
232 m_additionalOptions = std::forward<AdditionalOptionsT>(value);
234 template <
typename AdditionalOptionsT = S3DirectSourceAdditionalOptions>
249 m_separatorHasBeenSet =
true;
268 template <
typename EscaperT = Aws::String>
270 m_escaperHasBeenSet =
true;
271 m_escaper = std::forward<EscaperT>(value);
273 template <
typename EscaperT = Aws::String>
288 m_quoteCharHasBeenSet =
true;
308 m_multilineHasBeenSet =
true;
325 m_withHeaderHasBeenSet =
true;
326 m_withHeader = value;
342 m_writeHeaderHasBeenSet =
true;
343 m_writeHeader = value;
359 m_skipFirstHasBeenSet =
true;
377 m_optimizePerformanceHasBeenSet =
true;
378 m_optimizePerformance = value;
392 template <
typename OutputSchemasT = Aws::Vector<GlueSchema>>
394 m_outputSchemasHasBeenSet =
true;
395 m_outputSchemas = std::forward<OutputSchemasT>(value);
397 template <
typename OutputSchemasT = Aws::Vector<GlueSchema>>
402 template <
typename OutputSchemasT = GlueSchema>
404 m_outputSchemasHasBeenSet =
true;
405 m_outputSchemas.emplace_back(std::forward<OutputSchemasT>(value));
422 bool m_recurse{
false};
426 int m_maxFilesInBand{0};
428 S3DirectSourceAdditionalOptions m_additionalOptions;
436 bool m_multiline{
false};
438 bool m_withHeader{
false};
440 bool m_writeHeader{
false};
442 bool m_skipFirst{
false};
444 bool m_optimizePerformance{
false};
447 bool m_nameHasBeenSet =
false;
448 bool m_pathsHasBeenSet =
false;
449 bool m_compressionTypeHasBeenSet =
false;
450 bool m_exclusionsHasBeenSet =
false;
451 bool m_groupSizeHasBeenSet =
false;
452 bool m_groupFilesHasBeenSet =
false;
453 bool m_recurseHasBeenSet =
false;
454 bool m_maxBandHasBeenSet =
false;
455 bool m_maxFilesInBandHasBeenSet =
false;
456 bool m_additionalOptionsHasBeenSet =
false;
457 bool m_separatorHasBeenSet =
false;
458 bool m_escaperHasBeenSet =
false;
459 bool m_quoteCharHasBeenSet =
false;
460 bool m_multilineHasBeenSet =
false;
461 bool m_withHeaderHasBeenSet =
false;
462 bool m_writeHeaderHasBeenSet =
false;
463 bool m_skipFirstHasBeenSet =
false;
464 bool m_optimizePerformanceHasBeenSet =
false;
465 bool m_outputSchemasHasBeenSet =
false;
S3CsvSource & WithPaths(PathsT &&value)
AWS_GLUE_API S3CsvSource(Aws::Utils::Json::JsonView jsonValue)
S3CsvSource & WithOptimizePerformance(bool value)
void SetSkipFirst(bool value)
const Aws::String & GetGroupFiles() const
S3CsvSource & WithWithHeader(bool value)
bool QuoteCharHasBeenSet() const
void SetEscaper(EscaperT &&value)
void SetWithHeader(bool value)
S3CsvSource & WithSeparator(Separator value)
CompressionType GetCompressionType() const
bool GetMultiline() const
void SetWriteHeader(bool value)
S3CsvSource & WithOutputSchemas(OutputSchemasT &&value)
void SetGroupFiles(GroupFilesT &&value)
S3CsvSource & WithCompressionType(CompressionType value)
bool OutputSchemasHasBeenSet() const
S3CsvSource & WithMaxBand(int value)
S3CsvSource & WithAdditionalOptions(AdditionalOptionsT &&value)
S3CsvSource & AddPaths(PathsT &&value)
bool EscaperHasBeenSet() const
void SetQuoteChar(QuoteChar value)
bool RecurseHasBeenSet() const
S3CsvSource & WithSkipFirst(bool value)
bool NameHasBeenSet() const
bool MultilineHasBeenSet() const
void SetOutputSchemas(OutputSchemasT &&value)
S3CsvSource & AddOutputSchemas(OutputSchemasT &&value)
void SetOptimizePerformance(bool value)
const Aws::Vector< Aws::String > & GetPaths() const
void SetSeparator(Separator value)
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
void SetGroupSize(GroupSizeT &&value)
void SetAdditionalOptions(AdditionalOptionsT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const S3DirectSourceAdditionalOptions & GetAdditionalOptions() const
S3CsvSource & WithQuoteChar(QuoteChar value)
bool GroupFilesHasBeenSet() const
bool GetWriteHeader() const
S3CsvSource & AddExclusions(ExclusionsT &&value)
bool GetOptimizePerformance() const
bool WithHeaderHasBeenSet() const
void SetCompressionType(CompressionType value)
bool GroupSizeHasBeenSet() const
const Aws::String & GetGroupSize() const
int GetMaxFilesInBand() const
bool WriteHeaderHasBeenSet() const
bool GetWithHeader() const
bool SkipFirstHasBeenSet() const
void SetMultiline(bool value)
void SetName(NameT &&value)
bool CompressionTypeHasBeenSet() const
bool MaxFilesInBandHasBeenSet() const
bool SeparatorHasBeenSet() const
S3CsvSource & WithExclusions(ExclusionsT &&value)
S3CsvSource & WithGroupSize(GroupSizeT &&value)
void SetMaxFilesInBand(int value)
S3CsvSource & WithName(NameT &&value)
void SetExclusions(ExclusionsT &&value)
const Aws::String & GetEscaper() const
S3CsvSource & WithEscaper(EscaperT &&value)
S3CsvSource & WithMultiline(bool value)
AWS_GLUE_API S3CsvSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API S3CsvSource()=default
void SetMaxBand(int value)
bool AdditionalOptionsHasBeenSet() const
bool MaxBandHasBeenSet() const
S3CsvSource & WithGroupFiles(GroupFilesT &&value)
Separator GetSeparator() const
const Aws::Vector< Aws::String > & GetExclusions() const
bool GetSkipFirst() const
S3CsvSource & WithRecurse(bool value)
bool OptimizePerformanceHasBeenSet() const
const Aws::String & GetName() const
void SetRecurse(bool value)
bool PathsHasBeenSet() const
S3CsvSource & WithMaxFilesInBand(int value)
QuoteChar GetQuoteChar() const
void SetPaths(PathsT &&value)
S3CsvSource & WithWriteHeader(bool value)
bool ExclusionsHasBeenSet() 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