AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const JsonFileCompression& GetFileCompression() const{ return m_fileCompression; }
47 inline bool FileCompressionHasBeenSet() const { return m_fileCompressionHasBeenSet; }
48 inline void SetFileCompression(const JsonFileCompression& value) { m_fileCompressionHasBeenSet = true; m_fileCompression = value; }
49 inline void SetFileCompression(JsonFileCompression&& value) { m_fileCompressionHasBeenSet = true; m_fileCompression = std::move(value); }
51 inline JsonFormatDescriptor& WithFileCompression(JsonFileCompression&& value) { SetFileCompression(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetCharset() const{ return m_charset; }
59 inline bool CharsetHasBeenSet() const { return m_charsetHasBeenSet; }
60 inline void SetCharset(const Aws::String& value) { m_charsetHasBeenSet = true; m_charset = value; }
61 inline void SetCharset(Aws::String&& value) { m_charsetHasBeenSet = true; m_charset = std::move(value); }
62 inline void SetCharset(const char* value) { m_charsetHasBeenSet = true; m_charset.assign(value); }
63 inline JsonFormatDescriptor& WithCharset(const Aws::String& value) { SetCharset(value); return *this;}
64 inline JsonFormatDescriptor& WithCharset(Aws::String&& value) { SetCharset(std::move(value)); return *this;}
65 inline JsonFormatDescriptor& WithCharset(const char* value) { SetCharset(value); return *this;}
67 private:
68
69 JsonFileCompression m_fileCompression;
70 bool m_fileCompressionHasBeenSet = false;
71
72 Aws::String m_charset;
73 bool m_charsetHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace LookoutMetrics
78} // namespace Aws
AWS_LOOKOUTMETRICS_API JsonFormatDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
JsonFormatDescriptor & WithFileCompression(JsonFileCompression &&value)
JsonFormatDescriptor & WithCharset(const char *value)
void SetFileCompression(JsonFileCompression &&value)
JsonFormatDescriptor & WithFileCompression(const JsonFileCompression &value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOOKOUTMETRICS_API JsonFormatDescriptor(Aws::Utils::Json::JsonView jsonValue)
const JsonFileCompression & GetFileCompression() const
void SetFileCompression(const JsonFileCompression &value)
JsonFormatDescriptor & WithCharset(const Aws::String &value)
JsonFormatDescriptor & WithCharset(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue