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/s3/S3_EXPORTS.h>
8#include <aws/s3/model/QuoteFields.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_S3_API CSVOutput();
36 AWS_S3_API CSVOutput(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_S3_API CSVOutput& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
49 inline const QuoteFields& GetQuoteFields() const{ return m_quoteFields; }
50 inline bool QuoteFieldsHasBeenSet() const { return m_quoteFieldsHasBeenSet; }
51 inline void SetQuoteFields(const QuoteFields& value) { m_quoteFieldsHasBeenSet = true; m_quoteFields = value; }
52 inline void SetQuoteFields(QuoteFields&& value) { m_quoteFieldsHasBeenSet = true; m_quoteFields = std::move(value); }
53 inline CSVOutput& WithQuoteFields(const QuoteFields& value) { SetQuoteFields(value); return *this;}
54 inline CSVOutput& WithQuoteFields(QuoteFields&& value) { SetQuoteFields(std::move(value)); return *this;}
56
58
62 inline const Aws::String& GetQuoteEscapeCharacter() const{ return m_quoteEscapeCharacter; }
63 inline bool QuoteEscapeCharacterHasBeenSet() const { return m_quoteEscapeCharacterHasBeenSet; }
64 inline void SetQuoteEscapeCharacter(const Aws::String& value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter = value; }
65 inline void SetQuoteEscapeCharacter(Aws::String&& value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter = std::move(value); }
66 inline void SetQuoteEscapeCharacter(const char* value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter.assign(value); }
67 inline CSVOutput& WithQuoteEscapeCharacter(const Aws::String& value) { SetQuoteEscapeCharacter(value); return *this;}
68 inline CSVOutput& WithQuoteEscapeCharacter(Aws::String&& value) { SetQuoteEscapeCharacter(std::move(value)); return *this;}
69 inline CSVOutput& WithQuoteEscapeCharacter(const char* value) { SetQuoteEscapeCharacter(value); return *this;}
71
73
77 inline const Aws::String& GetRecordDelimiter() const{ return m_recordDelimiter; }
78 inline bool RecordDelimiterHasBeenSet() const { return m_recordDelimiterHasBeenSet; }
79 inline void SetRecordDelimiter(const Aws::String& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = value; }
80 inline void SetRecordDelimiter(Aws::String&& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = std::move(value); }
81 inline void SetRecordDelimiter(const char* value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter.assign(value); }
82 inline CSVOutput& WithRecordDelimiter(const Aws::String& value) { SetRecordDelimiter(value); return *this;}
83 inline CSVOutput& WithRecordDelimiter(Aws::String&& value) { SetRecordDelimiter(std::move(value)); return *this;}
84 inline CSVOutput& WithRecordDelimiter(const char* value) { SetRecordDelimiter(value); return *this;}
86
88
92 inline const Aws::String& GetFieldDelimiter() const{ return m_fieldDelimiter; }
93 inline bool FieldDelimiterHasBeenSet() const { return m_fieldDelimiterHasBeenSet; }
94 inline void SetFieldDelimiter(const Aws::String& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = value; }
95 inline void SetFieldDelimiter(Aws::String&& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = std::move(value); }
96 inline void SetFieldDelimiter(const char* value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter.assign(value); }
97 inline CSVOutput& WithFieldDelimiter(const Aws::String& value) { SetFieldDelimiter(value); return *this;}
98 inline CSVOutput& WithFieldDelimiter(Aws::String&& value) { SetFieldDelimiter(std::move(value)); return *this;}
99 inline CSVOutput& WithFieldDelimiter(const char* value) { SetFieldDelimiter(value); return *this;}
101
103
108 inline const Aws::String& GetQuoteCharacter() const{ return m_quoteCharacter; }
109 inline bool QuoteCharacterHasBeenSet() const { return m_quoteCharacterHasBeenSet; }
110 inline void SetQuoteCharacter(const Aws::String& value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter = value; }
111 inline void SetQuoteCharacter(Aws::String&& value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter = std::move(value); }
112 inline void SetQuoteCharacter(const char* value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter.assign(value); }
113 inline CSVOutput& WithQuoteCharacter(const Aws::String& value) { SetQuoteCharacter(value); return *this;}
114 inline CSVOutput& WithQuoteCharacter(Aws::String&& value) { SetQuoteCharacter(std::move(value)); return *this;}
115 inline CSVOutput& WithQuoteCharacter(const char* value) { SetQuoteCharacter(value); return *this;}
117 private:
118
119 QuoteFields m_quoteFields;
120 bool m_quoteFieldsHasBeenSet = false;
121
122 Aws::String m_quoteEscapeCharacter;
123 bool m_quoteEscapeCharacterHasBeenSet = false;
124
125 Aws::String m_recordDelimiter;
126 bool m_recordDelimiterHasBeenSet = false;
127
128 Aws::String m_fieldDelimiter;
129 bool m_fieldDelimiterHasBeenSet = false;
130
131 Aws::String m_quoteCharacter;
132 bool m_quoteCharacterHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace S3
137} // namespace Aws
CSVOutput & WithQuoteCharacter(Aws::String &&value)
Definition CSVOutput.h:114
void SetFieldDelimiter(const Aws::String &value)
Definition CSVOutput.h:94
const Aws::String & GetQuoteCharacter() const
Definition CSVOutput.h:108
void SetRecordDelimiter(const char *value)
Definition CSVOutput.h:81
CSVOutput & WithQuoteEscapeCharacter(const char *value)
Definition CSVOutput.h:69
void SetRecordDelimiter(Aws::String &&value)
Definition CSVOutput.h:80
CSVOutput & WithQuoteEscapeCharacter(const Aws::String &value)
Definition CSVOutput.h:67
CSVOutput & WithQuoteFields(QuoteFields &&value)
Definition CSVOutput.h:54
bool QuoteFieldsHasBeenSet() const
Definition CSVOutput.h:50
void SetFieldDelimiter(Aws::String &&value)
Definition CSVOutput.h:95
void SetQuoteFields(const QuoteFields &value)
Definition CSVOutput.h:51
void SetQuoteCharacter(const Aws::String &value)
Definition CSVOutput.h:110
CSVOutput & WithQuoteCharacter(const Aws::String &value)
Definition CSVOutput.h:113
CSVOutput & WithFieldDelimiter(const Aws::String &value)
Definition CSVOutput.h:97
void SetFieldDelimiter(const char *value)
Definition CSVOutput.h:96
CSVOutput & WithFieldDelimiter(Aws::String &&value)
Definition CSVOutput.h:98
const Aws::String & GetRecordDelimiter() const
Definition CSVOutput.h:77
const QuoteFields & GetQuoteFields() const
Definition CSVOutput.h:49
bool RecordDelimiterHasBeenSet() const
Definition CSVOutput.h:78
void SetQuoteCharacter(const char *value)
Definition CSVOutput.h:112
void SetQuoteFields(QuoteFields &&value)
Definition CSVOutput.h:52
CSVOutput & WithFieldDelimiter(const char *value)
Definition CSVOutput.h:99
void SetQuoteEscapeCharacter(Aws::String &&value)
Definition CSVOutput.h:65
bool FieldDelimiterHasBeenSet() const
Definition CSVOutput.h:93
CSVOutput & WithQuoteCharacter(const char *value)
Definition CSVOutput.h:115
CSVOutput & WithRecordDelimiter(const Aws::String &value)
Definition CSVOutput.h:82
CSVOutput & WithQuoteEscapeCharacter(Aws::String &&value)
Definition CSVOutput.h:68
CSVOutput & WithRecordDelimiter(const char *value)
Definition CSVOutput.h:84
void SetRecordDelimiter(const Aws::String &value)
Definition CSVOutput.h:79
CSVOutput & WithRecordDelimiter(Aws::String &&value)
Definition CSVOutput.h:83
bool QuoteEscapeCharacterHasBeenSet() const
Definition CSVOutput.h:63
void SetQuoteCharacter(Aws::String &&value)
Definition CSVOutput.h:111
CSVOutput & WithQuoteFields(const QuoteFields &value)
Definition CSVOutput.h:53
const Aws::String & GetQuoteEscapeCharacter() const
Definition CSVOutput.h:62
const Aws::String & GetFieldDelimiter() const
Definition CSVOutput.h:92
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetQuoteEscapeCharacter(const char *value)
Definition CSVOutput.h:66
AWS_S3_API CSVOutput & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool QuoteCharacterHasBeenSet() const
Definition CSVOutput.h:109
void SetQuoteEscapeCharacter(const Aws::String &value)
Definition CSVOutput.h:64
AWS_S3_API CSVOutput(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String