AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DetectedJsonFormatDescriptor.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 DetectedJsonFormatDescriptor() = 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 DetectedJsonFormatDescriptor& 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 DetectedJsonFormatDescriptor& WithCharset(CharsetT&& value) { SetCharset(std::forward<CharsetT>(value)); return *this;}
63 private:
64
65 DetectedField m_fileCompression;
66 bool m_fileCompressionHasBeenSet = false;
67
68 DetectedField m_charset;
69 bool m_charsetHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace LookoutMetrics
74} // namespace Aws
AWS_LOOKOUTMETRICS_API DetectedJsonFormatDescriptor()=default
AWS_LOOKOUTMETRICS_API DetectedJsonFormatDescriptor(Aws::Utils::Json::JsonView jsonValue)
DetectedJsonFormatDescriptor & WithFileCompression(FileCompressionT &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOOKOUTMETRICS_API DetectedJsonFormatDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectedJsonFormatDescriptor & WithCharset(CharsetT &&value)
Aws::Utils::Json::JsonValue JsonValue