AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 DetectedJsonFormatDescriptor& 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 DetectedJsonFormatDescriptor& WithCharset(const DetectedField& value) { SetCharset(value); return *this;}
61 inline DetectedJsonFormatDescriptor& WithCharset(DetectedField&& value) { SetCharset(std::move(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
DetectedJsonFormatDescriptor & WithFileCompression(const DetectedField &value)
AWS_LOOKOUTMETRICS_API DetectedJsonFormatDescriptor(Aws::Utils::Json::JsonView jsonValue)
DetectedJsonFormatDescriptor & WithCharset(DetectedField &&value)
DetectedJsonFormatDescriptor & WithCharset(const DetectedField &value)
DetectedJsonFormatDescriptor & WithFileCompression(DetectedField &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOOKOUTMETRICS_API DetectedJsonFormatDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue