AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ReadOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/omics/Omics_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Omics {
20namespace Model {
21
28 public:
29 AWS_OMICS_API ReadOptions() = default;
30 AWS_OMICS_API ReadOptions(Aws::Utils::Json::JsonView jsonValue);
32 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetSep() const { return m_sep; }
39 inline bool SepHasBeenSet() const { return m_sepHasBeenSet; }
40 template <typename SepT = Aws::String>
41 void SetSep(SepT&& value) {
42 m_sepHasBeenSet = true;
43 m_sep = std::forward<SepT>(value);
44 }
45 template <typename SepT = Aws::String>
46 ReadOptions& WithSep(SepT&& value) {
47 SetSep(std::forward<SepT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetEncoding() const { return m_encoding; }
57 inline bool EncodingHasBeenSet() const { return m_encodingHasBeenSet; }
58 template <typename EncodingT = Aws::String>
59 void SetEncoding(EncodingT&& value) {
60 m_encodingHasBeenSet = true;
61 m_encoding = std::forward<EncodingT>(value);
62 }
63 template <typename EncodingT = Aws::String>
64 ReadOptions& WithEncoding(EncodingT&& value) {
65 SetEncoding(std::forward<EncodingT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetQuote() const { return m_quote; }
75 inline bool QuoteHasBeenSet() const { return m_quoteHasBeenSet; }
76 template <typename QuoteT = Aws::String>
77 void SetQuote(QuoteT&& value) {
78 m_quoteHasBeenSet = true;
79 m_quote = std::forward<QuoteT>(value);
80 }
81 template <typename QuoteT = Aws::String>
82 ReadOptions& WithQuote(QuoteT&& value) {
83 SetQuote(std::forward<QuoteT>(value));
84 return *this;
85 }
87
89
92 inline bool GetQuoteAll() const { return m_quoteAll; }
93 inline bool QuoteAllHasBeenSet() const { return m_quoteAllHasBeenSet; }
94 inline void SetQuoteAll(bool value) {
95 m_quoteAllHasBeenSet = true;
96 m_quoteAll = value;
97 }
98 inline ReadOptions& WithQuoteAll(bool value) {
99 SetQuoteAll(value);
100 return *this;
101 }
103
105
108 inline const Aws::String& GetEscape() const { return m_escape; }
109 inline bool EscapeHasBeenSet() const { return m_escapeHasBeenSet; }
110 template <typename EscapeT = Aws::String>
111 void SetEscape(EscapeT&& value) {
112 m_escapeHasBeenSet = true;
113 m_escape = std::forward<EscapeT>(value);
114 }
115 template <typename EscapeT = Aws::String>
116 ReadOptions& WithEscape(EscapeT&& value) {
117 SetEscape(std::forward<EscapeT>(value));
118 return *this;
119 }
121
123
126 inline bool GetEscapeQuotes() const { return m_escapeQuotes; }
127 inline bool EscapeQuotesHasBeenSet() const { return m_escapeQuotesHasBeenSet; }
128 inline void SetEscapeQuotes(bool value) {
129 m_escapeQuotesHasBeenSet = true;
130 m_escapeQuotes = value;
131 }
132 inline ReadOptions& WithEscapeQuotes(bool value) {
133 SetEscapeQuotes(value);
134 return *this;
135 }
137
139
142 inline const Aws::String& GetComment() const { return m_comment; }
143 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
144 template <typename CommentT = Aws::String>
145 void SetComment(CommentT&& value) {
146 m_commentHasBeenSet = true;
147 m_comment = std::forward<CommentT>(value);
148 }
149 template <typename CommentT = Aws::String>
150 ReadOptions& WithComment(CommentT&& value) {
151 SetComment(std::forward<CommentT>(value));
152 return *this;
153 }
155
157
160 inline bool GetHeader() const { return m_header; }
161 inline bool HeaderHasBeenSet() const { return m_headerHasBeenSet; }
162 inline void SetHeader(bool value) {
163 m_headerHasBeenSet = true;
164 m_header = value;
165 }
166 inline ReadOptions& WithHeader(bool value) {
167 SetHeader(value);
168 return *this;
169 }
171
173
176 inline const Aws::String& GetLineSep() const { return m_lineSep; }
177 inline bool LineSepHasBeenSet() const { return m_lineSepHasBeenSet; }
178 template <typename LineSepT = Aws::String>
179 void SetLineSep(LineSepT&& value) {
180 m_lineSepHasBeenSet = true;
181 m_lineSep = std::forward<LineSepT>(value);
182 }
183 template <typename LineSepT = Aws::String>
184 ReadOptions& WithLineSep(LineSepT&& value) {
185 SetLineSep(std::forward<LineSepT>(value));
186 return *this;
187 }
189 private:
190 Aws::String m_sep;
191
192 Aws::String m_encoding;
193
194 Aws::String m_quote;
195
196 bool m_quoteAll{false};
197
198 Aws::String m_escape;
199
200 bool m_escapeQuotes{false};
201
202 Aws::String m_comment;
203
204 bool m_header{false};
205
206 Aws::String m_lineSep;
207 bool m_sepHasBeenSet = false;
208 bool m_encodingHasBeenSet = false;
209 bool m_quoteHasBeenSet = false;
210 bool m_quoteAllHasBeenSet = false;
211 bool m_escapeHasBeenSet = false;
212 bool m_escapeQuotesHasBeenSet = false;
213 bool m_commentHasBeenSet = false;
214 bool m_headerHasBeenSet = false;
215 bool m_lineSepHasBeenSet = false;
216};
217
218} // namespace Model
219} // namespace Omics
220} // namespace Aws
void SetQuote(QuoteT &&value)
Definition ReadOptions.h:77
void SetEscapeQuotes(bool value)
const Aws::String & GetLineSep() const
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLineSep(LineSepT &&value)
ReadOptions & WithHeader(bool value)
ReadOptions & WithEscapeQuotes(bool value)
const Aws::String & GetEncoding() const
Definition ReadOptions.h:56
ReadOptions & WithSep(SepT &&value)
Definition ReadOptions.h:46
void SetEscape(EscapeT &&value)
ReadOptions & WithQuoteAll(bool value)
Definition ReadOptions.h:98
const Aws::String & GetComment() const
ReadOptions & WithEncoding(EncodingT &&value)
Definition ReadOptions.h:64
const Aws::String & GetEscape() const
void SetComment(CommentT &&value)
void SetEncoding(EncodingT &&value)
Definition ReadOptions.h:59
AWS_OMICS_API ReadOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_OMICS_API ReadOptions()=default
AWS_OMICS_API ReadOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSep(SepT &&value)
Definition ReadOptions.h:41
ReadOptions & WithEscape(EscapeT &&value)
ReadOptions & WithQuote(QuoteT &&value)
Definition ReadOptions.h:82
ReadOptions & WithComment(CommentT &&value)
const Aws::String & GetSep() const
Definition ReadOptions.h:38
const Aws::String & GetQuote() const
Definition ReadOptions.h:74
ReadOptions & WithLineSep(LineSepT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue