AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataSourceConfiguration.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/OpensearchConfiguration.h>
9#include <aws/lexv2-models/model/QnAKendraConfiguration.h>
10#include <aws/lexv2-models/model/BedrockKnowledgeStoreConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LexModelsV2
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_LEXMODELSV2_API DataSourceConfiguration();
41 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
52 inline const OpensearchConfiguration& GetOpensearchConfiguration() const{ return m_opensearchConfiguration; }
53 inline bool OpensearchConfigurationHasBeenSet() const { return m_opensearchConfigurationHasBeenSet; }
54 inline void SetOpensearchConfiguration(const OpensearchConfiguration& value) { m_opensearchConfigurationHasBeenSet = true; m_opensearchConfiguration = value; }
55 inline void SetOpensearchConfiguration(OpensearchConfiguration&& value) { m_opensearchConfigurationHasBeenSet = true; m_opensearchConfiguration = std::move(value); }
59
61
68 inline const QnAKendraConfiguration& GetKendraConfiguration() const{ return m_kendraConfiguration; }
69 inline bool KendraConfigurationHasBeenSet() const { return m_kendraConfigurationHasBeenSet; }
70 inline void SetKendraConfiguration(const QnAKendraConfiguration& value) { m_kendraConfigurationHasBeenSet = true; m_kendraConfiguration = value; }
71 inline void SetKendraConfiguration(QnAKendraConfiguration&& value) { m_kendraConfigurationHasBeenSet = true; m_kendraConfiguration = std::move(value); }
75
77
84 inline const BedrockKnowledgeStoreConfiguration& GetBedrockKnowledgeStoreConfiguration() const{ return m_bedrockKnowledgeStoreConfiguration; }
85 inline bool BedrockKnowledgeStoreConfigurationHasBeenSet() const { return m_bedrockKnowledgeStoreConfigurationHasBeenSet; }
86 inline void SetBedrockKnowledgeStoreConfiguration(const BedrockKnowledgeStoreConfiguration& value) { m_bedrockKnowledgeStoreConfigurationHasBeenSet = true; m_bedrockKnowledgeStoreConfiguration = value; }
87 inline void SetBedrockKnowledgeStoreConfiguration(BedrockKnowledgeStoreConfiguration&& value) { m_bedrockKnowledgeStoreConfigurationHasBeenSet = true; m_bedrockKnowledgeStoreConfiguration = std::move(value); }
91 private:
92
93 OpensearchConfiguration m_opensearchConfiguration;
94 bool m_opensearchConfigurationHasBeenSet = false;
95
96 QnAKendraConfiguration m_kendraConfiguration;
97 bool m_kendraConfigurationHasBeenSet = false;
98
99 BedrockKnowledgeStoreConfiguration m_bedrockKnowledgeStoreConfiguration;
100 bool m_bedrockKnowledgeStoreConfigurationHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace LexModelsV2
105} // namespace Aws
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
DataSourceConfiguration & WithKendraConfiguration(QnAKendraConfiguration &&value)
void SetBedrockKnowledgeStoreConfiguration(const BedrockKnowledgeStoreConfiguration &value)
DataSourceConfiguration & WithKendraConfiguration(const QnAKendraConfiguration &value)
void SetOpensearchConfiguration(const OpensearchConfiguration &value)
void SetKendraConfiguration(const QnAKendraConfiguration &value)
DataSourceConfiguration & WithOpensearchConfiguration(OpensearchConfiguration &&value)
void SetOpensearchConfiguration(OpensearchConfiguration &&value)
const OpensearchConfiguration & GetOpensearchConfiguration() const
const BedrockKnowledgeStoreConfiguration & GetBedrockKnowledgeStoreConfiguration() const
void SetBedrockKnowledgeStoreConfiguration(BedrockKnowledgeStoreConfiguration &&value)
void SetKendraConfiguration(QnAKendraConfiguration &&value)
DataSourceConfiguration & WithOpensearchConfiguration(const OpensearchConfiguration &value)
AWS_LEXMODELSV2_API DataSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
DataSourceConfiguration & WithBedrockKnowledgeStoreConfiguration(BedrockKnowledgeStoreConfiguration &&value)
const QnAKendraConfiguration & GetKendraConfiguration() const
AWS_LEXMODELSV2_API DataSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSourceConfiguration & WithBedrockKnowledgeStoreConfiguration(const BedrockKnowledgeStoreConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue