AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ReadOptions.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Omics
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_OMICS_API ReadOptions() = default;
35 AWS_OMICS_API ReadOptions(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetSep() const { return m_sep; }
45 inline bool SepHasBeenSet() const { return m_sepHasBeenSet; }
46 template<typename SepT = Aws::String>
47 void SetSep(SepT&& value) { m_sepHasBeenSet = true; m_sep = std::forward<SepT>(value); }
48 template<typename SepT = Aws::String>
49 ReadOptions& WithSep(SepT&& value) { SetSep(std::forward<SepT>(value)); return *this;}
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) { m_encodingHasBeenSet = true; m_encoding = std::forward<EncodingT>(value); }
60 template<typename EncodingT = Aws::String>
61 ReadOptions& WithEncoding(EncodingT&& value) { SetEncoding(std::forward<EncodingT>(value)); return *this;}
63
65
68 inline const Aws::String& GetQuote() const { return m_quote; }
69 inline bool QuoteHasBeenSet() const { return m_quoteHasBeenSet; }
70 template<typename QuoteT = Aws::String>
71 void SetQuote(QuoteT&& value) { m_quoteHasBeenSet = true; m_quote = std::forward<QuoteT>(value); }
72 template<typename QuoteT = Aws::String>
73 ReadOptions& WithQuote(QuoteT&& value) { SetQuote(std::forward<QuoteT>(value)); return *this;}
75
77
80 inline bool GetQuoteAll() const { return m_quoteAll; }
81 inline bool QuoteAllHasBeenSet() const { return m_quoteAllHasBeenSet; }
82 inline void SetQuoteAll(bool value) { m_quoteAllHasBeenSet = true; m_quoteAll = value; }
83 inline ReadOptions& WithQuoteAll(bool value) { SetQuoteAll(value); return *this;}
85
87
90 inline const Aws::String& GetEscape() const { return m_escape; }
91 inline bool EscapeHasBeenSet() const { return m_escapeHasBeenSet; }
92 template<typename EscapeT = Aws::String>
93 void SetEscape(EscapeT&& value) { m_escapeHasBeenSet = true; m_escape = std::forward<EscapeT>(value); }
94 template<typename EscapeT = Aws::String>
95 ReadOptions& WithEscape(EscapeT&& value) { SetEscape(std::forward<EscapeT>(value)); return *this;}
97
99
102 inline bool GetEscapeQuotes() const { return m_escapeQuotes; }
103 inline bool EscapeQuotesHasBeenSet() const { return m_escapeQuotesHasBeenSet; }
104 inline void SetEscapeQuotes(bool value) { m_escapeQuotesHasBeenSet = true; m_escapeQuotes = value; }
105 inline ReadOptions& WithEscapeQuotes(bool value) { SetEscapeQuotes(value); return *this;}
107
109
112 inline const Aws::String& GetComment() const { return m_comment; }
113 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
114 template<typename CommentT = Aws::String>
115 void SetComment(CommentT&& value) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
116 template<typename CommentT = Aws::String>
117 ReadOptions& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
119
121
124 inline bool GetHeader() const { return m_header; }
125 inline bool HeaderHasBeenSet() const { return m_headerHasBeenSet; }
126 inline void SetHeader(bool value) { m_headerHasBeenSet = true; m_header = value; }
127 inline ReadOptions& WithHeader(bool value) { SetHeader(value); return *this;}
129
131
134 inline const Aws::String& GetLineSep() const { return m_lineSep; }
135 inline bool LineSepHasBeenSet() const { return m_lineSepHasBeenSet; }
136 template<typename LineSepT = Aws::String>
137 void SetLineSep(LineSepT&& value) { m_lineSepHasBeenSet = true; m_lineSep = std::forward<LineSepT>(value); }
138 template<typename LineSepT = Aws::String>
139 ReadOptions& WithLineSep(LineSepT&& value) { SetLineSep(std::forward<LineSepT>(value)); return *this;}
141 private:
142
143 Aws::String m_sep;
144 bool m_sepHasBeenSet = false;
145
146 Aws::String m_encoding;
147 bool m_encodingHasBeenSet = false;
148
149 Aws::String m_quote;
150 bool m_quoteHasBeenSet = false;
151
152 bool m_quoteAll{false};
153 bool m_quoteAllHasBeenSet = false;
154
155 Aws::String m_escape;
156 bool m_escapeHasBeenSet = false;
157
158 bool m_escapeQuotes{false};
159 bool m_escapeQuotesHasBeenSet = false;
160
161 Aws::String m_comment;
162 bool m_commentHasBeenSet = false;
163
164 bool m_header{false};
165 bool m_headerHasBeenSet = false;
166
167 Aws::String m_lineSep;
168 bool m_lineSepHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace Omics
173} // namespace Aws
void SetQuote(QuoteT &&value)
Definition ReadOptions.h:71
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:49
void SetEscape(EscapeT &&value)
Definition ReadOptions.h:93
ReadOptions & WithQuoteAll(bool value)
Definition ReadOptions.h:83
const Aws::String & GetComment() const
ReadOptions & WithEncoding(EncodingT &&value)
Definition ReadOptions.h:61
const Aws::String & GetEscape() const
Definition ReadOptions.h:90
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:47
ReadOptions & WithEscape(EscapeT &&value)
Definition ReadOptions.h:95
ReadOptions & WithQuote(QuoteT &&value)
Definition ReadOptions.h:73
ReadOptions & WithComment(CommentT &&value)
const Aws::String & GetSep() const
Definition ReadOptions.h:44
const Aws::String & GetQuote() const
Definition ReadOptions.h:68
ReadOptions & WithLineSep(LineSepT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue