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/CompressionType.h>
11#include <aws/glue/model/S3DirectSourceAdditionalOptions.h>
12#include <aws/glue/model/Separator.h>
13#include <aws/glue/model/QuoteChar.h>
14#include <aws/glue/model/GlueSchema.h>
53 template<
typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
55 template<
typename NameT = Aws::String>
65 template<
typename PathsT = Aws::Vector<Aws::String>>
66 void SetPaths(PathsT&& value) { m_pathsHasBeenSet =
true; m_paths = std::forward<PathsT>(value); }
67 template<
typename PathsT = Aws::Vector<Aws::String>>
69 template<
typename PathsT = Aws::String>
70 S3CsvSource&
AddPaths(PathsT&& value) { m_pathsHasBeenSet =
true; m_paths.emplace_back(std::forward<PathsT>(value));
return *
this; }
92 template<
typename ExclusionsT = Aws::Vector<Aws::String>>
93 void SetExclusions(ExclusionsT&& value) { m_exclusionsHasBeenSet =
true; m_exclusions = std::forward<ExclusionsT>(value); }
94 template<
typename ExclusionsT = Aws::Vector<Aws::String>>
96 template<
typename ExclusionsT = Aws::String>
97 S3CsvSource&
AddExclusions(ExclusionsT&& value) { m_exclusionsHasBeenSet =
true; m_exclusions.emplace_back(std::forward<ExclusionsT>(value));
return *
this; }
109 template<
typename GroupSizeT = Aws::String>
110 void SetGroupSize(GroupSizeT&& value) { m_groupSizeHasBeenSet =
true; m_groupSize = std::forward<GroupSizeT>(value); }
111 template<
typename GroupSizeT = Aws::String>
124 template<
typename GroupFilesT = Aws::String>
125 void SetGroupFiles(GroupFilesT&& value) { m_groupFilesHasBeenSet =
true; m_groupFiles = std::forward<GroupFilesT>(value); }
126 template<
typename GroupFilesT = Aws::String>
137 inline void SetRecurse(
bool value) { m_recurseHasBeenSet =
true; m_recurse = value; }
151 inline void SetMaxBand(
int value) { m_maxBandHasBeenSet =
true; m_maxBand = value; }
163 inline void SetMaxFilesInBand(
int value) { m_maxFilesInBandHasBeenSet =
true; m_maxFilesInBand = value; }
173 template<
typename AdditionalOptionsT = S3DirectSourceAdditionalOptions>
174 void SetAdditionalOptions(AdditionalOptionsT&& value) { m_additionalOptionsHasBeenSet =
true; m_additionalOptions = std::forward<AdditionalOptionsT>(value); }
175 template<
typename AdditionalOptionsT = S3DirectSourceAdditionalOptions>
200 template<
typename EscaperT = Aws::String>
201 void SetEscaper(EscaperT&& value) { m_escaperHasBeenSet =
true; m_escaper = std::forward<EscaperT>(value); }
202 template<
typename EscaperT = Aws::String>
227 inline void SetMultiline(
bool value) { m_multilineHasBeenSet =
true; m_multiline = value; }
238 inline void SetWithHeader(
bool value) { m_withHeaderHasBeenSet =
true; m_withHeader = value; }
249 inline void SetWriteHeader(
bool value) { m_writeHeaderHasBeenSet =
true; m_writeHeader = value; }
260 inline void SetSkipFirst(
bool value) { m_skipFirstHasBeenSet =
true; m_skipFirst = value; }
272 inline void SetOptimizePerformance(
bool value) { m_optimizePerformanceHasBeenSet =
true; m_optimizePerformance = value; }
282 template<
typename OutputSchemasT = Aws::Vector<GlueSchema>>
283 void SetOutputSchemas(OutputSchemasT&& value) { m_outputSchemasHasBeenSet =
true; m_outputSchemas = std::forward<OutputSchemasT>(value); }
284 template<
typename OutputSchemasT = Aws::Vector<GlueSchema>>
286 template<
typename OutputSchemasT = GlueSchema>
287 S3CsvSource&
AddOutputSchemas(OutputSchemasT&& value) { m_outputSchemasHasBeenSet =
true; m_outputSchemas.emplace_back(std::forward<OutputSchemasT>(value));
return *
this; }
292 bool m_nameHasBeenSet =
false;
295 bool m_pathsHasBeenSet =
false;
298 bool m_compressionTypeHasBeenSet =
false;
301 bool m_exclusionsHasBeenSet =
false;
304 bool m_groupSizeHasBeenSet =
false;
307 bool m_groupFilesHasBeenSet =
false;
309 bool m_recurse{
false};
310 bool m_recurseHasBeenSet =
false;
313 bool m_maxBandHasBeenSet =
false;
315 int m_maxFilesInBand{0};
316 bool m_maxFilesInBandHasBeenSet =
false;
318 S3DirectSourceAdditionalOptions m_additionalOptions;
319 bool m_additionalOptionsHasBeenSet =
false;
322 bool m_separatorHasBeenSet =
false;
325 bool m_escaperHasBeenSet =
false;
328 bool m_quoteCharHasBeenSet =
false;
330 bool m_multiline{
false};
331 bool m_multilineHasBeenSet =
false;
333 bool m_withHeader{
false};
334 bool m_withHeaderHasBeenSet =
false;
336 bool m_writeHeader{
false};
337 bool m_writeHeaderHasBeenSet =
false;
339 bool m_skipFirst{
false};
340 bool m_skipFirstHasBeenSet =
false;
342 bool m_optimizePerformance{
false};
343 bool m_optimizePerformanceHasBeenSet =
false;
346 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