AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SqlKnowledgeBaseConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/RedshiftConfiguration.h>
9#include <aws/bedrock-agent/model/QueryEngineType.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 BedrockAgent
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_BEDROCKAGENT_API SqlKnowledgeBaseConfiguration() = default;
43 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const RedshiftConfiguration& GetRedshiftConfiguration() const { return m_redshiftConfiguration; }
52 inline bool RedshiftConfigurationHasBeenSet() const { return m_redshiftConfigurationHasBeenSet; }
53 template<typename RedshiftConfigurationT = RedshiftConfiguration>
54 void SetRedshiftConfiguration(RedshiftConfigurationT&& value) { m_redshiftConfigurationHasBeenSet = true; m_redshiftConfiguration = std::forward<RedshiftConfigurationT>(value); }
55 template<typename RedshiftConfigurationT = RedshiftConfiguration>
56 SqlKnowledgeBaseConfiguration& WithRedshiftConfiguration(RedshiftConfigurationT&& value) { SetRedshiftConfiguration(std::forward<RedshiftConfigurationT>(value)); return *this;}
58
60
63 inline QueryEngineType GetType() const { return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(QueryEngineType value) { m_typeHasBeenSet = true; m_type = value; }
66 inline SqlKnowledgeBaseConfiguration& WithType(QueryEngineType value) { SetType(value); return *this;}
68 private:
69
70 RedshiftConfiguration m_redshiftConfiguration;
71 bool m_redshiftConfigurationHasBeenSet = false;
72
74 bool m_typeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace BedrockAgent
79} // namespace Aws
SqlKnowledgeBaseConfiguration & WithType(QueryEngineType value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API SqlKnowledgeBaseConfiguration()=default
AWS_BEDROCKAGENT_API SqlKnowledgeBaseConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API SqlKnowledgeBaseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SqlKnowledgeBaseConfiguration & WithRedshiftConfiguration(RedshiftConfigurationT &&value)
Aws::Utils::Json::JsonValue JsonValue