AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
StructuredDataSource.h
1
6#pragma once
7#include <aws/core/utils/Document.h>
8#include <aws/opensearchmemory/OpenSearchMemory_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace OpenSearchMemory {
20namespace Model {
21
29 public:
30 AWS_OPENSEARCHMEMORY_API StructuredDataSource() = default;
31 AWS_OPENSEARCHMEMORY_API StructuredDataSource(Aws::Utils::Json::JsonView jsonValue);
32 AWS_OPENSEARCHMEMORY_API StructuredDataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_OPENSEARCHMEMORY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline Aws::Utils::DocumentView GetJson() const { return m_json; }
41 inline bool JsonHasBeenSet() const { return m_jsonHasBeenSet; }
42 template <typename JsonT = Aws::Utils::Document>
43 void SetJson(JsonT&& value) {
44 m_jsonHasBeenSet = true;
45 m_json = std::forward<JsonT>(value);
46 }
47 template <typename JsonT = Aws::Utils::Document>
49 SetJson(std::forward<JsonT>(value));
50 return *this;
51 }
53 private:
55 bool m_jsonHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace OpenSearchMemory
60} // namespace Aws
AWS_OPENSEARCHMEMORY_API StructuredDataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHMEMORY_API Aws::Utils::Json::JsonValue Jsonize() const
StructuredDataSource & WithJson(JsonT &&value)
AWS_OPENSEARCHMEMORY_API StructuredDataSource()=default
AWS_OPENSEARCHMEMORY_API StructuredDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue