AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateCsvClassifierRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/CsvHeaderOption.h>
11#include <aws/glue/model/CsvSerdeOption.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue {
23namespace Model {
24
32 public:
33 AWS_GLUE_API UpdateCsvClassifierRequest() = default;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetDelimiter() const { return m_delimiter; }
61 inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; }
62 template <typename DelimiterT = Aws::String>
63 void SetDelimiter(DelimiterT&& value) {
64 m_delimiterHasBeenSet = true;
65 m_delimiter = std::forward<DelimiterT>(value);
66 }
67 template <typename DelimiterT = Aws::String>
69 SetDelimiter(std::forward<DelimiterT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetQuoteSymbol() const { return m_quoteSymbol; }
80 inline bool QuoteSymbolHasBeenSet() const { return m_quoteSymbolHasBeenSet; }
81 template <typename QuoteSymbolT = Aws::String>
82 void SetQuoteSymbol(QuoteSymbolT&& value) {
83 m_quoteSymbolHasBeenSet = true;
84 m_quoteSymbol = std::forward<QuoteSymbolT>(value);
85 }
86 template <typename QuoteSymbolT = Aws::String>
88 SetQuoteSymbol(std::forward<QuoteSymbolT>(value));
89 return *this;
90 }
92
94
97 inline CsvHeaderOption GetContainsHeader() const { return m_containsHeader; }
98 inline bool ContainsHeaderHasBeenSet() const { return m_containsHeaderHasBeenSet; }
100 m_containsHeaderHasBeenSet = true;
101 m_containsHeader = value;
102 }
104 SetContainsHeader(value);
105 return *this;
106 }
108
110
113 inline const Aws::Vector<Aws::String>& GetHeader() const { return m_header; }
114 inline bool HeaderHasBeenSet() const { return m_headerHasBeenSet; }
115 template <typename HeaderT = Aws::Vector<Aws::String>>
116 void SetHeader(HeaderT&& value) {
117 m_headerHasBeenSet = true;
118 m_header = std::forward<HeaderT>(value);
119 }
120 template <typename HeaderT = Aws::Vector<Aws::String>>
122 SetHeader(std::forward<HeaderT>(value));
123 return *this;
124 }
125 template <typename HeaderT = Aws::String>
127 m_headerHasBeenSet = true;
128 m_header.emplace_back(std::forward<HeaderT>(value));
129 return *this;
130 }
132
134
138 inline bool GetDisableValueTrimming() const { return m_disableValueTrimming; }
139 inline bool DisableValueTrimmingHasBeenSet() const { return m_disableValueTrimmingHasBeenSet; }
140 inline void SetDisableValueTrimming(bool value) {
141 m_disableValueTrimmingHasBeenSet = true;
142 m_disableValueTrimming = value;
143 }
146 return *this;
147 }
149
151
154 inline bool GetAllowSingleColumn() const { return m_allowSingleColumn; }
155 inline bool AllowSingleColumnHasBeenSet() const { return m_allowSingleColumnHasBeenSet; }
156 inline void SetAllowSingleColumn(bool value) {
157 m_allowSingleColumnHasBeenSet = true;
158 m_allowSingleColumn = value;
159 }
162 return *this;
163 }
165
167
170 inline bool GetCustomDatatypeConfigured() const { return m_customDatatypeConfigured; }
171 inline bool CustomDatatypeConfiguredHasBeenSet() const { return m_customDatatypeConfiguredHasBeenSet; }
172 inline void SetCustomDatatypeConfigured(bool value) {
173 m_customDatatypeConfiguredHasBeenSet = true;
174 m_customDatatypeConfigured = value;
175 }
178 return *this;
179 }
181
183
186 inline const Aws::Vector<Aws::String>& GetCustomDatatypes() const { return m_customDatatypes; }
187 inline bool CustomDatatypesHasBeenSet() const { return m_customDatatypesHasBeenSet; }
188 template <typename CustomDatatypesT = Aws::Vector<Aws::String>>
189 void SetCustomDatatypes(CustomDatatypesT&& value) {
190 m_customDatatypesHasBeenSet = true;
191 m_customDatatypes = std::forward<CustomDatatypesT>(value);
192 }
193 template <typename CustomDatatypesT = Aws::Vector<Aws::String>>
195 SetCustomDatatypes(std::forward<CustomDatatypesT>(value));
196 return *this;
197 }
198 template <typename CustomDatatypesT = Aws::String>
200 m_customDatatypesHasBeenSet = true;
201 m_customDatatypes.emplace_back(std::forward<CustomDatatypesT>(value));
202 return *this;
203 }
205
207
213 inline CsvSerdeOption GetSerde() const { return m_serde; }
214 inline bool SerdeHasBeenSet() const { return m_serdeHasBeenSet; }
215 inline void SetSerde(CsvSerdeOption value) {
216 m_serdeHasBeenSet = true;
217 m_serde = value;
218 }
220 SetSerde(value);
221 return *this;
222 }
224 private:
225 Aws::String m_name;
226
227 Aws::String m_delimiter;
228
229 Aws::String m_quoteSymbol;
230
232
234
235 bool m_disableValueTrimming{false};
236
237 bool m_allowSingleColumn{false};
238
239 bool m_customDatatypeConfigured{false};
240
241 Aws::Vector<Aws::String> m_customDatatypes;
242
244 bool m_nameHasBeenSet = false;
245 bool m_delimiterHasBeenSet = false;
246 bool m_quoteSymbolHasBeenSet = false;
247 bool m_containsHeaderHasBeenSet = false;
248 bool m_headerHasBeenSet = false;
249 bool m_disableValueTrimmingHasBeenSet = false;
250 bool m_allowSingleColumnHasBeenSet = false;
251 bool m_customDatatypeConfiguredHasBeenSet = false;
252 bool m_customDatatypesHasBeenSet = false;
253 bool m_serdeHasBeenSet = false;
254};
255
256} // namespace Model
257} // namespace Glue
258} // namespace Aws
AWS_GLUE_API UpdateCsvClassifierRequest(Aws::Utils::Json::JsonView jsonValue)
UpdateCsvClassifierRequest & WithCustomDatatypes(CustomDatatypesT &&value)
UpdateCsvClassifierRequest & AddCustomDatatypes(CustomDatatypesT &&value)
UpdateCsvClassifierRequest & WithContainsHeader(CsvHeaderOption value)
UpdateCsvClassifierRequest & AddHeader(HeaderT &&value)
UpdateCsvClassifierRequest & WithHeader(HeaderT &&value)
UpdateCsvClassifierRequest & WithAllowSingleColumn(bool value)
AWS_GLUE_API UpdateCsvClassifierRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateCsvClassifierRequest & WithQuoteSymbol(QuoteSymbolT &&value)
UpdateCsvClassifierRequest & WithDelimiter(DelimiterT &&value)
const Aws::Vector< Aws::String > & GetCustomDatatypes() const
UpdateCsvClassifierRequest & WithSerde(CsvSerdeOption value)
const Aws::Vector< Aws::String > & GetHeader() const
UpdateCsvClassifierRequest & WithCustomDatatypeConfigured(bool value)
AWS_GLUE_API UpdateCsvClassifierRequest()=default
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateCsvClassifierRequest & WithName(NameT &&value)
UpdateCsvClassifierRequest & WithDisableValueTrimming(bool 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