AWS SDK for C++

AWS SDK for C++ Version 1.11.868

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
42 inline const KbTemplateConfiguration& GetTemplateConfiguration() const { return m_templateConfiguration; }
43 inline bool TemplateConfigurationHasBeenSet() const { return m_templateConfigurationHasBeenSet; }
44 template <typename TemplateConfigurationT = KbTemplateConfiguration>
45 void SetTemplateConfiguration(TemplateConfigurationT&& value) {
46 m_templateConfigurationHasBeenSet = true;
47 m_templateConfiguration = std::forward<TemplateConfigurationT>(value);
48 }
49 template <typename TemplateConfigurationT = KbTemplateConfiguration>
50 KnowledgeBaseConfiguration& WithTemplateConfiguration(TemplateConfigurationT&& value) {
51 SetTemplateConfiguration(std::forward<TemplateConfigurationT>(value));
52 return *this;
53 }
55 private:
56 KbTemplateConfiguration m_templateConfiguration;
57 bool m_templateConfigurationHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace QuickSight
62} // 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