AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
QnAIntentConfiguration.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/DataSourceConfiguration.h>
9#include <aws/lexv2-models/model/BedrockModelSpecification.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LexModelsV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LEXMODELSV2_API QnAIntentConfiguration() = default;
37 AWS_LEXMODELSV2_API QnAIntentConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const DataSourceConfiguration& GetDataSourceConfiguration() const { return m_dataSourceConfiguration; }
48 inline bool DataSourceConfigurationHasBeenSet() const { return m_dataSourceConfigurationHasBeenSet; }
49 template<typename DataSourceConfigurationT = DataSourceConfiguration>
50 void SetDataSourceConfiguration(DataSourceConfigurationT&& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = std::forward<DataSourceConfigurationT>(value); }
51 template<typename DataSourceConfigurationT = DataSourceConfiguration>
52 QnAIntentConfiguration& WithDataSourceConfiguration(DataSourceConfigurationT&& value) { SetDataSourceConfiguration(std::forward<DataSourceConfigurationT>(value)); return *this;}
54
56
57 inline const BedrockModelSpecification& GetBedrockModelConfiguration() const { return m_bedrockModelConfiguration; }
58 inline bool BedrockModelConfigurationHasBeenSet() const { return m_bedrockModelConfigurationHasBeenSet; }
59 template<typename BedrockModelConfigurationT = BedrockModelSpecification>
60 void SetBedrockModelConfiguration(BedrockModelConfigurationT&& value) { m_bedrockModelConfigurationHasBeenSet = true; m_bedrockModelConfiguration = std::forward<BedrockModelConfigurationT>(value); }
61 template<typename BedrockModelConfigurationT = BedrockModelSpecification>
62 QnAIntentConfiguration& WithBedrockModelConfiguration(BedrockModelConfigurationT&& value) { SetBedrockModelConfiguration(std::forward<BedrockModelConfigurationT>(value)); return *this;}
64 private:
65
66 DataSourceConfiguration m_dataSourceConfiguration;
67 bool m_dataSourceConfigurationHasBeenSet = false;
68
69 BedrockModelSpecification m_bedrockModelConfiguration;
70 bool m_bedrockModelConfigurationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace LexModelsV2
75} // namespace Aws
AWS_LEXMODELSV2_API QnAIntentConfiguration(Aws::Utils::Json::JsonView jsonValue)
QnAIntentConfiguration & WithDataSourceConfiguration(DataSourceConfigurationT &&value)
AWS_LEXMODELSV2_API QnAIntentConfiguration()=default
void SetBedrockModelConfiguration(BedrockModelConfigurationT &&value)
const BedrockModelSpecification & GetBedrockModelConfiguration() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const DataSourceConfiguration & GetDataSourceConfiguration() const
void SetDataSourceConfiguration(DataSourceConfigurationT &&value)
AWS_LEXMODELSV2_API QnAIntentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
QnAIntentConfiguration & WithBedrockModelConfiguration(BedrockModelConfigurationT &&value)
Aws::Utils::Json::JsonValue JsonValue