AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
KnowledgeBaseConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/KbTemplateConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
29 public:
30 AWS_QUICKSIGHT_API KnowledgeBaseConfiguration() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const KbTemplateConfiguration& GetTemplateConfiguration() const { return m_templateConfiguration; }
40 inline bool TemplateConfigurationHasBeenSet() const { return m_templateConfigurationHasBeenSet; }
41 template <typename TemplateConfigurationT = KbTemplateConfiguration>
42 void SetTemplateConfiguration(TemplateConfigurationT&& value) {
43 m_templateConfigurationHasBeenSet = true;
44 m_templateConfiguration = std::forward<TemplateConfigurationT>(value);
45 }
46 template <typename TemplateConfigurationT = KbTemplateConfiguration>
47 KnowledgeBaseConfiguration& WithTemplateConfiguration(TemplateConfigurationT&& value) {
48 SetTemplateConfiguration(std::forward<TemplateConfigurationT>(value));
49 return *this;
50 }
52 private:
53 KbTemplateConfiguration m_templateConfiguration;
54 bool m_templateConfigurationHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace QuickSight
59} // namespace Aws
AWS_QUICKSIGHT_API KnowledgeBaseConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API KnowledgeBaseConfiguration()=default
const KbTemplateConfiguration & GetTemplateConfiguration() const
AWS_QUICKSIGHT_API KnowledgeBaseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseConfiguration & WithTemplateConfiguration(TemplateConfigurationT &&value)
void SetTemplateConfiguration(TemplateConfigurationT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue