AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename FileCompressionT = DetectedField>
47 void SetFileCompression(FileCompressionT&& value) { m_fileCompressionHasBeenSet = true; m_fileCompression = std::forward<FileCompressionT>(value); }
48 template<typename FileCompressionT = DetectedField>
49 DetectedCsvFormatDescriptor& WithFileCompression(FileCompressionT&& value) { SetFileCompression(std::forward<FileCompressionT>(value)); return *this;}
51
53
56 inline const DetectedField& GetCharset() const { return m_charset; }
57 inline bool CharsetHasBeenSet() const { return m_charsetHasBeenSet; }
58 template<typename CharsetT = DetectedField>
59 void SetCharset(CharsetT&& value) { m_charsetHasBeenSet = true; m_charset = std::forward<CharsetT>(value); }
60 template<typename CharsetT = DetectedField>
61 DetectedCsvFormatDescriptor& WithCharset(CharsetT&& value) { SetCharset(std::forward<CharsetT>(value)); return *this;}
63
65
68 inline const DetectedField& GetContainsHeader() const { return m_containsHeader; }
69 inline bool ContainsHeaderHasBeenSet() const { return m_containsHeaderHasBeenSet; }
70 template<typename ContainsHeaderT = DetectedField>
71 void SetContainsHeader(ContainsHeaderT&& value) { m_containsHeaderHasBeenSet = true; m_containsHeader = std::forward<ContainsHeaderT>(value); }
72 template<typename ContainsHeaderT = DetectedField>
73 DetectedCsvFormatDescriptor& WithContainsHeader(ContainsHeaderT&& value) { SetContainsHeader(std::forward<ContainsHeaderT>(value)); return *this;}
75
77
80 inline const DetectedField& GetDelimiter() const { return m_delimiter; }
81 inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; }
82 template<typename DelimiterT = DetectedField>
83 void SetDelimiter(DelimiterT&& value) { m_delimiterHasBeenSet = true; m_delimiter = std::forward<DelimiterT>(value); }
84 template<typename DelimiterT = DetectedField>
85 DetectedCsvFormatDescriptor& WithDelimiter(DelimiterT&& value) { SetDelimiter(std::forward<DelimiterT>(value)); return *this;}
87
89
92 inline const DetectedField& GetHeaderList() const { return m_headerList; }
93 inline bool HeaderListHasBeenSet() const { return m_headerListHasBeenSet; }
94 template<typename HeaderListT = DetectedField>
95 void SetHeaderList(HeaderListT&& value) { m_headerListHasBeenSet = true; m_headerList = std::forward<HeaderListT>(value); }
96 template<typename HeaderListT = DetectedField>
97 DetectedCsvFormatDescriptor& WithHeaderList(HeaderListT&& value) { SetHeaderList(std::forward<HeaderListT>(value)); return *this;}
99
101
104 inline const DetectedField& GetQuoteSymbol() const { return m_quoteSymbol; }
105 inline bool QuoteSymbolHasBeenSet() const { return m_quoteSymbolHasBeenSet; }
106 template<typename QuoteSymbolT = DetectedField>
107 void SetQuoteSymbol(QuoteSymbolT&& value) { m_quoteSymbolHasBeenSet = true; m_quoteSymbol = std::forward<QuoteSymbolT>(value); }
108 template<typename QuoteSymbolT = DetectedField>
109 DetectedCsvFormatDescriptor& WithQuoteSymbol(QuoteSymbolT&& value) { SetQuoteSymbol(std::forward<QuoteSymbolT>(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(QuoteSymbolT &&value)
AWS_LOOKOUTMETRICS_API DetectedCsvFormatDescriptor()=default
DetectedCsvFormatDescriptor & WithContainsHeader(ContainsHeaderT &&value)
DetectedCsvFormatDescriptor & WithHeaderList(HeaderListT &&value)
AWS_LOOKOUTMETRICS_API DetectedCsvFormatDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectedCsvFormatDescriptor & WithCharset(CharsetT &&value)
AWS_LOOKOUTMETRICS_API DetectedCsvFormatDescriptor(Aws::Utils::Json::JsonView jsonValue)
DetectedCsvFormatDescriptor & WithDelimiter(DelimiterT &&value)
DetectedCsvFormatDescriptor & WithFileCompression(FileCompressionT &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue