AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CSVOutput.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/glacier/model/QuoteFields.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 CSVOutput();
37 AWS_GLACIER_API CSVOutput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GLACIER_API CSVOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const QuoteFields& GetQuoteFields() const{ return m_quoteFields; }
48 inline bool QuoteFieldsHasBeenSet() const { return m_quoteFieldsHasBeenSet; }
49 inline void SetQuoteFields(const QuoteFields& value) { m_quoteFieldsHasBeenSet = true; m_quoteFields = value; }
50 inline void SetQuoteFields(QuoteFields&& value) { m_quoteFieldsHasBeenSet = true; m_quoteFields = std::move(value); }
51 inline CSVOutput& WithQuoteFields(const QuoteFields& value) { SetQuoteFields(value); return *this;}
52 inline CSVOutput& WithQuoteFields(QuoteFields&& value) { SetQuoteFields(std::move(value)); return *this;}
54
56
60 inline const Aws::String& GetQuoteEscapeCharacter() const{ return m_quoteEscapeCharacter; }
61 inline bool QuoteEscapeCharacterHasBeenSet() const { return m_quoteEscapeCharacterHasBeenSet; }
62 inline void SetQuoteEscapeCharacter(const Aws::String& value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter = value; }
63 inline void SetQuoteEscapeCharacter(Aws::String&& value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter = std::move(value); }
64 inline void SetQuoteEscapeCharacter(const char* value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter.assign(value); }
65 inline CSVOutput& WithQuoteEscapeCharacter(const Aws::String& value) { SetQuoteEscapeCharacter(value); return *this;}
66 inline CSVOutput& WithQuoteEscapeCharacter(Aws::String&& value) { SetQuoteEscapeCharacter(std::move(value)); return *this;}
67 inline CSVOutput& WithQuoteEscapeCharacter(const char* value) { SetQuoteEscapeCharacter(value); return *this;}
69
71
74 inline const Aws::String& GetRecordDelimiter() const{ return m_recordDelimiter; }
75 inline bool RecordDelimiterHasBeenSet() const { return m_recordDelimiterHasBeenSet; }
76 inline void SetRecordDelimiter(const Aws::String& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = value; }
77 inline void SetRecordDelimiter(Aws::String&& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = std::move(value); }
78 inline void SetRecordDelimiter(const char* value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter.assign(value); }
79 inline CSVOutput& WithRecordDelimiter(const Aws::String& value) { SetRecordDelimiter(value); return *this;}
80 inline CSVOutput& WithRecordDelimiter(Aws::String&& value) { SetRecordDelimiter(std::move(value)); return *this;}
81 inline CSVOutput& WithRecordDelimiter(const char* value) { SetRecordDelimiter(value); return *this;}
83
85
89 inline const Aws::String& GetFieldDelimiter() const{ return m_fieldDelimiter; }
90 inline bool FieldDelimiterHasBeenSet() const { return m_fieldDelimiterHasBeenSet; }
91 inline void SetFieldDelimiter(const Aws::String& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = value; }
92 inline void SetFieldDelimiter(Aws::String&& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = std::move(value); }
93 inline void SetFieldDelimiter(const char* value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter.assign(value); }
94 inline CSVOutput& WithFieldDelimiter(const Aws::String& value) { SetFieldDelimiter(value); return *this;}
95 inline CSVOutput& WithFieldDelimiter(Aws::String&& value) { SetFieldDelimiter(std::move(value)); return *this;}
96 inline CSVOutput& WithFieldDelimiter(const char* value) { SetFieldDelimiter(value); return *this;}
98
100
104 inline const Aws::String& GetQuoteCharacter() const{ return m_quoteCharacter; }
105 inline bool QuoteCharacterHasBeenSet() const { return m_quoteCharacterHasBeenSet; }
106 inline void SetQuoteCharacter(const Aws::String& value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter = value; }
107 inline void SetQuoteCharacter(Aws::String&& value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter = std::move(value); }
108 inline void SetQuoteCharacter(const char* value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter.assign(value); }
109 inline CSVOutput& WithQuoteCharacter(const Aws::String& value) { SetQuoteCharacter(value); return *this;}
110 inline CSVOutput& WithQuoteCharacter(Aws::String&& value) { SetQuoteCharacter(std::move(value)); return *this;}
111 inline CSVOutput& WithQuoteCharacter(const char* value) { SetQuoteCharacter(value); return *this;}
113 private:
114
115 QuoteFields m_quoteFields;
116 bool m_quoteFieldsHasBeenSet = false;
117
118 Aws::String m_quoteEscapeCharacter;
119 bool m_quoteEscapeCharacterHasBeenSet = false;
120
121 Aws::String m_recordDelimiter;
122 bool m_recordDelimiterHasBeenSet = false;
123
124 Aws::String m_fieldDelimiter;
125 bool m_fieldDelimiterHasBeenSet = false;
126
127 Aws::String m_quoteCharacter;
128 bool m_quoteCharacterHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace Glacier
133} // namespace Aws
void SetQuoteEscapeCharacter(const Aws::String &value)
Definition CSVOutput.h:62
const Aws::String & GetRecordDelimiter() const
Definition CSVOutput.h:74
void SetFieldDelimiter(const Aws::String &value)
Definition CSVOutput.h:91
bool RecordDelimiterHasBeenSet() const
Definition CSVOutput.h:75
CSVOutput & WithQuoteEscapeCharacter(Aws::String &&value)
Definition CSVOutput.h:66
CSVOutput & WithQuoteFields(const QuoteFields &value)
Definition CSVOutput.h:51
void SetRecordDelimiter(const Aws::String &value)
Definition CSVOutput.h:76
CSVOutput & WithQuoteCharacter(const char *value)
Definition CSVOutput.h:111
const Aws::String & GetFieldDelimiter() const
Definition CSVOutput.h:89
CSVOutput & WithFieldDelimiter(const Aws::String &value)
Definition CSVOutput.h:94
CSVOutput & WithFieldDelimiter(const char *value)
Definition CSVOutput.h:96
CSVOutput & WithRecordDelimiter(Aws::String &&value)
Definition CSVOutput.h:80
void SetQuoteFields(QuoteFields &&value)
Definition CSVOutput.h:50
CSVOutput & WithRecordDelimiter(const char *value)
Definition CSVOutput.h:81
bool FieldDelimiterHasBeenSet() const
Definition CSVOutput.h:90
void SetQuoteFields(const QuoteFields &value)
Definition CSVOutput.h:49
void SetRecordDelimiter(const char *value)
Definition CSVOutput.h:78
void SetQuoteCharacter(const Aws::String &value)
Definition CSVOutput.h:106
CSVOutput & WithQuoteCharacter(Aws::String &&value)
Definition CSVOutput.h:110
AWS_GLACIER_API CSVOutput(Aws::Utils::Json::JsonView jsonValue)
void SetFieldDelimiter(const char *value)
Definition CSVOutput.h:93
void SetQuoteEscapeCharacter(const char *value)
Definition CSVOutput.h:64
void SetQuoteEscapeCharacter(Aws::String &&value)
Definition CSVOutput.h:63
CSVOutput & WithRecordDelimiter(const Aws::String &value)
Definition CSVOutput.h:79
const Aws::String & GetQuoteEscapeCharacter() const
Definition CSVOutput.h:60
CSVOutput & WithQuoteEscapeCharacter(const Aws::String &value)
Definition CSVOutput.h:65
const Aws::String & GetQuoteCharacter() const
Definition CSVOutput.h:104
CSVOutput & WithQuoteFields(QuoteFields &&value)
Definition CSVOutput.h:52
void SetRecordDelimiter(Aws::String &&value)
Definition CSVOutput.h:77
bool QuoteEscapeCharacterHasBeenSet() const
Definition CSVOutput.h:61
void SetFieldDelimiter(Aws::String &&value)
Definition CSVOutput.h:92
bool QuoteCharacterHasBeenSet() const
Definition CSVOutput.h:105
void SetQuoteCharacter(Aws::String &&value)
Definition CSVOutput.h:107
void SetQuoteCharacter(const char *value)
Definition CSVOutput.h:108
const QuoteFields & GetQuoteFields() const
Definition CSVOutput.h:47
CSVOutput & WithQuoteCharacter(const Aws::String &value)
Definition CSVOutput.h:109
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
bool QuoteFieldsHasBeenSet() const
Definition CSVOutput.h:48
CSVOutput & WithFieldDelimiter(Aws::String &&value)
Definition CSVOutput.h:95
AWS_GLACIER_API CSVOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
CSVOutput & WithQuoteEscapeCharacter(const char *value)
Definition CSVOutput.h:67
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue