AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectedCsvFormatDescriptor.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/lookoutmetrics/model/DetectedField.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 LookoutMetrics
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_LOOKOUTMETRICS_API DetectedCsvFormatDescriptor();
37 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const DetectedField& GetFileCompression() const{ return m_fileCompression; }
45 inline bool FileCompressionHasBeenSet() const { return m_fileCompressionHasBeenSet; }
46 inline void SetFileCompression(const DetectedField& value) { m_fileCompressionHasBeenSet = true; m_fileCompression = value; }
47 inline void SetFileCompression(DetectedField&& value) { m_fileCompressionHasBeenSet = true; m_fileCompression = std::move(value); }
49 inline DetectedCsvFormatDescriptor& WithFileCompression(DetectedField&& value) { SetFileCompression(std::move(value)); return *this;}
51
53
56 inline const DetectedField& GetCharset() const{ return m_charset; }
57 inline bool CharsetHasBeenSet() const { return m_charsetHasBeenSet; }
58 inline void SetCharset(const DetectedField& value) { m_charsetHasBeenSet = true; m_charset = value; }
59 inline void SetCharset(DetectedField&& value) { m_charsetHasBeenSet = true; m_charset = std::move(value); }
60 inline DetectedCsvFormatDescriptor& WithCharset(const DetectedField& value) { SetCharset(value); return *this;}
61 inline DetectedCsvFormatDescriptor& WithCharset(DetectedField&& value) { SetCharset(std::move(value)); return *this;}
63
65
68 inline const DetectedField& GetContainsHeader() const{ return m_containsHeader; }
69 inline bool ContainsHeaderHasBeenSet() const { return m_containsHeaderHasBeenSet; }
70 inline void SetContainsHeader(const DetectedField& value) { m_containsHeaderHasBeenSet = true; m_containsHeader = value; }
71 inline void SetContainsHeader(DetectedField&& value) { m_containsHeaderHasBeenSet = true; m_containsHeader = std::move(value); }
73 inline DetectedCsvFormatDescriptor& WithContainsHeader(DetectedField&& value) { SetContainsHeader(std::move(value)); return *this;}
75
77
80 inline const DetectedField& GetDelimiter() const{ return m_delimiter; }
81 inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; }
82 inline void SetDelimiter(const DetectedField& value) { m_delimiterHasBeenSet = true; m_delimiter = value; }
83 inline void SetDelimiter(DetectedField&& value) { m_delimiterHasBeenSet = true; m_delimiter = std::move(value); }
84 inline DetectedCsvFormatDescriptor& WithDelimiter(const DetectedField& value) { SetDelimiter(value); return *this;}
85 inline DetectedCsvFormatDescriptor& WithDelimiter(DetectedField&& value) { SetDelimiter(std::move(value)); return *this;}
87
89
92 inline const DetectedField& GetHeaderList() const{ return m_headerList; }
93 inline bool HeaderListHasBeenSet() const { return m_headerListHasBeenSet; }
94 inline void SetHeaderList(const DetectedField& value) { m_headerListHasBeenSet = true; m_headerList = value; }
95 inline void SetHeaderList(DetectedField&& value) { m_headerListHasBeenSet = true; m_headerList = std::move(value); }
96 inline DetectedCsvFormatDescriptor& WithHeaderList(const DetectedField& value) { SetHeaderList(value); return *this;}
97 inline DetectedCsvFormatDescriptor& WithHeaderList(DetectedField&& value) { SetHeaderList(std::move(value)); return *this;}
99
101
104 inline const DetectedField& GetQuoteSymbol() const{ return m_quoteSymbol; }
105 inline bool QuoteSymbolHasBeenSet() const { return m_quoteSymbolHasBeenSet; }
106 inline void SetQuoteSymbol(const DetectedField& value) { m_quoteSymbolHasBeenSet = true; m_quoteSymbol = value; }
107 inline void SetQuoteSymbol(DetectedField&& value) { m_quoteSymbolHasBeenSet = true; m_quoteSymbol = std::move(value); }
108 inline DetectedCsvFormatDescriptor& WithQuoteSymbol(const DetectedField& value) { SetQuoteSymbol(value); return *this;}
109 inline DetectedCsvFormatDescriptor& WithQuoteSymbol(DetectedField&& value) { SetQuoteSymbol(std::move(value)); return *this;}
111 private:
112
113 DetectedField m_fileCompression;
114 bool m_fileCompressionHasBeenSet = false;
115
116 DetectedField m_charset;
117 bool m_charsetHasBeenSet = false;
118
119 DetectedField m_containsHeader;
120 bool m_containsHeaderHasBeenSet = false;
121
122 DetectedField m_delimiter;
123 bool m_delimiterHasBeenSet = false;
124
125 DetectedField m_headerList;
126 bool m_headerListHasBeenSet = false;
127
128 DetectedField m_quoteSymbol;
129 bool m_quoteSymbolHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace LookoutMetrics
134} // namespace Aws
DetectedCsvFormatDescriptor & WithQuoteSymbol(const DetectedField &value)
DetectedCsvFormatDescriptor & WithContainsHeader(DetectedField &&value)
DetectedCsvFormatDescriptor & WithCharset(DetectedField &&value)
DetectedCsvFormatDescriptor & WithHeaderList(DetectedField &&value)
DetectedCsvFormatDescriptor & WithContainsHeader(const DetectedField &value)
AWS_LOOKOUTMETRICS_API DetectedCsvFormatDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTMETRICS_API DetectedCsvFormatDescriptor(Aws::Utils::Json::JsonView jsonValue)
DetectedCsvFormatDescriptor & WithDelimiter(DetectedField &&value)
DetectedCsvFormatDescriptor & WithDelimiter(const DetectedField &value)
DetectedCsvFormatDescriptor & WithHeaderList(const DetectedField &value)
DetectedCsvFormatDescriptor & WithCharset(const DetectedField &value)
DetectedCsvFormatDescriptor & WithQuoteSymbol(DetectedField &&value)
DetectedCsvFormatDescriptor & WithFileCompression(DetectedField &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
DetectedCsvFormatDescriptor & WithFileCompression(const DetectedField &value)
Aws::Utils::Json::JsonValue JsonValue