AWS SDK for C++

AWS SDK for C++ Version 1.11.691

Loading...
Searching...
No Matches
TemplateConfiguration.h
1
6#pragma once
7#include <aws/core/utils/Document.h>
8#include <aws/kendra/Kendra_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace kendra {
20namespace Model {
21
29 public:
30 AWS_KENDRA_API TemplateConfiguration() = default;
33 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline Aws::Utils::DocumentView GetTemplate() const { return m_template; }
43 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
44 template <typename TemplateT = Aws::Utils::Document>
45 void SetTemplate(TemplateT&& value) {
46 m_templateHasBeenSet = true;
47 m_template = std::forward<TemplateT>(value);
48 }
49 template <typename TemplateT = Aws::Utils::Document>
50 TemplateConfiguration& WithTemplate(TemplateT&& value) {
51 SetTemplate(std::forward<TemplateT>(value));
52 return *this;
53 }
55 private:
56 Aws::Utils::Document m_template;
57 bool m_templateHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace kendra
62} // namespace Aws
AWS_KENDRA_API TemplateConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::DocumentView GetTemplate() const
AWS_KENDRA_API TemplateConfiguration()=default
AWS_KENDRA_API TemplateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
TemplateConfiguration & WithTemplate(TemplateT &&value)
Aws::Utils::Json::JsonValue JsonValue