7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/glue/model/CsvHeaderOption.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/glue/model/CsvSerdeOption.h>
53 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
89 inline void SetVersion(
long long value) { m_versionHasBeenSet =
true; m_version = value; }
101 inline void SetDelimiter(
const char* value) { m_delimiterHasBeenSet =
true; m_delimiter.assign(value); }
116 inline void SetQuoteSymbol(
const char* value) { m_quoteSymbolHasBeenSet =
true; m_quoteSymbol.assign(value); }
146 inline CsvClassifier&
AddHeader(
const char* value) { m_headerHasBeenSet =
true; m_header.push_back(value);
return *
this; }
166 inline void SetAllowSingleColumn(
bool value) { m_allowSingleColumnHasBeenSet =
true; m_allowSingleColumn = value; }
213 bool m_nameHasBeenSet =
false;
216 bool m_creationTimeHasBeenSet =
false;
219 bool m_lastUpdatedHasBeenSet =
false;
222 bool m_versionHasBeenSet =
false;
225 bool m_delimiterHasBeenSet =
false;
228 bool m_quoteSymbolHasBeenSet =
false;
231 bool m_containsHeaderHasBeenSet =
false;
234 bool m_headerHasBeenSet =
false;
236 bool m_disableValueTrimming;
237 bool m_disableValueTrimmingHasBeenSet =
false;
239 bool m_allowSingleColumn;
240 bool m_allowSingleColumnHasBeenSet =
false;
242 bool m_customDatatypeConfigured;
243 bool m_customDatatypeConfiguredHasBeenSet =
false;
246 bool m_customDatatypesHasBeenSet =
false;
249 bool m_serdeHasBeenSet =
false;
bool GetDisableValueTrimming() const
void SetDelimiter(const Aws::String &value)
void SetContainsHeader(CsvHeaderOption &&value)
const Aws::String & GetDelimiter() const
bool LastUpdatedHasBeenSet() const
AWS_GLUE_API CsvClassifier(Aws::Utils::Json::JsonView jsonValue)
long long GetVersion() const
void SetDisableValueTrimming(bool value)
CsvClassifier & AddCustomDatatypes(Aws::String &&value)
bool SerdeHasBeenSet() const
CsvClassifier & WithSerde(CsvSerdeOption &&value)
CsvClassifier & AddCustomDatatypes(const char *value)
AWS_GLUE_API CsvClassifier & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetQuoteSymbol(const char *value)
CsvClassifier & WithHeader(const Aws::Vector< Aws::String > &value)
CsvClassifier & WithCustomDatatypes(const Aws::Vector< Aws::String > &value)
void SetCustomDatatypes(Aws::Vector< Aws::String > &&value)
CsvClassifier & WithQuoteSymbol(const char *value)
const Aws::Utils::DateTime & GetLastUpdated() const
CsvClassifier & AddCustomDatatypes(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetAllowSingleColumn(bool value)
bool NameHasBeenSet() const
CsvClassifier & WithContainsHeader(const CsvHeaderOption &value)
void SetQuoteSymbol(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ContainsHeaderHasBeenSet() const
void SetVersion(long long value)
const CsvHeaderOption & GetContainsHeader() const
CsvClassifier & WithName(const Aws::String &value)
CsvClassifier & WithDelimiter(const Aws::String &value)
bool DisableValueTrimmingHasBeenSet() const
bool CreationTimeHasBeenSet() const
CsvClassifier & WithHeader(Aws::Vector< Aws::String > &&value)
CsvClassifier & WithName(Aws::String &&value)
const Aws::String & GetQuoteSymbol() const
void SetName(const Aws::String &value)
CsvClassifier & WithCustomDatatypeConfigured(bool value)
const Aws::Utils::DateTime & GetCreationTime() const
CsvClassifier & WithDisableValueTrimming(bool value)
bool AllowSingleColumnHasBeenSet() const
CsvClassifier & WithLastUpdated(Aws::Utils::DateTime &&value)
CsvClassifier & AddHeader(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
CsvClassifier & WithCustomDatatypes(Aws::Vector< Aws::String > &&value)
void SetCustomDatatypeConfigured(bool value)
void SetDelimiter(Aws::String &&value)
void SetQuoteSymbol(const Aws::String &value)
bool CustomDatatypesHasBeenSet() const
AWS_GLUE_API CsvClassifier()
void SetLastUpdated(Aws::Utils::DateTime &&value)
bool GetAllowSingleColumn() const
CsvClassifier & WithAllowSingleColumn(bool value)
void SetSerde(CsvSerdeOption &&value)
void SetSerde(const CsvSerdeOption &value)
CsvClassifier & WithQuoteSymbol(Aws::String &&value)
CsvClassifier & AddHeader(Aws::String &&value)
CsvClassifier & WithSerde(const CsvSerdeOption &value)
const Aws::Vector< Aws::String > & GetHeader() const
bool CustomDatatypeConfiguredHasBeenSet() const
CsvClassifier & WithVersion(long long value)
CsvClassifier & WithContainsHeader(CsvHeaderOption &&value)
CsvClassifier & WithCreationTime(const Aws::Utils::DateTime &value)
void SetDelimiter(const char *value)
void SetCustomDatatypes(const Aws::Vector< Aws::String > &value)
CsvClassifier & WithCreationTime(Aws::Utils::DateTime &&value)
CsvClassifier & AddHeader(const Aws::String &value)
bool DelimiterHasBeenSet() const
bool VersionHasBeenSet() const
void SetHeader(Aws::Vector< Aws::String > &&value)
CsvClassifier & WithDelimiter(const char *value)
bool QuoteSymbolHasBeenSet() const
const Aws::String & GetName() const
CsvClassifier & WithDelimiter(Aws::String &&value)
CsvClassifier & WithLastUpdated(const Aws::Utils::DateTime &value)
void SetName(Aws::String &&value)
void SetName(const char *value)
CsvClassifier & WithName(const char *value)
void SetLastUpdated(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::String > & GetCustomDatatypes() const
CsvClassifier & WithQuoteSymbol(const Aws::String &value)
void SetHeader(const Aws::Vector< Aws::String > &value)
bool GetCustomDatatypeConfigured() const
void SetContainsHeader(const CsvHeaderOption &value)
const CsvSerdeOption & GetSerde() const
bool HeaderHasBeenSet() 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