AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CsvFormatDescriptor.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/lookoutmetrics/model/CSVFileCompression.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LookoutMetrics
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LOOKOUTMETRICS_API CsvFormatDescriptor();
38 AWS_LOOKOUTMETRICS_API CsvFormatDescriptor(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTMETRICS_API CsvFormatDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const CSVFileCompression& GetFileCompression() const{ return m_fileCompression; }
48 inline bool FileCompressionHasBeenSet() const { return m_fileCompressionHasBeenSet; }
49 inline void SetFileCompression(const CSVFileCompression& value) { m_fileCompressionHasBeenSet = true; m_fileCompression = value; }
50 inline void SetFileCompression(CSVFileCompression&& value) { m_fileCompressionHasBeenSet = true; m_fileCompression = std::move(value); }
52 inline CsvFormatDescriptor& WithFileCompression(CSVFileCompression&& value) { SetFileCompression(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetCharset() const{ return m_charset; }
60 inline bool CharsetHasBeenSet() const { return m_charsetHasBeenSet; }
61 inline void SetCharset(const Aws::String& value) { m_charsetHasBeenSet = true; m_charset = value; }
62 inline void SetCharset(Aws::String&& value) { m_charsetHasBeenSet = true; m_charset = std::move(value); }
63 inline void SetCharset(const char* value) { m_charsetHasBeenSet = true; m_charset.assign(value); }
64 inline CsvFormatDescriptor& WithCharset(const Aws::String& value) { SetCharset(value); return *this;}
65 inline CsvFormatDescriptor& WithCharset(Aws::String&& value) { SetCharset(std::move(value)); return *this;}
66 inline CsvFormatDescriptor& WithCharset(const char* value) { SetCharset(value); return *this;}
68
70
73 inline bool GetContainsHeader() const{ return m_containsHeader; }
74 inline bool ContainsHeaderHasBeenSet() const { return m_containsHeaderHasBeenSet; }
75 inline void SetContainsHeader(bool value) { m_containsHeaderHasBeenSet = true; m_containsHeader = value; }
76 inline CsvFormatDescriptor& WithContainsHeader(bool value) { SetContainsHeader(value); return *this;}
78
80
83 inline const Aws::String& GetDelimiter() const{ return m_delimiter; }
84 inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; }
85 inline void SetDelimiter(const Aws::String& value) { m_delimiterHasBeenSet = true; m_delimiter = value; }
86 inline void SetDelimiter(Aws::String&& value) { m_delimiterHasBeenSet = true; m_delimiter = std::move(value); }
87 inline void SetDelimiter(const char* value) { m_delimiterHasBeenSet = true; m_delimiter.assign(value); }
88 inline CsvFormatDescriptor& WithDelimiter(const Aws::String& value) { SetDelimiter(value); return *this;}
89 inline CsvFormatDescriptor& WithDelimiter(Aws::String&& value) { SetDelimiter(std::move(value)); return *this;}
90 inline CsvFormatDescriptor& WithDelimiter(const char* value) { SetDelimiter(value); return *this;}
92
94
97 inline const Aws::Vector<Aws::String>& GetHeaderList() const{ return m_headerList; }
98 inline bool HeaderListHasBeenSet() const { return m_headerListHasBeenSet; }
99 inline void SetHeaderList(const Aws::Vector<Aws::String>& value) { m_headerListHasBeenSet = true; m_headerList = value; }
100 inline void SetHeaderList(Aws::Vector<Aws::String>&& value) { m_headerListHasBeenSet = true; m_headerList = std::move(value); }
101 inline CsvFormatDescriptor& WithHeaderList(const Aws::Vector<Aws::String>& value) { SetHeaderList(value); return *this;}
102 inline CsvFormatDescriptor& WithHeaderList(Aws::Vector<Aws::String>&& value) { SetHeaderList(std::move(value)); return *this;}
103 inline CsvFormatDescriptor& AddHeaderList(const Aws::String& value) { m_headerListHasBeenSet = true; m_headerList.push_back(value); return *this; }
104 inline CsvFormatDescriptor& AddHeaderList(Aws::String&& value) { m_headerListHasBeenSet = true; m_headerList.push_back(std::move(value)); return *this; }
105 inline CsvFormatDescriptor& AddHeaderList(const char* value) { m_headerListHasBeenSet = true; m_headerList.push_back(value); return *this; }
107
109
112 inline const Aws::String& GetQuoteSymbol() const{ return m_quoteSymbol; }
113 inline bool QuoteSymbolHasBeenSet() const { return m_quoteSymbolHasBeenSet; }
114 inline void SetQuoteSymbol(const Aws::String& value) { m_quoteSymbolHasBeenSet = true; m_quoteSymbol = value; }
115 inline void SetQuoteSymbol(Aws::String&& value) { m_quoteSymbolHasBeenSet = true; m_quoteSymbol = std::move(value); }
116 inline void SetQuoteSymbol(const char* value) { m_quoteSymbolHasBeenSet = true; m_quoteSymbol.assign(value); }
117 inline CsvFormatDescriptor& WithQuoteSymbol(const Aws::String& value) { SetQuoteSymbol(value); return *this;}
118 inline CsvFormatDescriptor& WithQuoteSymbol(Aws::String&& value) { SetQuoteSymbol(std::move(value)); return *this;}
119 inline CsvFormatDescriptor& WithQuoteSymbol(const char* value) { SetQuoteSymbol(value); return *this;}
121 private:
122
123 CSVFileCompression m_fileCompression;
124 bool m_fileCompressionHasBeenSet = false;
125
126 Aws::String m_charset;
127 bool m_charsetHasBeenSet = false;
128
129 bool m_containsHeader;
130 bool m_containsHeaderHasBeenSet = false;
131
132 Aws::String m_delimiter;
133 bool m_delimiterHasBeenSet = false;
134
135 Aws::Vector<Aws::String> m_headerList;
136 bool m_headerListHasBeenSet = false;
137
138 Aws::String m_quoteSymbol;
139 bool m_quoteSymbolHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace LookoutMetrics
144} // namespace Aws
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
CsvFormatDescriptor & WithHeaderList(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetHeaderList() const
CsvFormatDescriptor & AddHeaderList(Aws::String &&value)
CsvFormatDescriptor & WithFileCompression(const CSVFileCompression &value)
CsvFormatDescriptor & WithQuoteSymbol(const char *value)
const CSVFileCompression & GetFileCompression() const
void SetHeaderList(Aws::Vector< Aws::String > &&value)
CsvFormatDescriptor & WithHeaderList(const Aws::Vector< Aws::String > &value)
CsvFormatDescriptor & WithDelimiter(Aws::String &&value)
CsvFormatDescriptor & WithFileCompression(CSVFileCompression &&value)
CsvFormatDescriptor & WithQuoteSymbol(Aws::String &&value)
CsvFormatDescriptor & WithDelimiter(const char *value)
CsvFormatDescriptor & AddHeaderList(const char *value)
CsvFormatDescriptor & WithContainsHeader(bool value)
void SetFileCompression(const CSVFileCompression &value)
AWS_LOOKOUTMETRICS_API CsvFormatDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
CsvFormatDescriptor & WithCharset(Aws::String &&value)
void SetFileCompression(CSVFileCompression &&value)
CsvFormatDescriptor & WithCharset(const char *value)
CsvFormatDescriptor & WithCharset(const Aws::String &value)
CsvFormatDescriptor & AddHeaderList(const Aws::String &value)
void SetHeaderList(const Aws::Vector< Aws::String > &value)
AWS_LOOKOUTMETRICS_API CsvFormatDescriptor(Aws::Utils::Json::JsonView jsonValue)
CsvFormatDescriptor & WithQuoteSymbol(const Aws::String &value)
CsvFormatDescriptor & WithDelimiter(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue