AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TextToSqlConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/TextToSqlKnowledgeBaseConfiguration.h>
9#include <aws/bedrock-agent-runtime/model/TextToSqlConfigurationType.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 BedrockAgentRuntime
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCKAGENTRUNTIME_API TextToSqlConfiguration() = default;
37 AWS_BEDROCKAGENTRUNTIME_API TextToSqlConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API TextToSqlConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const TextToSqlKnowledgeBaseConfiguration& GetKnowledgeBaseConfiguration() const { return m_knowledgeBaseConfiguration; }
47 inline bool KnowledgeBaseConfigurationHasBeenSet() const { return m_knowledgeBaseConfigurationHasBeenSet; }
48 template<typename KnowledgeBaseConfigurationT = TextToSqlKnowledgeBaseConfiguration>
49 void SetKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT&& value) { m_knowledgeBaseConfigurationHasBeenSet = true; m_knowledgeBaseConfiguration = std::forward<KnowledgeBaseConfigurationT>(value); }
50 template<typename KnowledgeBaseConfigurationT = TextToSqlKnowledgeBaseConfiguration>
51 TextToSqlConfiguration& WithKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT&& value) { SetKnowledgeBaseConfiguration(std::forward<KnowledgeBaseConfigurationT>(value)); return *this;}
53
55
58 inline TextToSqlConfigurationType GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(TextToSqlConfigurationType value) { m_typeHasBeenSet = true; m_type = value; }
61 inline TextToSqlConfiguration& WithType(TextToSqlConfigurationType value) { SetType(value); return *this;}
63 private:
64
65 TextToSqlKnowledgeBaseConfiguration m_knowledgeBaseConfiguration;
66 bool m_knowledgeBaseConfigurationHasBeenSet = false;
67
69 bool m_typeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace BedrockAgentRuntime
74} // namespace Aws
void SetKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT &&value)
AWS_BEDROCKAGENTRUNTIME_API TextToSqlConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const TextToSqlKnowledgeBaseConfiguration & GetKnowledgeBaseConfiguration() const
TextToSqlConfiguration & WithType(TextToSqlConfigurationType value)
TextToSqlConfiguration & WithKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT &&value)
AWS_BEDROCKAGENTRUNTIME_API TextToSqlConfiguration()=default
AWS_BEDROCKAGENTRUNTIME_API TextToSqlConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue