AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
JsonFormatDescriptor.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/lookoutmetrics/model/JsonFileCompression.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LookoutMetrics
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LOOKOUTMETRICS_API JsonFormatDescriptor() = default;
37 AWS_LOOKOUTMETRICS_API JsonFormatDescriptor(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTMETRICS_API JsonFormatDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline JsonFileCompression GetFileCompression() const { return m_fileCompression; }
47 inline bool FileCompressionHasBeenSet() const { return m_fileCompressionHasBeenSet; }
48 inline void SetFileCompression(JsonFileCompression value) { m_fileCompressionHasBeenSet = true; m_fileCompression = value; }
51
53
56 inline const Aws::String& GetCharset() const { return m_charset; }
57 inline bool CharsetHasBeenSet() const { return m_charsetHasBeenSet; }
58 template<typename CharsetT = Aws::String>
59 void SetCharset(CharsetT&& value) { m_charsetHasBeenSet = true; m_charset = std::forward<CharsetT>(value); }
60 template<typename CharsetT = Aws::String>
61 JsonFormatDescriptor& WithCharset(CharsetT&& value) { SetCharset(std::forward<CharsetT>(value)); return *this;}
63 private:
64
66 bool m_fileCompressionHasBeenSet = false;
67
68 Aws::String m_charset;
69 bool m_charsetHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace LookoutMetrics
74} // namespace Aws
AWS_LOOKOUTMETRICS_API JsonFormatDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOOKOUTMETRICS_API JsonFormatDescriptor()=default
AWS_LOOKOUTMETRICS_API JsonFormatDescriptor(Aws::Utils::Json::JsonView jsonValue)
JsonFormatDescriptor & WithCharset(CharsetT &&value)
JsonFormatDescriptor & WithFileCompression(JsonFileCompression value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue