AWS SDK for C++  1.9.104
AWS SDK for C++
CSVInput.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Glacier
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const FileHeaderInfo& GetFileHeaderInfo() const{ return m_fileHeaderInfo; }
47 
52  inline bool FileHeaderInfoHasBeenSet() const { return m_fileHeaderInfoHasBeenSet; }
53 
58  inline void SetFileHeaderInfo(const FileHeaderInfo& value) { m_fileHeaderInfoHasBeenSet = true; m_fileHeaderInfo = value; }
59 
64  inline void SetFileHeaderInfo(FileHeaderInfo&& value) { m_fileHeaderInfoHasBeenSet = true; m_fileHeaderInfo = std::move(value); }
65 
70  inline CSVInput& WithFileHeaderInfo(const FileHeaderInfo& value) { SetFileHeaderInfo(value); return *this;}
71 
76  inline CSVInput& WithFileHeaderInfo(FileHeaderInfo&& value) { SetFileHeaderInfo(std::move(value)); return *this;}
77 
78 
83  inline const Aws::String& GetComments() const{ return m_comments; }
84 
89  inline bool CommentsHasBeenSet() const { return m_commentsHasBeenSet; }
90 
95  inline void SetComments(const Aws::String& value) { m_commentsHasBeenSet = true; m_comments = value; }
96 
101  inline void SetComments(Aws::String&& value) { m_commentsHasBeenSet = true; m_comments = std::move(value); }
102 
107  inline void SetComments(const char* value) { m_commentsHasBeenSet = true; m_comments.assign(value); }
108 
113  inline CSVInput& WithComments(const Aws::String& value) { SetComments(value); return *this;}
114 
119  inline CSVInput& WithComments(Aws::String&& value) { SetComments(std::move(value)); return *this;}
120 
125  inline CSVInput& WithComments(const char* value) { SetComments(value); return *this;}
126 
127 
132  inline const Aws::String& GetQuoteEscapeCharacter() const{ return m_quoteEscapeCharacter; }
133 
138  inline bool QuoteEscapeCharacterHasBeenSet() const { return m_quoteEscapeCharacterHasBeenSet; }
139 
144  inline void SetQuoteEscapeCharacter(const Aws::String& value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter = value; }
145 
150  inline void SetQuoteEscapeCharacter(Aws::String&& value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter = std::move(value); }
151 
156  inline void SetQuoteEscapeCharacter(const char* value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter.assign(value); }
157 
162  inline CSVInput& WithQuoteEscapeCharacter(const Aws::String& value) { SetQuoteEscapeCharacter(value); return *this;}
163 
168  inline CSVInput& WithQuoteEscapeCharacter(Aws::String&& value) { SetQuoteEscapeCharacter(std::move(value)); return *this;}
169 
174  inline CSVInput& WithQuoteEscapeCharacter(const char* value) { SetQuoteEscapeCharacter(value); return *this;}
175 
176 
180  inline const Aws::String& GetRecordDelimiter() const{ return m_recordDelimiter; }
181 
185  inline bool RecordDelimiterHasBeenSet() const { return m_recordDelimiterHasBeenSet; }
186 
190  inline void SetRecordDelimiter(const Aws::String& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = value; }
191 
195  inline void SetRecordDelimiter(Aws::String&& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = std::move(value); }
196 
200  inline void SetRecordDelimiter(const char* value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter.assign(value); }
201 
205  inline CSVInput& WithRecordDelimiter(const Aws::String& value) { SetRecordDelimiter(value); return *this;}
206 
210  inline CSVInput& WithRecordDelimiter(Aws::String&& value) { SetRecordDelimiter(std::move(value)); return *this;}
211 
215  inline CSVInput& WithRecordDelimiter(const char* value) { SetRecordDelimiter(value); return *this;}
216 
217 
222  inline const Aws::String& GetFieldDelimiter() const{ return m_fieldDelimiter; }
223 
228  inline bool FieldDelimiterHasBeenSet() const { return m_fieldDelimiterHasBeenSet; }
229 
234  inline void SetFieldDelimiter(const Aws::String& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = value; }
235 
240  inline void SetFieldDelimiter(Aws::String&& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = std::move(value); }
241 
246  inline void SetFieldDelimiter(const char* value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter.assign(value); }
247 
252  inline CSVInput& WithFieldDelimiter(const Aws::String& value) { SetFieldDelimiter(value); return *this;}
253 
258  inline CSVInput& WithFieldDelimiter(Aws::String&& value) { SetFieldDelimiter(std::move(value)); return *this;}
259 
264  inline CSVInput& WithFieldDelimiter(const char* value) { SetFieldDelimiter(value); return *this;}
265 
266 
271  inline const Aws::String& GetQuoteCharacter() const{ return m_quoteCharacter; }
272 
277  inline bool QuoteCharacterHasBeenSet() const { return m_quoteCharacterHasBeenSet; }
278 
283  inline void SetQuoteCharacter(const Aws::String& value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter = value; }
284 
289  inline void SetQuoteCharacter(Aws::String&& value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter = std::move(value); }
290 
295  inline void SetQuoteCharacter(const char* value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter.assign(value); }
296 
301  inline CSVInput& WithQuoteCharacter(const Aws::String& value) { SetQuoteCharacter(value); return *this;}
302 
307  inline CSVInput& WithQuoteCharacter(Aws::String&& value) { SetQuoteCharacter(std::move(value)); return *this;}
308 
313  inline CSVInput& WithQuoteCharacter(const char* value) { SetQuoteCharacter(value); return *this;}
314 
315  private:
316 
317  FileHeaderInfo m_fileHeaderInfo;
318  bool m_fileHeaderInfoHasBeenSet;
319 
320  Aws::String m_comments;
321  bool m_commentsHasBeenSet;
322 
323  Aws::String m_quoteEscapeCharacter;
324  bool m_quoteEscapeCharacterHasBeenSet;
325 
326  Aws::String m_recordDelimiter;
327  bool m_recordDelimiterHasBeenSet;
328 
329  Aws::String m_fieldDelimiter;
330  bool m_fieldDelimiterHasBeenSet;
331 
332  Aws::String m_quoteCharacter;
333  bool m_quoteCharacterHasBeenSet;
334  };
335 
336 } // namespace Model
337 } // namespace Glacier
338 } // namespace Aws
Aws::Glacier::Model::CSVInput::SetQuoteCharacter
void SetQuoteCharacter(Aws::String &&value)
Definition: CSVInput.h:289
Aws::Glacier::Model::CSVInput::WithRecordDelimiter
CSVInput & WithRecordDelimiter(Aws::String &&value)
Definition: CSVInput.h:210
Aws::Glacier::Model::CSVInput::SetQuoteEscapeCharacter
void SetQuoteEscapeCharacter(Aws::String &&value)
Definition: CSVInput.h:150
Aws::Glacier::Model::CSVInput::WithFieldDelimiter
CSVInput & WithFieldDelimiter(Aws::String &&value)
Definition: CSVInput.h:258
Aws::Glacier::Model::CSVInput::SetRecordDelimiter
void SetRecordDelimiter(const char *value)
Definition: CSVInput.h:200
Aws::Glacier::Model::CSVInput::QuoteCharacterHasBeenSet
bool QuoteCharacterHasBeenSet() const
Definition: CSVInput.h:277
Aws::Glacier::Model::CSVInput::WithFileHeaderInfo
CSVInput & WithFileHeaderInfo(const FileHeaderInfo &value)
Definition: CSVInput.h:70
Aws::Glacier::Model::CSVInput::GetQuoteCharacter
const Aws::String & GetQuoteCharacter() const
Definition: CSVInput.h:271
Aws::Glacier::Model::CSVInput::operator=
CSVInput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Glacier::Model::CSVInput::SetFileHeaderInfo
void SetFileHeaderInfo(FileHeaderInfo &&value)
Definition: CSVInput.h:64
Aws::Glacier::Model::CSVInput::WithQuoteEscapeCharacter
CSVInput & WithQuoteEscapeCharacter(Aws::String &&value)
Definition: CSVInput.h:168
Aws::Glacier::Model::CSVInput::WithComments
CSVInput & WithComments(const char *value)
Definition: CSVInput.h:125
Aws::Glacier::Model::CSVInput::FieldDelimiterHasBeenSet
bool FieldDelimiterHasBeenSet() const
Definition: CSVInput.h:228
Aws::Glacier::Model::CSVInput::SetComments
void SetComments(const char *value)
Definition: CSVInput.h:107
Aws::Glacier::Model::CSVInput::SetRecordDelimiter
void SetRecordDelimiter(const Aws::String &value)
Definition: CSVInput.h:190
Aws::Glacier::Model::CSVInput::WithComments
CSVInput & WithComments(const Aws::String &value)
Definition: CSVInput.h:113
Aws::Glacier::Model::CSVInput::CSVInput
CSVInput(Aws::Utils::Json::JsonView jsonValue)
Aws::Glacier::Model::CSVInput::WithRecordDelimiter
CSVInput & WithRecordDelimiter(const Aws::String &value)
Definition: CSVInput.h:205
Aws::Glacier::Model::CSVInput::GetFieldDelimiter
const Aws::String & GetFieldDelimiter() const
Definition: CSVInput.h:222
FileHeaderInfo.h
Aws::Glacier::Model::CSVInput::WithFieldDelimiter
CSVInput & WithFieldDelimiter(const Aws::String &value)
Definition: CSVInput.h:252
Aws::Glacier::Model::CSVInput::CSVInput
CSVInput()
Aws::Glacier::Model::CSVInput::WithRecordDelimiter
CSVInput & WithRecordDelimiter(const char *value)
Definition: CSVInput.h:215
Aws::Glacier::Model::CSVInput::QuoteEscapeCharacterHasBeenSet
bool QuoteEscapeCharacterHasBeenSet() const
Definition: CSVInput.h:138
Aws::Glacier::Model::CSVInput::WithQuoteCharacter
CSVInput & WithQuoteCharacter(const char *value)
Definition: CSVInput.h:313
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::CSVInput::SetFieldDelimiter
void SetFieldDelimiter(Aws::String &&value)
Definition: CSVInput.h:240
Aws::Glacier::Model::CSVInput::RecordDelimiterHasBeenSet
bool RecordDelimiterHasBeenSet() const
Definition: CSVInput.h:185
Aws::Glacier::Model::CSVInput::SetComments
void SetComments(Aws::String &&value)
Definition: CSVInput.h:101
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Glacier::Model::CSVInput::GetRecordDelimiter
const Aws::String & GetRecordDelimiter() const
Definition: CSVInput.h:180
Aws::Glacier::Model::CSVInput::SetFileHeaderInfo
void SetFileHeaderInfo(const FileHeaderInfo &value)
Definition: CSVInput.h:58
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Glacier::Model::CSVInput::SetQuoteEscapeCharacter
void SetQuoteEscapeCharacter(const Aws::String &value)
Definition: CSVInput.h:144
Aws::Glacier::Model::CSVInput::SetComments
void SetComments(const Aws::String &value)
Definition: CSVInput.h:95
Aws::Glacier::Model::CSVInput::GetFileHeaderInfo
const FileHeaderInfo & GetFileHeaderInfo() const
Definition: CSVInput.h:46
Aws::Glacier::Model::CSVInput::GetQuoteEscapeCharacter
const Aws::String & GetQuoteEscapeCharacter() const
Definition: CSVInput.h:132
Aws::Glacier::Model::CSVInput
Definition: CSVInput.h:34
Aws::Glacier::Model::CSVInput::WithFieldDelimiter
CSVInput & WithFieldDelimiter(const char *value)
Definition: CSVInput.h:264
Aws::Glacier::Model::CSVInput::SetRecordDelimiter
void SetRecordDelimiter(Aws::String &&value)
Definition: CSVInput.h:195
Aws::Glacier::Model::CSVInput::WithFileHeaderInfo
CSVInput & WithFileHeaderInfo(FileHeaderInfo &&value)
Definition: CSVInput.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::CSVInput::SetQuoteCharacter
void SetQuoteCharacter(const char *value)
Definition: CSVInput.h:295
Aws::Glacier::Model::CSVInput::WithComments
CSVInput & WithComments(Aws::String &&value)
Definition: CSVInput.h:119
Aws::Glacier::Model::FileHeaderInfo
FileHeaderInfo
Definition: FileHeaderInfo.h:17
Aws::Glacier::Model::CSVInput::WithQuoteEscapeCharacter
CSVInput & WithQuoteEscapeCharacter(const char *value)
Definition: CSVInput.h:174
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::CSVInput::SetQuoteCharacter
void SetQuoteCharacter(const Aws::String &value)
Definition: CSVInput.h:283
Aws::Glacier::Model::CSVInput::FileHeaderInfoHasBeenSet
bool FileHeaderInfoHasBeenSet() const
Definition: CSVInput.h:52
Aws::Glacier::Model::CSVInput::SetFieldDelimiter
void SetFieldDelimiter(const char *value)
Definition: CSVInput.h:246
Aws::Glacier::Model::CSVInput::CommentsHasBeenSet
bool CommentsHasBeenSet() const
Definition: CSVInput.h:89
Aws::Glacier::Model::CSVInput::WithQuoteCharacter
CSVInput & WithQuoteCharacter(const Aws::String &value)
Definition: CSVInput.h:301
Aws::Glacier::Model::CSVInput::SetQuoteEscapeCharacter
void SetQuoteEscapeCharacter(const char *value)
Definition: CSVInput.h:156
Aws::Glacier::Model::CSVInput::GetComments
const Aws::String & GetComments() const
Definition: CSVInput.h:83
Aws::Glacier::Model::CSVInput::SetFieldDelimiter
void SetFieldDelimiter(const Aws::String &value)
Definition: CSVInput.h:234
Aws::Glacier::Model::CSVInput::WithQuoteCharacter
CSVInput & WithQuoteCharacter(Aws::String &&value)
Definition: CSVInput.h:307
Aws::Glacier::Model::CSVInput::WithQuoteEscapeCharacter
CSVInput & WithQuoteEscapeCharacter(const Aws::String &value)
Definition: CSVInput.h:162
Aws::Glacier::Model::CSVInput::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Glacier_EXPORTS.h