AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateCsvClassifierRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/CsvHeaderOption.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/model/CsvSerdeOption.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Glue
25{
26namespace Model
27{
28
36 {
37 public:
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline CreateCsvClassifierRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline CreateCsvClassifierRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline CreateCsvClassifierRequest& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::String& GetDelimiter() const{ return m_delimiter; }
63 inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; }
64 inline void SetDelimiter(const Aws::String& value) { m_delimiterHasBeenSet = true; m_delimiter = value; }
65 inline void SetDelimiter(Aws::String&& value) { m_delimiterHasBeenSet = true; m_delimiter = std::move(value); }
66 inline void SetDelimiter(const char* value) { m_delimiterHasBeenSet = true; m_delimiter.assign(value); }
67 inline CreateCsvClassifierRequest& WithDelimiter(const Aws::String& value) { SetDelimiter(value); return *this;}
68 inline CreateCsvClassifierRequest& WithDelimiter(Aws::String&& value) { SetDelimiter(std::move(value)); return *this;}
69 inline CreateCsvClassifierRequest& WithDelimiter(const char* value) { SetDelimiter(value); return *this;}
71
73
77 inline const Aws::String& GetQuoteSymbol() const{ return m_quoteSymbol; }
78 inline bool QuoteSymbolHasBeenSet() const { return m_quoteSymbolHasBeenSet; }
79 inline void SetQuoteSymbol(const Aws::String& value) { m_quoteSymbolHasBeenSet = true; m_quoteSymbol = value; }
80 inline void SetQuoteSymbol(Aws::String&& value) { m_quoteSymbolHasBeenSet = true; m_quoteSymbol = std::move(value); }
81 inline void SetQuoteSymbol(const char* value) { m_quoteSymbolHasBeenSet = true; m_quoteSymbol.assign(value); }
82 inline CreateCsvClassifierRequest& WithQuoteSymbol(const Aws::String& value) { SetQuoteSymbol(value); return *this;}
83 inline CreateCsvClassifierRequest& WithQuoteSymbol(Aws::String&& value) { SetQuoteSymbol(std::move(value)); return *this;}
84 inline CreateCsvClassifierRequest& WithQuoteSymbol(const char* value) { SetQuoteSymbol(value); return *this;}
86
88
91 inline const CsvHeaderOption& GetContainsHeader() const{ return m_containsHeader; }
92 inline bool ContainsHeaderHasBeenSet() const { return m_containsHeaderHasBeenSet; }
93 inline void SetContainsHeader(const CsvHeaderOption& value) { m_containsHeaderHasBeenSet = true; m_containsHeader = value; }
94 inline void SetContainsHeader(CsvHeaderOption&& value) { m_containsHeaderHasBeenSet = true; m_containsHeader = std::move(value); }
96 inline CreateCsvClassifierRequest& WithContainsHeader(CsvHeaderOption&& value) { SetContainsHeader(std::move(value)); return *this;}
98
100
103 inline const Aws::Vector<Aws::String>& GetHeader() const{ return m_header; }
104 inline bool HeaderHasBeenSet() const { return m_headerHasBeenSet; }
105 inline void SetHeader(const Aws::Vector<Aws::String>& value) { m_headerHasBeenSet = true; m_header = value; }
106 inline void SetHeader(Aws::Vector<Aws::String>&& value) { m_headerHasBeenSet = true; m_header = std::move(value); }
107 inline CreateCsvClassifierRequest& WithHeader(const Aws::Vector<Aws::String>& value) { SetHeader(value); return *this;}
108 inline CreateCsvClassifierRequest& WithHeader(Aws::Vector<Aws::String>&& value) { SetHeader(std::move(value)); return *this;}
109 inline CreateCsvClassifierRequest& AddHeader(const Aws::String& value) { m_headerHasBeenSet = true; m_header.push_back(value); return *this; }
110 inline CreateCsvClassifierRequest& AddHeader(Aws::String&& value) { m_headerHasBeenSet = true; m_header.push_back(std::move(value)); return *this; }
111 inline CreateCsvClassifierRequest& AddHeader(const char* value) { m_headerHasBeenSet = true; m_header.push_back(value); return *this; }
113
115
119 inline bool GetDisableValueTrimming() const{ return m_disableValueTrimming; }
120 inline bool DisableValueTrimmingHasBeenSet() const { return m_disableValueTrimmingHasBeenSet; }
121 inline void SetDisableValueTrimming(bool value) { m_disableValueTrimmingHasBeenSet = true; m_disableValueTrimming = value; }
124
126
129 inline bool GetAllowSingleColumn() const{ return m_allowSingleColumn; }
130 inline bool AllowSingleColumnHasBeenSet() const { return m_allowSingleColumnHasBeenSet; }
131 inline void SetAllowSingleColumn(bool value) { m_allowSingleColumnHasBeenSet = true; m_allowSingleColumn = value; }
132 inline CreateCsvClassifierRequest& WithAllowSingleColumn(bool value) { SetAllowSingleColumn(value); return *this;}
134
136
139 inline bool GetCustomDatatypeConfigured() const{ return m_customDatatypeConfigured; }
140 inline bool CustomDatatypeConfiguredHasBeenSet() const { return m_customDatatypeConfiguredHasBeenSet; }
141 inline void SetCustomDatatypeConfigured(bool value) { m_customDatatypeConfiguredHasBeenSet = true; m_customDatatypeConfigured = value; }
144
146
149 inline const Aws::Vector<Aws::String>& GetCustomDatatypes() const{ return m_customDatatypes; }
150 inline bool CustomDatatypesHasBeenSet() const { return m_customDatatypesHasBeenSet; }
151 inline void SetCustomDatatypes(const Aws::Vector<Aws::String>& value) { m_customDatatypesHasBeenSet = true; m_customDatatypes = value; }
152 inline void SetCustomDatatypes(Aws::Vector<Aws::String>&& value) { m_customDatatypesHasBeenSet = true; m_customDatatypes = std::move(value); }
155 inline CreateCsvClassifierRequest& AddCustomDatatypes(const Aws::String& value) { m_customDatatypesHasBeenSet = true; m_customDatatypes.push_back(value); return *this; }
156 inline CreateCsvClassifierRequest& AddCustomDatatypes(Aws::String&& value) { m_customDatatypesHasBeenSet = true; m_customDatatypes.push_back(std::move(value)); return *this; }
157 inline CreateCsvClassifierRequest& AddCustomDatatypes(const char* value) { m_customDatatypesHasBeenSet = true; m_customDatatypes.push_back(value); return *this; }
159
161
167 inline const CsvSerdeOption& GetSerde() const{ return m_serde; }
168 inline bool SerdeHasBeenSet() const { return m_serdeHasBeenSet; }
169 inline void SetSerde(const CsvSerdeOption& value) { m_serdeHasBeenSet = true; m_serde = value; }
170 inline void SetSerde(CsvSerdeOption&& value) { m_serdeHasBeenSet = true; m_serde = std::move(value); }
171 inline CreateCsvClassifierRequest& WithSerde(const CsvSerdeOption& value) { SetSerde(value); return *this;}
172 inline CreateCsvClassifierRequest& WithSerde(CsvSerdeOption&& value) { SetSerde(std::move(value)); return *this;}
174 private:
175
176 Aws::String m_name;
177 bool m_nameHasBeenSet = false;
178
179 Aws::String m_delimiter;
180 bool m_delimiterHasBeenSet = false;
181
182 Aws::String m_quoteSymbol;
183 bool m_quoteSymbolHasBeenSet = false;
184
185 CsvHeaderOption m_containsHeader;
186 bool m_containsHeaderHasBeenSet = false;
187
189 bool m_headerHasBeenSet = false;
190
191 bool m_disableValueTrimming;
192 bool m_disableValueTrimmingHasBeenSet = false;
193
194 bool m_allowSingleColumn;
195 bool m_allowSingleColumnHasBeenSet = false;
196
197 bool m_customDatatypeConfigured;
198 bool m_customDatatypeConfiguredHasBeenSet = false;
199
200 Aws::Vector<Aws::String> m_customDatatypes;
201 bool m_customDatatypesHasBeenSet = false;
202
203 CsvSerdeOption m_serde;
204 bool m_serdeHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace Glue
209} // namespace Aws
CreateCsvClassifierRequest & WithCustomDatatypeConfigured(bool value)
void SetHeader(Aws::Vector< Aws::String > &&value)
CreateCsvClassifierRequest & WithDelimiter(Aws::String &&value)
CreateCsvClassifierRequest & WithName(const Aws::String &value)
CreateCsvClassifierRequest & WithAllowSingleColumn(bool value)
void SetContainsHeader(const CsvHeaderOption &value)
CreateCsvClassifierRequest & WithDelimiter(const char *value)
void SetHeader(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetCustomDatatypes() const
void SetCustomDatatypes(const Aws::Vector< Aws::String > &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
CreateCsvClassifierRequest & WithCustomDatatypes(Aws::Vector< Aws::String > &&value)
CreateCsvClassifierRequest & WithHeader(Aws::Vector< Aws::String > &&value)
CreateCsvClassifierRequest & WithContainsHeader(CsvHeaderOption &&value)
CreateCsvClassifierRequest & WithSerde(CsvSerdeOption &&value)
CreateCsvClassifierRequest & WithDisableValueTrimming(bool value)
const Aws::Vector< Aws::String > & GetHeader() const
CreateCsvClassifierRequest & AddHeader(const Aws::String &value)
AWS_GLUE_API CreateCsvClassifierRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateCsvClassifierRequest & WithSerde(const CsvSerdeOption &value)
CreateCsvClassifierRequest & AddCustomDatatypes(const Aws::String &value)
CreateCsvClassifierRequest & WithContainsHeader(const CsvHeaderOption &value)
CreateCsvClassifierRequest & WithQuoteSymbol(const char *value)
CreateCsvClassifierRequest & WithName(Aws::String &&value)
CreateCsvClassifierRequest & AddCustomDatatypes(const char *value)
CreateCsvClassifierRequest & WithCustomDatatypes(const Aws::Vector< Aws::String > &value)
AWS_GLUE_API CreateCsvClassifierRequest(Aws::Utils::Json::JsonView jsonValue)
CreateCsvClassifierRequest & WithQuoteSymbol(Aws::String &&value)
CreateCsvClassifierRequest & WithHeader(const Aws::Vector< Aws::String > &value)
CreateCsvClassifierRequest & AddHeader(Aws::String &&value)
CreateCsvClassifierRequest & AddCustomDatatypes(Aws::String &&value)
CreateCsvClassifierRequest & WithName(const char *value)
void SetCustomDatatypes(Aws::Vector< Aws::String > &&value)
CreateCsvClassifierRequest & WithQuoteSymbol(const Aws::String &value)
CreateCsvClassifierRequest & AddHeader(const char *value)
CreateCsvClassifierRequest & WithDelimiter(const Aws::String &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