AWS SDK for C++

AWS SDK for C++ Version 1.11.744

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgent {
21namespace Model {
22
34 public:
35 AWS_BEDROCKAGENT_API SqlKnowledgeBaseConfiguration() = default;
38 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline QueryEngineType GetType() const { return m_type; }
45 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
46 inline void SetType(QueryEngineType value) {
47 m_typeHasBeenSet = true;
48 m_type = value;
49 }
51 SetType(value);
52 return *this;
53 }
55
57
61 inline const RedshiftConfiguration& GetRedshiftConfiguration() const { return m_redshiftConfiguration; }
62 inline bool RedshiftConfigurationHasBeenSet() const { return m_redshiftConfigurationHasBeenSet; }
63 template <typename RedshiftConfigurationT = RedshiftConfiguration>
65 m_redshiftConfigurationHasBeenSet = true;
66 m_redshiftConfiguration = std::forward<RedshiftConfigurationT>(value);
67 }
68 template <typename RedshiftConfigurationT = RedshiftConfiguration>
70 SetRedshiftConfiguration(std::forward<RedshiftConfigurationT>(value));
71 return *this;
72 }
74 private:
76
77 RedshiftConfiguration m_redshiftConfiguration;
78 bool m_typeHasBeenSet = false;
79 bool m_redshiftConfigurationHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace BedrockAgent
84} // 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)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue