AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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