AWS SDK for C++

AWS SDK for C++ Version 1.11.827

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
54
57 inline bool GetEventEnabled() const { return m_eventEnabled; }
58 inline bool EventEnabledHasBeenSet() const { return m_eventEnabledHasBeenSet; }
59 inline void SetEventEnabled(bool value) {
60 m_eventEnabledHasBeenSet = true;
61 m_eventEnabled = value;
62 }
64 SetEventEnabled(value);
65 return *this;
66 }
68 private:
69 KbTemplateConfiguration m_templateConfiguration;
70
71 bool m_eventEnabled{false};
72 bool m_templateConfigurationHasBeenSet = false;
73 bool m_eventEnabledHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace QuickSight
78} // namespace Aws
KnowledgeBaseConfiguration & WithEventEnabled(bool value)
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