AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSep(const Aws::String& value) { m_sepHasBeenSet = true; m_sep = value; }
47 inline void SetSep(Aws::String&& value) { m_sepHasBeenSet = true; m_sep = std::move(value); }
48 inline void SetSep(const char* value) { m_sepHasBeenSet = true; m_sep.assign(value); }
49 inline ReadOptions& WithSep(const Aws::String& value) { SetSep(value); return *this;}
50 inline ReadOptions& WithSep(Aws::String&& value) { SetSep(std::move(value)); return *this;}
51 inline ReadOptions& WithSep(const char* value) { SetSep(value); return *this;}
53
55
58 inline const Aws::String& GetEncoding() const{ return m_encoding; }
59 inline bool EncodingHasBeenSet() const { return m_encodingHasBeenSet; }
60 inline void SetEncoding(const Aws::String& value) { m_encodingHasBeenSet = true; m_encoding = value; }
61 inline void SetEncoding(Aws::String&& value) { m_encodingHasBeenSet = true; m_encoding = std::move(value); }
62 inline void SetEncoding(const char* value) { m_encodingHasBeenSet = true; m_encoding.assign(value); }
63 inline ReadOptions& WithEncoding(const Aws::String& value) { SetEncoding(value); return *this;}
64 inline ReadOptions& WithEncoding(Aws::String&& value) { SetEncoding(std::move(value)); return *this;}
65 inline ReadOptions& WithEncoding(const char* value) { SetEncoding(value); return *this;}
67
69
72 inline const Aws::String& GetQuote() const{ return m_quote; }
73 inline bool QuoteHasBeenSet() const { return m_quoteHasBeenSet; }
74 inline void SetQuote(const Aws::String& value) { m_quoteHasBeenSet = true; m_quote = value; }
75 inline void SetQuote(Aws::String&& value) { m_quoteHasBeenSet = true; m_quote = std::move(value); }
76 inline void SetQuote(const char* value) { m_quoteHasBeenSet = true; m_quote.assign(value); }
77 inline ReadOptions& WithQuote(const Aws::String& value) { SetQuote(value); return *this;}
78 inline ReadOptions& WithQuote(Aws::String&& value) { SetQuote(std::move(value)); return *this;}
79 inline ReadOptions& WithQuote(const char* value) { SetQuote(value); return *this;}
81
83
86 inline bool GetQuoteAll() const{ return m_quoteAll; }
87 inline bool QuoteAllHasBeenSet() const { return m_quoteAllHasBeenSet; }
88 inline void SetQuoteAll(bool value) { m_quoteAllHasBeenSet = true; m_quoteAll = value; }
89 inline ReadOptions& WithQuoteAll(bool value) { SetQuoteAll(value); return *this;}
91
93
96 inline const Aws::String& GetEscape() const{ return m_escape; }
97 inline bool EscapeHasBeenSet() const { return m_escapeHasBeenSet; }
98 inline void SetEscape(const Aws::String& value) { m_escapeHasBeenSet = true; m_escape = value; }
99 inline void SetEscape(Aws::String&& value) { m_escapeHasBeenSet = true; m_escape = std::move(value); }
100 inline void SetEscape(const char* value) { m_escapeHasBeenSet = true; m_escape.assign(value); }
101 inline ReadOptions& WithEscape(const Aws::String& value) { SetEscape(value); return *this;}
102 inline ReadOptions& WithEscape(Aws::String&& value) { SetEscape(std::move(value)); return *this;}
103 inline ReadOptions& WithEscape(const char* value) { SetEscape(value); return *this;}
105
107
110 inline bool GetEscapeQuotes() const{ return m_escapeQuotes; }
111 inline bool EscapeQuotesHasBeenSet() const { return m_escapeQuotesHasBeenSet; }
112 inline void SetEscapeQuotes(bool value) { m_escapeQuotesHasBeenSet = true; m_escapeQuotes = value; }
113 inline ReadOptions& WithEscapeQuotes(bool value) { SetEscapeQuotes(value); return *this;}
115
117
120 inline const Aws::String& GetComment() const{ return m_comment; }
121 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
122 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
123 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
124 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
125 inline ReadOptions& WithComment(const Aws::String& value) { SetComment(value); return *this;}
126 inline ReadOptions& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
127 inline ReadOptions& WithComment(const char* value) { SetComment(value); return *this;}
129
131
134 inline bool GetHeader() const{ return m_header; }
135 inline bool HeaderHasBeenSet() const { return m_headerHasBeenSet; }
136 inline void SetHeader(bool value) { m_headerHasBeenSet = true; m_header = value; }
137 inline ReadOptions& WithHeader(bool value) { SetHeader(value); return *this;}
139
141
144 inline const Aws::String& GetLineSep() const{ return m_lineSep; }
145 inline bool LineSepHasBeenSet() const { return m_lineSepHasBeenSet; }
146 inline void SetLineSep(const Aws::String& value) { m_lineSepHasBeenSet = true; m_lineSep = value; }
147 inline void SetLineSep(Aws::String&& value) { m_lineSepHasBeenSet = true; m_lineSep = std::move(value); }
148 inline void SetLineSep(const char* value) { m_lineSepHasBeenSet = true; m_lineSep.assign(value); }
149 inline ReadOptions& WithLineSep(const Aws::String& value) { SetLineSep(value); return *this;}
150 inline ReadOptions& WithLineSep(Aws::String&& value) { SetLineSep(std::move(value)); return *this;}
151 inline ReadOptions& WithLineSep(const char* value) { SetLineSep(value); return *this;}
153 private:
154
155 Aws::String m_sep;
156 bool m_sepHasBeenSet = false;
157
158 Aws::String m_encoding;
159 bool m_encodingHasBeenSet = false;
160
161 Aws::String m_quote;
162 bool m_quoteHasBeenSet = false;
163
164 bool m_quoteAll;
165 bool m_quoteAllHasBeenSet = false;
166
167 Aws::String m_escape;
168 bool m_escapeHasBeenSet = false;
169
170 bool m_escapeQuotes;
171 bool m_escapeQuotesHasBeenSet = false;
172
173 Aws::String m_comment;
174 bool m_commentHasBeenSet = false;
175
176 bool m_header;
177 bool m_headerHasBeenSet = false;
178
179 Aws::String m_lineSep;
180 bool m_lineSepHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace Omics
185} // namespace Aws
ReadOptions & WithEscape(const Aws::String &value)
void SetEscape(Aws::String &&value)
Definition ReadOptions.h:99
ReadOptions & WithLineSep(const char *value)
void SetSep(Aws::String &&value)
Definition ReadOptions.h:47
ReadOptions & WithQuote(Aws::String &&value)
Definition ReadOptions.h:78
void SetEscapeQuotes(bool value)
void SetEscape(const Aws::String &value)
Definition ReadOptions.h:98
void SetComment(const Aws::String &value)
const Aws::String & GetLineSep() const
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQuote(const Aws::String &value)
Definition ReadOptions.h:74
void SetSep(const Aws::String &value)
Definition ReadOptions.h:46
ReadOptions & WithEscape(Aws::String &&value)
void SetSep(const char *value)
Definition ReadOptions.h:48
ReadOptions & WithComment(Aws::String &&value)
ReadOptions & WithHeader(bool value)
void SetEncoding(Aws::String &&value)
Definition ReadOptions.h:61
ReadOptions & WithEscapeQuotes(bool value)
ReadOptions & WithLineSep(const Aws::String &value)
ReadOptions & WithEscape(const char *value)
void SetComment(Aws::String &&value)
void SetLineSep(const Aws::String &value)
const Aws::String & GetEncoding() const
Definition ReadOptions.h:58
ReadOptions & WithSep(Aws::String &&value)
Definition ReadOptions.h:50
void SetLineSep(Aws::String &&value)
ReadOptions & WithQuoteAll(bool value)
Definition ReadOptions.h:89
const Aws::String & GetComment() const
void SetLineSep(const char *value)
ReadOptions & WithEncoding(const Aws::String &value)
Definition ReadOptions.h:63
ReadOptions & WithQuote(const Aws::String &value)
Definition ReadOptions.h:77
ReadOptions & WithQuote(const char *value)
Definition ReadOptions.h:79
const Aws::String & GetEscape() const
Definition ReadOptions.h:96
ReadOptions & WithSep(const Aws::String &value)
Definition ReadOptions.h:49
AWS_OMICS_API ReadOptions(Aws::Utils::Json::JsonView jsonValue)
void SetQuote(Aws::String &&value)
Definition ReadOptions.h:75
void SetComment(const char *value)
ReadOptions & WithEncoding(const char *value)
Definition ReadOptions.h:65
void SetEncoding(const char *value)
Definition ReadOptions.h:62
ReadOptions & WithLineSep(Aws::String &&value)
ReadOptions & WithEncoding(Aws::String &&value)
Definition ReadOptions.h:64
ReadOptions & WithSep(const char *value)
Definition ReadOptions.h:51
void SetEncoding(const Aws::String &value)
Definition ReadOptions.h:60
void SetQuote(const char *value)
Definition ReadOptions.h:76
AWS_OMICS_API ReadOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
ReadOptions & WithComment(const Aws::String &value)
ReadOptions & WithComment(const char *value)
void SetEscape(const char *value)
const Aws::String & GetSep() const
Definition ReadOptions.h:44
const Aws::String & GetQuote() const
Definition ReadOptions.h:72
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue