AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
SqlKnowledgeBaseConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/QueryEngineType.h>
9#include <aws/bedrock-agent/model/RedshiftConfiguration.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
50 inline QueryEngineType GetType() const { return m_type; }
51 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
52 inline void SetType(QueryEngineType value) { m_typeHasBeenSet = true; m_type = value; }
53 inline SqlKnowledgeBaseConfiguration& WithType(QueryEngineType value) { SetType(value); return *this;}
55
57
61 inline const RedshiftConfiguration& GetRedshiftConfiguration() const { return m_redshiftConfiguration; }
62 inline bool RedshiftConfigurationHasBeenSet() const { return m_redshiftConfigurationHasBeenSet; }
63 template<typename RedshiftConfigurationT = RedshiftConfiguration>
64 void SetRedshiftConfiguration(RedshiftConfigurationT&& value) { m_redshiftConfigurationHasBeenSet = true; m_redshiftConfiguration = std::forward<RedshiftConfigurationT>(value); }
65 template<typename RedshiftConfigurationT = RedshiftConfiguration>
66 SqlKnowledgeBaseConfiguration& WithRedshiftConfiguration(RedshiftConfigurationT&& value) { SetRedshiftConfiguration(std::forward<RedshiftConfigurationT>(value)); return *this;}
68 private:
69
71 bool m_typeHasBeenSet = false;
72
73 RedshiftConfiguration m_redshiftConfiguration;
74 bool m_redshiftConfigurationHasBeenSet = 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