AWS SDK for C++  1.9.104
AWS SDK for C++
CSVOutput.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 QuoteFields& GetQuoteFields() const{ return m_quoteFields; }
47 
52  inline bool QuoteFieldsHasBeenSet() const { return m_quoteFieldsHasBeenSet; }
53 
58  inline void SetQuoteFields(const QuoteFields& value) { m_quoteFieldsHasBeenSet = true; m_quoteFields = value; }
59 
64  inline void SetQuoteFields(QuoteFields&& value) { m_quoteFieldsHasBeenSet = true; m_quoteFields = std::move(value); }
65 
70  inline CSVOutput& WithQuoteFields(const QuoteFields& value) { SetQuoteFields(value); return *this;}
71 
76  inline CSVOutput& WithQuoteFields(QuoteFields&& value) { SetQuoteFields(std::move(value)); return *this;}
77 
78 
83  inline const Aws::String& GetQuoteEscapeCharacter() const{ return m_quoteEscapeCharacter; }
84 
89  inline bool QuoteEscapeCharacterHasBeenSet() const { return m_quoteEscapeCharacterHasBeenSet; }
90 
95  inline void SetQuoteEscapeCharacter(const Aws::String& value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter = value; }
96 
101  inline void SetQuoteEscapeCharacter(Aws::String&& value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter = std::move(value); }
102 
107  inline void SetQuoteEscapeCharacter(const char* value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter.assign(value); }
108 
113  inline CSVOutput& WithQuoteEscapeCharacter(const Aws::String& value) { SetQuoteEscapeCharacter(value); return *this;}
114 
119  inline CSVOutput& WithQuoteEscapeCharacter(Aws::String&& value) { SetQuoteEscapeCharacter(std::move(value)); return *this;}
120 
125  inline CSVOutput& WithQuoteEscapeCharacter(const char* value) { SetQuoteEscapeCharacter(value); return *this;}
126 
127 
131  inline const Aws::String& GetRecordDelimiter() const{ return m_recordDelimiter; }
132 
136  inline bool RecordDelimiterHasBeenSet() const { return m_recordDelimiterHasBeenSet; }
137 
141  inline void SetRecordDelimiter(const Aws::String& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = value; }
142 
146  inline void SetRecordDelimiter(Aws::String&& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = std::move(value); }
147 
151  inline void SetRecordDelimiter(const char* value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter.assign(value); }
152 
156  inline CSVOutput& WithRecordDelimiter(const Aws::String& value) { SetRecordDelimiter(value); return *this;}
157 
161  inline CSVOutput& WithRecordDelimiter(Aws::String&& value) { SetRecordDelimiter(std::move(value)); return *this;}
162 
166  inline CSVOutput& WithRecordDelimiter(const char* value) { SetRecordDelimiter(value); return *this;}
167 
168 
173  inline const Aws::String& GetFieldDelimiter() const{ return m_fieldDelimiter; }
174 
179  inline bool FieldDelimiterHasBeenSet() const { return m_fieldDelimiterHasBeenSet; }
180 
185  inline void SetFieldDelimiter(const Aws::String& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = value; }
186 
191  inline void SetFieldDelimiter(Aws::String&& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = std::move(value); }
192 
197  inline void SetFieldDelimiter(const char* value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter.assign(value); }
198 
203  inline CSVOutput& WithFieldDelimiter(const Aws::String& value) { SetFieldDelimiter(value); return *this;}
204 
209  inline CSVOutput& WithFieldDelimiter(Aws::String&& value) { SetFieldDelimiter(std::move(value)); return *this;}
210 
215  inline CSVOutput& WithFieldDelimiter(const char* value) { SetFieldDelimiter(value); return *this;}
216 
217 
222  inline const Aws::String& GetQuoteCharacter() const{ return m_quoteCharacter; }
223 
228  inline bool QuoteCharacterHasBeenSet() const { return m_quoteCharacterHasBeenSet; }
229 
234  inline void SetQuoteCharacter(const Aws::String& value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter = value; }
235 
240  inline void SetQuoteCharacter(Aws::String&& value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter = std::move(value); }
241 
246  inline void SetQuoteCharacter(const char* value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter.assign(value); }
247 
252  inline CSVOutput& WithQuoteCharacter(const Aws::String& value) { SetQuoteCharacter(value); return *this;}
253 
258  inline CSVOutput& WithQuoteCharacter(Aws::String&& value) { SetQuoteCharacter(std::move(value)); return *this;}
259 
264  inline CSVOutput& WithQuoteCharacter(const char* value) { SetQuoteCharacter(value); return *this;}
265 
266  private:
267 
268  QuoteFields m_quoteFields;
269  bool m_quoteFieldsHasBeenSet;
270 
271  Aws::String m_quoteEscapeCharacter;
272  bool m_quoteEscapeCharacterHasBeenSet;
273 
274  Aws::String m_recordDelimiter;
275  bool m_recordDelimiterHasBeenSet;
276 
277  Aws::String m_fieldDelimiter;
278  bool m_fieldDelimiterHasBeenSet;
279 
280  Aws::String m_quoteCharacter;
281  bool m_quoteCharacterHasBeenSet;
282  };
283 
284 } // namespace Model
285 } // namespace Glacier
286 } // namespace Aws
Aws::Glacier::Model::CSVOutput::WithFieldDelimiter
CSVOutput & WithFieldDelimiter(Aws::String &&value)
Definition: CSVOutput.h:209
Aws::Glacier::Model::CSVOutput::RecordDelimiterHasBeenSet
bool RecordDelimiterHasBeenSet() const
Definition: CSVOutput.h:136
Aws::Glacier::Model::CSVOutput::GetRecordDelimiter
const Aws::String & GetRecordDelimiter() const
Definition: CSVOutput.h:131
Aws::Glacier::Model::CSVOutput::GetQuoteFields
const QuoteFields & GetQuoteFields() const
Definition: CSVOutput.h:46
Aws::Glacier::Model::CSVOutput::WithFieldDelimiter
CSVOutput & WithFieldDelimiter(const char *value)
Definition: CSVOutput.h:215
Aws::Glacier::Model::CSVOutput::SetFieldDelimiter
void SetFieldDelimiter(Aws::String &&value)
Definition: CSVOutput.h:191
Aws::Glacier::Model::CSVOutput::SetQuoteFields
void SetQuoteFields(const QuoteFields &value)
Definition: CSVOutput.h:58
Aws::Glacier::Model::CSVOutput::CSVOutput
CSVOutput(Aws::Utils::Json::JsonView jsonValue)
Aws::Glacier::Model::CSVOutput::GetQuoteCharacter
const Aws::String & GetQuoteCharacter() const
Definition: CSVOutput.h:222
Aws::Glacier::Model::CSVOutput::SetQuoteCharacter
void SetQuoteCharacter(Aws::String &&value)
Definition: CSVOutput.h:240
Aws::Glacier::Model::CSVOutput::WithQuoteFields
CSVOutput & WithQuoteFields(const QuoteFields &value)
Definition: CSVOutput.h:70
Aws::Glacier::Model::CSVOutput::CSVOutput
CSVOutput()
Aws::Glacier::Model::CSVOutput::SetFieldDelimiter
void SetFieldDelimiter(const char *value)
Definition: CSVOutput.h:197
Aws::Glacier::Model::CSVOutput::WithQuoteCharacter
CSVOutput & WithQuoteCharacter(Aws::String &&value)
Definition: CSVOutput.h:258
Aws::Glacier::Model::CSVOutput::WithQuoteCharacter
CSVOutput & WithQuoteCharacter(const Aws::String &value)
Definition: CSVOutput.h:252
Aws::Glacier::Model::CSVOutput::SetQuoteEscapeCharacter
void SetQuoteEscapeCharacter(const Aws::String &value)
Definition: CSVOutput.h:95
Aws::Glacier::Model::CSVOutput::WithRecordDelimiter
CSVOutput & WithRecordDelimiter(Aws::String &&value)
Definition: CSVOutput.h:161
Aws::Glacier::Model::CSVOutput::GetFieldDelimiter
const Aws::String & GetFieldDelimiter() const
Definition: CSVOutput.h:173
Aws::Glacier::Model::CSVOutput::operator=
CSVOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::CSVOutput::WithFieldDelimiter
CSVOutput & WithFieldDelimiter(const Aws::String &value)
Definition: CSVOutput.h:203
Aws::Glacier::Model::CSVOutput::SetQuoteCharacter
void SetQuoteCharacter(const Aws::String &value)
Definition: CSVOutput.h:234
Aws::Glacier::Model::CSVOutput::WithRecordDelimiter
CSVOutput & WithRecordDelimiter(const Aws::String &value)
Definition: CSVOutput.h:156
Aws::Glacier::Model::CSVOutput::SetQuoteCharacter
void SetQuoteCharacter(const char *value)
Definition: CSVOutput.h:246
QuoteFields.h
Aws::Glacier::Model::CSVOutput::SetRecordDelimiter
void SetRecordDelimiter(Aws::String &&value)
Definition: CSVOutput.h:146
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Glacier::Model::CSVOutput::QuoteFieldsHasBeenSet
bool QuoteFieldsHasBeenSet() const
Definition: CSVOutput.h:52
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Glacier::Model::QuoteFields
QuoteFields
Definition: QuoteFields.h:17
Aws::Glacier::Model::CSVOutput::WithQuoteEscapeCharacter
CSVOutput & WithQuoteEscapeCharacter(const char *value)
Definition: CSVOutput.h:125
Aws::Glacier::Model::CSVOutput::QuoteCharacterHasBeenSet
bool QuoteCharacterHasBeenSet() const
Definition: CSVOutput.h:228
Aws::Glacier::Model::CSVOutput
Definition: CSVOutput.h:34
Aws::Glacier::Model::CSVOutput::FieldDelimiterHasBeenSet
bool FieldDelimiterHasBeenSet() const
Definition: CSVOutput.h:179
Aws::Glacier::Model::CSVOutput::SetQuoteFields
void SetQuoteFields(QuoteFields &&value)
Definition: CSVOutput.h:64
Aws::Glacier::Model::CSVOutput::WithQuoteEscapeCharacter
CSVOutput & WithQuoteEscapeCharacter(const Aws::String &value)
Definition: CSVOutput.h:113
Aws::Glacier::Model::CSVOutput::SetQuoteEscapeCharacter
void SetQuoteEscapeCharacter(Aws::String &&value)
Definition: CSVOutput.h:101
Aws::Glacier::Model::CSVOutput::WithRecordDelimiter
CSVOutput & WithRecordDelimiter(const char *value)
Definition: CSVOutput.h:166
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::CSVOutput::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Glacier::Model::CSVOutput::SetRecordDelimiter
void SetRecordDelimiter(const Aws::String &value)
Definition: CSVOutput.h:141
Aws::Glacier::Model::CSVOutput::GetQuoteEscapeCharacter
const Aws::String & GetQuoteEscapeCharacter() const
Definition: CSVOutput.h:83
Aws::Glacier::Model::CSVOutput::SetRecordDelimiter
void SetRecordDelimiter(const char *value)
Definition: CSVOutput.h:151
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::CSVOutput::SetFieldDelimiter
void SetFieldDelimiter(const Aws::String &value)
Definition: CSVOutput.h:185
Aws::Glacier::Model::CSVOutput::WithQuoteEscapeCharacter
CSVOutput & WithQuoteEscapeCharacter(Aws::String &&value)
Definition: CSVOutput.h:119
Aws::Glacier::Model::CSVOutput::WithQuoteCharacter
CSVOutput & WithQuoteCharacter(const char *value)
Definition: CSVOutput.h:264
Aws::Glacier::Model::CSVOutput::QuoteEscapeCharacterHasBeenSet
bool QuoteEscapeCharacterHasBeenSet() const
Definition: CSVOutput.h:89
Aws::Glacier::Model::CSVOutput::SetQuoteEscapeCharacter
void SetQuoteEscapeCharacter(const char *value)
Definition: CSVOutput.h:107
Aws::Glacier::Model::CSVOutput::WithQuoteFields
CSVOutput & WithQuoteFields(QuoteFields &&value)
Definition: CSVOutput.h:76
Glacier_EXPORTS.h