AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
StructuredDataPayload.h
1
6#pragma once
7#include <aws/opensearchmemory/OpenSearchMemory_EXPORTS.h>
8#include <aws/opensearchmemory/model/StructuredDataSource.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
28 public:
29 AWS_OPENSEARCHMEMORY_API StructuredDataPayload() = default;
30 AWS_OPENSEARCHMEMORY_API StructuredDataPayload(Aws::Utils::Json::JsonView jsonValue);
31 AWS_OPENSEARCHMEMORY_API StructuredDataPayload& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_OPENSEARCHMEMORY_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const StructuredDataSource& GetSource() const { return m_source; }
39 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
40 template <typename SourceT = StructuredDataSource>
41 void SetSource(SourceT&& value) {
42 m_sourceHasBeenSet = true;
43 m_source = std::forward<SourceT>(value);
44 }
45 template <typename SourceT = StructuredDataSource>
47 SetSource(std::forward<SourceT>(value));
48 return *this;
49 }
51 private:
52 StructuredDataSource m_source;
53 bool m_sourceHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace OpenSearchMemory
58} // namespace Aws
AWS_OPENSEARCHMEMORY_API StructuredDataPayload()=default
AWS_OPENSEARCHMEMORY_API StructuredDataPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHMEMORY_API StructuredDataPayload(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHMEMORY_API Aws::Utils::Json::JsonValue Jsonize() const
StructuredDataPayload & WithSource(SourceT &&value)
Aws::Utils::Json::JsonValue JsonValue