AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CSVInput.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/glacier/model/FileHeaderInfo.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glacier
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLACIER_API CSVInput();
37 AWS_GLACIER_API CSVInput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GLACIER_API CSVInput& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const FileHeaderInfo& GetFileHeaderInfo() const{ return m_fileHeaderInfo; }
48 inline bool FileHeaderInfoHasBeenSet() const { return m_fileHeaderInfoHasBeenSet; }
49 inline void SetFileHeaderInfo(const FileHeaderInfo& value) { m_fileHeaderInfoHasBeenSet = true; m_fileHeaderInfo = value; }
50 inline void SetFileHeaderInfo(FileHeaderInfo&& value) { m_fileHeaderInfoHasBeenSet = true; m_fileHeaderInfo = std::move(value); }
51 inline CSVInput& WithFileHeaderInfo(const FileHeaderInfo& value) { SetFileHeaderInfo(value); return *this;}
52 inline CSVInput& WithFileHeaderInfo(FileHeaderInfo&& value) { SetFileHeaderInfo(std::move(value)); return *this;}
54
56
60 inline const Aws::String& GetComments() const{ return m_comments; }
61 inline bool CommentsHasBeenSet() const { return m_commentsHasBeenSet; }
62 inline void SetComments(const Aws::String& value) { m_commentsHasBeenSet = true; m_comments = value; }
63 inline void SetComments(Aws::String&& value) { m_commentsHasBeenSet = true; m_comments = std::move(value); }
64 inline void SetComments(const char* value) { m_commentsHasBeenSet = true; m_comments.assign(value); }
65 inline CSVInput& WithComments(const Aws::String& value) { SetComments(value); return *this;}
66 inline CSVInput& WithComments(Aws::String&& value) { SetComments(std::move(value)); return *this;}
67 inline CSVInput& WithComments(const char* value) { SetComments(value); return *this;}
69
71
75 inline const Aws::String& GetQuoteEscapeCharacter() const{ return m_quoteEscapeCharacter; }
76 inline bool QuoteEscapeCharacterHasBeenSet() const { return m_quoteEscapeCharacterHasBeenSet; }
77 inline void SetQuoteEscapeCharacter(const Aws::String& value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter = value; }
78 inline void SetQuoteEscapeCharacter(Aws::String&& value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter = std::move(value); }
79 inline void SetQuoteEscapeCharacter(const char* value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter.assign(value); }
80 inline CSVInput& WithQuoteEscapeCharacter(const Aws::String& value) { SetQuoteEscapeCharacter(value); return *this;}
81 inline CSVInput& WithQuoteEscapeCharacter(Aws::String&& value) { SetQuoteEscapeCharacter(std::move(value)); return *this;}
82 inline CSVInput& WithQuoteEscapeCharacter(const char* value) { SetQuoteEscapeCharacter(value); return *this;}
84
86
89 inline const Aws::String& GetRecordDelimiter() const{ return m_recordDelimiter; }
90 inline bool RecordDelimiterHasBeenSet() const { return m_recordDelimiterHasBeenSet; }
91 inline void SetRecordDelimiter(const Aws::String& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = value; }
92 inline void SetRecordDelimiter(Aws::String&& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = std::move(value); }
93 inline void SetRecordDelimiter(const char* value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter.assign(value); }
94 inline CSVInput& WithRecordDelimiter(const Aws::String& value) { SetRecordDelimiter(value); return *this;}
95 inline CSVInput& WithRecordDelimiter(Aws::String&& value) { SetRecordDelimiter(std::move(value)); return *this;}
96 inline CSVInput& WithRecordDelimiter(const char* value) { SetRecordDelimiter(value); return *this;}
98
100
104 inline const Aws::String& GetFieldDelimiter() const{ return m_fieldDelimiter; }
105 inline bool FieldDelimiterHasBeenSet() const { return m_fieldDelimiterHasBeenSet; }
106 inline void SetFieldDelimiter(const Aws::String& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = value; }
107 inline void SetFieldDelimiter(Aws::String&& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = std::move(value); }
108 inline void SetFieldDelimiter(const char* value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter.assign(value); }
109 inline CSVInput& WithFieldDelimiter(const Aws::String& value) { SetFieldDelimiter(value); return *this;}
110 inline CSVInput& WithFieldDelimiter(Aws::String&& value) { SetFieldDelimiter(std::move(value)); return *this;}
111 inline CSVInput& WithFieldDelimiter(const char* value) { SetFieldDelimiter(value); return *this;}
113
115
119 inline const Aws::String& GetQuoteCharacter() const{ return m_quoteCharacter; }
120 inline bool QuoteCharacterHasBeenSet() const { return m_quoteCharacterHasBeenSet; }
121 inline void SetQuoteCharacter(const Aws::String& value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter = value; }
122 inline void SetQuoteCharacter(Aws::String&& value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter = std::move(value); }
123 inline void SetQuoteCharacter(const char* value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter.assign(value); }
124 inline CSVInput& WithQuoteCharacter(const Aws::String& value) { SetQuoteCharacter(value); return *this;}
125 inline CSVInput& WithQuoteCharacter(Aws::String&& value) { SetQuoteCharacter(std::move(value)); return *this;}
126 inline CSVInput& WithQuoteCharacter(const char* value) { SetQuoteCharacter(value); return *this;}
128 private:
129
130 FileHeaderInfo m_fileHeaderInfo;
131 bool m_fileHeaderInfoHasBeenSet = false;
132
133 Aws::String m_comments;
134 bool m_commentsHasBeenSet = false;
135
136 Aws::String m_quoteEscapeCharacter;
137 bool m_quoteEscapeCharacterHasBeenSet = false;
138
139 Aws::String m_recordDelimiter;
140 bool m_recordDelimiterHasBeenSet = false;
141
142 Aws::String m_fieldDelimiter;
143 bool m_fieldDelimiterHasBeenSet = false;
144
145 Aws::String m_quoteCharacter;
146 bool m_quoteCharacterHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace Glacier
151} // namespace Aws
bool QuoteEscapeCharacterHasBeenSet() const
Definition CSVInput.h:76
const Aws::String & GetFieldDelimiter() const
Definition CSVInput.h:104
CSVInput & WithComments(const char *value)
Definition CSVInput.h:67
CSVInput & WithRecordDelimiter(const char *value)
Definition CSVInput.h:96
void SetQuoteCharacter(Aws::String &&value)
Definition CSVInput.h:122
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
CSVInput & WithComments(Aws::String &&value)
Definition CSVInput.h:66
void SetQuoteEscapeCharacter(const char *value)
Definition CSVInput.h:79
void SetComments(Aws::String &&value)
Definition CSVInput.h:63
CSVInput & WithQuoteCharacter(const Aws::String &value)
Definition CSVInput.h:124
AWS_GLACIER_API CSVInput(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRecordDelimiter() const
Definition CSVInput.h:89
const Aws::String & GetQuoteCharacter() const
Definition CSVInput.h:119
CSVInput & WithFieldDelimiter(const Aws::String &value)
Definition CSVInput.h:109
void SetQuoteEscapeCharacter(Aws::String &&value)
Definition CSVInput.h:78
CSVInput & WithQuoteEscapeCharacter(const Aws::String &value)
Definition CSVInput.h:80
void SetComments(const char *value)
Definition CSVInput.h:64
CSVInput & WithRecordDelimiter(Aws::String &&value)
Definition CSVInput.h:95
CSVInput & WithComments(const Aws::String &value)
Definition CSVInput.h:65
AWS_GLACIER_API CSVInput()
void SetFieldDelimiter(Aws::String &&value)
Definition CSVInput.h:107
void SetQuoteEscapeCharacter(const Aws::String &value)
Definition CSVInput.h:77
bool CommentsHasBeenSet() const
Definition CSVInput.h:61
bool FileHeaderInfoHasBeenSet() const
Definition CSVInput.h:48
bool RecordDelimiterHasBeenSet() const
Definition CSVInput.h:90
CSVInput & WithQuoteCharacter(const char *value)
Definition CSVInput.h:126
void SetFieldDelimiter(const Aws::String &value)
Definition CSVInput.h:106
bool FieldDelimiterHasBeenSet() const
Definition CSVInput.h:105
CSVInput & WithRecordDelimiter(const Aws::String &value)
Definition CSVInput.h:94
AWS_GLACIER_API CSVInput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRecordDelimiter(Aws::String &&value)
Definition CSVInput.h:92
void SetRecordDelimiter(const Aws::String &value)
Definition CSVInput.h:91
CSVInput & WithFieldDelimiter(Aws::String &&value)
Definition CSVInput.h:110
void SetFileHeaderInfo(FileHeaderInfo &&value)
Definition CSVInput.h:50
const Aws::String & GetQuoteEscapeCharacter() const
Definition CSVInput.h:75
void SetComments(const Aws::String &value)
Definition CSVInput.h:62
void SetQuoteCharacter(const char *value)
Definition CSVInput.h:123
CSVInput & WithFieldDelimiter(const char *value)
Definition CSVInput.h:111
bool QuoteCharacterHasBeenSet() const
Definition CSVInput.h:120
const Aws::String & GetComments() const
Definition CSVInput.h:60
CSVInput & WithQuoteEscapeCharacter(Aws::String &&value)
Definition CSVInput.h:81
const FileHeaderInfo & GetFileHeaderInfo() const
Definition CSVInput.h:47
CSVInput & WithQuoteEscapeCharacter(const char *value)
Definition CSVInput.h:82
CSVInput & WithFileHeaderInfo(const FileHeaderInfo &value)
Definition CSVInput.h:51
void SetQuoteCharacter(const Aws::String &value)
Definition CSVInput.h:121
CSVInput & WithQuoteCharacter(Aws::String &&value)
Definition CSVInput.h:125
void SetFieldDelimiter(const char *value)
Definition CSVInput.h:108
void SetRecordDelimiter(const char *value)
Definition CSVInput.h:93
void SetFileHeaderInfo(const FileHeaderInfo &value)
Definition CSVInput.h:49
CSVInput & WithFileHeaderInfo(FileHeaderInfo &&value)
Definition CSVInput.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue