AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDataSourceConfiguration(const DataSourceConfiguration& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = value; }
50 inline void SetDataSourceConfiguration(DataSourceConfiguration&& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = std::move(value); }
54
56
57 inline const BedrockModelSpecification& GetBedrockModelConfiguration() const{ return m_bedrockModelConfiguration; }
58 inline bool BedrockModelConfigurationHasBeenSet() const { return m_bedrockModelConfigurationHasBeenSet; }
59 inline void SetBedrockModelConfiguration(const BedrockModelSpecification& value) { m_bedrockModelConfigurationHasBeenSet = true; m_bedrockModelConfiguration = value; }
60 inline void SetBedrockModelConfiguration(BedrockModelSpecification&& value) { m_bedrockModelConfigurationHasBeenSet = true; m_bedrockModelConfiguration = std::move(value); }
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(const DataSourceConfiguration &value)
void SetBedrockModelConfiguration(const BedrockModelSpecification &value)
QnAIntentConfiguration & WithBedrockModelConfiguration(const BedrockModelSpecification &value)
QnAIntentConfiguration & WithBedrockModelConfiguration(BedrockModelSpecification &&value)
const BedrockModelSpecification & GetBedrockModelConfiguration() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const DataSourceConfiguration & GetDataSourceConfiguration() const
AWS_LEXMODELSV2_API QnAIntentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBedrockModelConfiguration(BedrockModelSpecification &&value)
void SetDataSourceConfiguration(const DataSourceConfiguration &value)
QnAIntentConfiguration & WithDataSourceConfiguration(DataSourceConfiguration &&value)
void SetDataSourceConfiguration(DataSourceConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue