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>
55 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
73 inline S3CsvSource&
AddPaths(
const char* value) { m_pathsHasBeenSet =
true; m_paths.push_back(value);
return *
this; }
103 inline S3CsvSource&
AddExclusions(
const char* value) { m_exclusionsHasBeenSet =
true; m_exclusions.push_back(value);
return *
this; }
117 inline void SetGroupSize(
const char* value) { m_groupSizeHasBeenSet =
true; m_groupSize.assign(value); }
134 inline void SetGroupFiles(
const char* value) { m_groupFilesHasBeenSet =
true; m_groupFiles.assign(value); }
147 inline void SetRecurse(
bool value) { m_recurseHasBeenSet =
true; m_recurse = value; }
161 inline void SetMaxBand(
int value) { m_maxBandHasBeenSet =
true; m_maxBand = value; }
173 inline void SetMaxFilesInBand(
int value) { m_maxFilesInBandHasBeenSet =
true; m_maxFilesInBand = value; }
214 inline void SetEscaper(
const char* value) { m_escaperHasBeenSet =
true; m_escaper.assign(value); }
243 inline void SetMultiline(
bool value) { m_multilineHasBeenSet =
true; m_multiline = value; }
254 inline void SetWithHeader(
bool value) { m_withHeaderHasBeenSet =
true; m_withHeader = value; }
265 inline void SetWriteHeader(
bool value) { m_writeHeaderHasBeenSet =
true; m_writeHeader = value; }
276 inline void SetSkipFirst(
bool value) { m_skipFirstHasBeenSet =
true; m_skipFirst = value; }
288 inline void SetOptimizePerformance(
bool value) { m_optimizePerformanceHasBeenSet =
true; m_optimizePerformance = value; }
308 bool m_nameHasBeenSet =
false;
311 bool m_pathsHasBeenSet =
false;
314 bool m_compressionTypeHasBeenSet =
false;
317 bool m_exclusionsHasBeenSet =
false;
320 bool m_groupSizeHasBeenSet =
false;
323 bool m_groupFilesHasBeenSet =
false;
326 bool m_recurseHasBeenSet =
false;
329 bool m_maxBandHasBeenSet =
false;
331 int m_maxFilesInBand;
332 bool m_maxFilesInBandHasBeenSet =
false;
335 bool m_additionalOptionsHasBeenSet =
false;
338 bool m_separatorHasBeenSet =
false;
341 bool m_escaperHasBeenSet =
false;
344 bool m_quoteCharHasBeenSet =
false;
347 bool m_multilineHasBeenSet =
false;
350 bool m_withHeaderHasBeenSet =
false;
353 bool m_writeHeaderHasBeenSet =
false;
356 bool m_skipFirstHasBeenSet =
false;
358 bool m_optimizePerformance;
359 bool m_optimizePerformanceHasBeenSet =
false;
362 bool m_outputSchemasHasBeenSet =
false;
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 SetWithHeader(bool value)
bool GetMultiline() const
void SetWriteHeader(bool value)
S3CsvSource & WithEscaper(const Aws::String &value)
void SetOutputSchemas(const Aws::Vector< GlueSchema > &value)
S3CsvSource & WithQuoteChar(QuoteChar &&value)
S3CsvSource & WithExclusions(Aws::Vector< Aws::String > &&value)
void SetCompressionType(const CompressionType &value)
bool OutputSchemasHasBeenSet() const
S3CsvSource & WithMaxBand(int value)
void SetEscaper(const char *value)
bool EscaperHasBeenSet() const
S3CsvSource & WithExclusions(const Aws::Vector< Aws::String > &value)
void SetGroupFiles(const char *value)
bool RecurseHasBeenSet() const
void SetAdditionalOptions(S3DirectSourceAdditionalOptions &&value)
S3CsvSource & WithSkipFirst(bool value)
bool NameHasBeenSet() const
S3CsvSource & AddPaths(Aws::String &&value)
bool MultilineHasBeenSet() const
void SetName(const char *value)
void SetOptimizePerformance(bool value)
S3CsvSource & AddOutputSchemas(GlueSchema &&value)
const Aws::Vector< Aws::String > & GetPaths() const
S3CsvSource & AddPaths(const char *value)
S3CsvSource & WithName(Aws::String &&value)
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
S3CsvSource & WithQuoteChar(const QuoteChar &value)
void SetSeparator(const Separator &value)
void SetGroupSize(Aws::String &&value)
S3CsvSource & WithCompressionType(CompressionType &&value)
const S3DirectSourceAdditionalOptions & GetAdditionalOptions() const
bool GroupFilesHasBeenSet() const
bool GetWriteHeader() const
S3CsvSource & WithSeparator(Separator &&value)
bool GetOptimizePerformance() const
S3CsvSource & WithGroupFiles(const char *value)
bool WithHeaderHasBeenSet() const
bool GroupSizeHasBeenSet() const
S3CsvSource & WithGroupSize(Aws::String &&value)
const Aws::String & GetGroupSize() const
int GetMaxFilesInBand() const
S3CsvSource & WithGroupFiles(Aws::String &&value)
AWS_GLUE_API S3CsvSource()
bool WriteHeaderHasBeenSet() const
S3CsvSource & WithPaths(Aws::Vector< Aws::String > &&value)
S3CsvSource & WithGroupSize(const char *value)
bool GetWithHeader() const
const QuoteChar & GetQuoteChar() const
void SetExclusions(Aws::Vector< Aws::String > &&value)
S3CsvSource & WithGroupFiles(const Aws::String &value)
void SetSeparator(Separator &&value)
S3CsvSource & WithName(const char *value)
void SetOutputSchemas(Aws::Vector< GlueSchema > &&value)
S3CsvSource & AddExclusions(const char *value)
bool SkipFirstHasBeenSet() const
void SetMultiline(bool value)
void SetName(const Aws::String &value)
S3CsvSource & AddExclusions(Aws::String &&value)
const Separator & GetSeparator() const
void SetPaths(Aws::Vector< Aws::String > &&value)
bool CompressionTypeHasBeenSet() const
bool MaxFilesInBandHasBeenSet() const
bool SeparatorHasBeenSet() const
void SetEscaper(const Aws::String &value)
void SetExclusions(const Aws::Vector< Aws::String > &value)
void SetMaxFilesInBand(int value)
S3CsvSource & WithPaths(const Aws::Vector< Aws::String > &value)
const Aws::String & GetEscaper() const
void SetGroupSize(const char *value)
S3CsvSource & WithMultiline(bool value)
S3CsvSource & AddPaths(const Aws::String &value)
AWS_GLUE_API S3CsvSource & operator=(Aws::Utils::Json::JsonView jsonValue)
S3CsvSource & WithName(const Aws::String &value)
void SetMaxBand(int value)
bool AdditionalOptionsHasBeenSet() const
void SetPaths(const Aws::Vector< Aws::String > &value)
S3CsvSource & AddOutputSchemas(const GlueSchema &value)
S3CsvSource & WithAdditionalOptions(const S3DirectSourceAdditionalOptions &value)
bool MaxBandHasBeenSet() const
S3CsvSource & WithOutputSchemas(Aws::Vector< GlueSchema > &&value)
void SetCompressionType(CompressionType &&value)
S3CsvSource & WithGroupSize(const Aws::String &value)
const CompressionType & GetCompressionType() const
void SetAdditionalOptions(const S3DirectSourceAdditionalOptions &value)
void SetName(Aws::String &&value)
void SetGroupFiles(const Aws::String &value)
const Aws::Vector< Aws::String > & GetExclusions() const
bool GetSkipFirst() const
S3CsvSource & WithRecurse(bool value)
bool OptimizePerformanceHasBeenSet() const
S3CsvSource & AddExclusions(const Aws::String &value)
const Aws::String & GetName() const
S3CsvSource & WithEscaper(Aws::String &&value)
void SetQuoteChar(QuoteChar &&value)
void SetGroupSize(const Aws::String &value)
void SetRecurse(bool value)
void SetEscaper(Aws::String &&value)
S3CsvSource & WithAdditionalOptions(S3DirectSourceAdditionalOptions &&value)
void SetGroupFiles(Aws::String &&value)
bool PathsHasBeenSet() const
S3CsvSource & WithSeparator(const Separator &value)
S3CsvSource & WithMaxFilesInBand(int value)
void SetQuoteChar(const QuoteChar &value)
S3CsvSource & WithOutputSchemas(const Aws::Vector< GlueSchema > &value)
S3CsvSource & WithCompressionType(const CompressionType &value)
S3CsvSource & WithEscaper(const char *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