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/ParquetCompressionType.h>
11#include <aws/glue/model/S3DirectSourceAdditionalOptions.h>
12#include <aws/glue/model/GlueSchema.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 PathsT = Aws::Vector<Aws::String>>
63 void SetPaths(PathsT&& value) { m_pathsHasBeenSet =
true; m_paths = std::forward<PathsT>(value); }
64 template<
typename PathsT = Aws::Vector<Aws::String>>
66 template<
typename PathsT = Aws::String>
67 S3ExcelSource&
AddPaths(PathsT&& value) { m_pathsHasBeenSet =
true; m_paths.emplace_back(std::forward<PathsT>(value));
return *
this; }
86 template<
typename ExclusionsT = Aws::Vector<Aws::String>>
87 void SetExclusions(ExclusionsT&& value) { m_exclusionsHasBeenSet =
true; m_exclusions = std::forward<ExclusionsT>(value); }
88 template<
typename ExclusionsT = Aws::Vector<Aws::String>>
90 template<
typename ExclusionsT = Aws::String>
91 S3ExcelSource&
AddExclusions(ExclusionsT&& value) { m_exclusionsHasBeenSet =
true; m_exclusions.emplace_back(std::forward<ExclusionsT>(value));
return *
this; }
100 template<
typename GroupSizeT = Aws::String>
101 void SetGroupSize(GroupSizeT&& value) { m_groupSizeHasBeenSet =
true; m_groupSize = std::forward<GroupSizeT>(value); }
102 template<
typename GroupSizeT = Aws::String>
112 template<
typename GroupFilesT = Aws::String>
113 void SetGroupFiles(GroupFilesT&& value) { m_groupFilesHasBeenSet =
true; m_groupFiles = std::forward<GroupFilesT>(value); }
114 template<
typename GroupFilesT = Aws::String>
124 inline void SetRecurse(
bool value) { m_recurseHasBeenSet =
true; m_recurse = value; }
134 inline void SetMaxBand(
int value) { m_maxBandHasBeenSet =
true; m_maxBand = value; }
144 inline void SetMaxFilesInBand(
int value) { m_maxFilesInBandHasBeenSet =
true; m_maxFilesInBand = value; }
154 template<
typename AdditionalOptionsT = S3DirectSourceAdditionalOptions>
155 void SetAdditionalOptions(AdditionalOptionsT&& value) { m_additionalOptionsHasBeenSet =
true; m_additionalOptions = std::forward<AdditionalOptionsT>(value); }
156 template<
typename AdditionalOptionsT = S3DirectSourceAdditionalOptions>
166 inline void SetNumberRows(
long long value) { m_numberRowsHasBeenSet =
true; m_numberRows = value; }
176 inline void SetSkipFooter(
int value) { m_skipFooterHasBeenSet =
true; m_skipFooter = value; }
186 template<
typename OutputSchemasT = Aws::Vector<GlueSchema>>
187 void SetOutputSchemas(OutputSchemasT&& value) { m_outputSchemasHasBeenSet =
true; m_outputSchemas = std::forward<OutputSchemasT>(value); }
188 template<
typename OutputSchemasT = Aws::Vector<GlueSchema>>
190 template<
typename OutputSchemasT = GlueSchema>
191 S3ExcelSource&
AddOutputSchemas(OutputSchemasT&& value) { m_outputSchemasHasBeenSet =
true; m_outputSchemas.emplace_back(std::forward<OutputSchemasT>(value));
return *
this; }
196 bool m_nameHasBeenSet =
false;
199 bool m_pathsHasBeenSet =
false;
202 bool m_compressionTypeHasBeenSet =
false;
205 bool m_exclusionsHasBeenSet =
false;
208 bool m_groupSizeHasBeenSet =
false;
211 bool m_groupFilesHasBeenSet =
false;
213 bool m_recurse{
false};
214 bool m_recurseHasBeenSet =
false;
217 bool m_maxBandHasBeenSet =
false;
219 int m_maxFilesInBand{0};
220 bool m_maxFilesInBandHasBeenSet =
false;
222 S3DirectSourceAdditionalOptions m_additionalOptions;
223 bool m_additionalOptionsHasBeenSet =
false;
225 long long m_numberRows{0};
226 bool m_numberRowsHasBeenSet =
false;
229 bool m_skipFooterHasBeenSet =
false;
232 bool m_outputSchemasHasBeenSet =
false;
S3ExcelSource & WithGroupFiles(GroupFilesT &&value)
S3ExcelSource & WithAdditionalOptions(AdditionalOptionsT &&value)
S3ExcelSource & WithName(NameT &&value)
bool ExclusionsHasBeenSet() const
S3ExcelSource & WithMaxBand(int value)
S3ExcelSource & WithNumberRows(long long value)
S3ExcelSource & WithGroupSize(GroupSizeT &&value)
void SetRecurse(bool value)
S3ExcelSource & WithCompressionType(ParquetCompressionType value)
void SetAdditionalOptions(AdditionalOptionsT &&value)
void SetMaxFilesInBand(int value)
void SetName(NameT &&value)
bool MaxBandHasBeenSet() const
const Aws::Vector< Aws::String > & GetPaths() const
void SetSkipFooter(int value)
bool AdditionalOptionsHasBeenSet() const
const S3DirectSourceAdditionalOptions & GetAdditionalOptions() const
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
const Aws::String & GetGroupSize() const
void SetOutputSchemas(OutputSchemasT &&value)
bool NameHasBeenSet() const
void SetCompressionType(ParquetCompressionType value)
S3ExcelSource & WithRecurse(bool value)
void SetPaths(PathsT &&value)
bool GroupSizeHasBeenSet() const
int GetMaxFilesInBand() const
bool PathsHasBeenSet() const
void SetNumberRows(long long value)
ParquetCompressionType GetCompressionType() const
bool OutputSchemasHasBeenSet() const
bool CompressionTypeHasBeenSet() const
void SetExclusions(ExclusionsT &&value)
const Aws::String & GetGroupFiles() const
bool MaxFilesInBandHasBeenSet() const
S3ExcelSource & WithOutputSchemas(OutputSchemasT &&value)
AWS_GLUE_API S3ExcelSource(Aws::Utils::Json::JsonView jsonValue)
S3ExcelSource & WithPaths(PathsT &&value)
long long GetNumberRows() const
int GetSkipFooter() const
S3ExcelSource & AddOutputSchemas(OutputSchemasT &&value)
AWS_GLUE_API S3ExcelSource()=default
S3ExcelSource & AddExclusions(ExclusionsT &&value)
S3ExcelSource & WithSkipFooter(int value)
void SetMaxBand(int value)
bool NumberRowsHasBeenSet() const
S3ExcelSource & WithExclusions(ExclusionsT &&value)
S3ExcelSource & WithMaxFilesInBand(int value)
void SetGroupSize(GroupSizeT &&value)
S3ExcelSource & AddPaths(PathsT &&value)
bool RecurseHasBeenSet() const
const Aws::String & GetName() const
AWS_GLUE_API S3ExcelSource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SkipFooterHasBeenSet() const
bool GroupFilesHasBeenSet() const
const Aws::Vector< Aws::String > & GetExclusions() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroupFiles(GroupFilesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue