AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KnowledgeBaseConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/KnowledgeBaseType.h>
9#include <aws/bedrock-agent/model/VectorKnowledgeBaseConfiguration.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
34 {
35 public:
36 AWS_BEDROCKAGENT_API KnowledgeBaseConfiguration();
39 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const KnowledgeBaseType& GetType() const{ return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(const KnowledgeBaseType& value) { m_typeHasBeenSet = true; m_type = value; }
50 inline void SetType(KnowledgeBaseType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
51 inline KnowledgeBaseConfiguration& WithType(const KnowledgeBaseType& value) { SetType(value); return *this;}
52 inline KnowledgeBaseConfiguration& WithType(KnowledgeBaseType&& value) { SetType(std::move(value)); return *this;}
54
56
60 inline const VectorKnowledgeBaseConfiguration& GetVectorKnowledgeBaseConfiguration() const{ return m_vectorKnowledgeBaseConfiguration; }
61 inline bool VectorKnowledgeBaseConfigurationHasBeenSet() const { return m_vectorKnowledgeBaseConfigurationHasBeenSet; }
62 inline void SetVectorKnowledgeBaseConfiguration(const VectorKnowledgeBaseConfiguration& value) { m_vectorKnowledgeBaseConfigurationHasBeenSet = true; m_vectorKnowledgeBaseConfiguration = value; }
63 inline void SetVectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration&& value) { m_vectorKnowledgeBaseConfigurationHasBeenSet = true; m_vectorKnowledgeBaseConfiguration = std::move(value); }
67 private:
68
69 KnowledgeBaseType m_type;
70 bool m_typeHasBeenSet = false;
71
72 VectorKnowledgeBaseConfiguration m_vectorKnowledgeBaseConfiguration;
73 bool m_vectorKnowledgeBaseConfigurationHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace BedrockAgent
78} // namespace Aws
KnowledgeBaseConfiguration & WithVectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration &&value)
AWS_BEDROCKAGENT_API KnowledgeBaseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVectorKnowledgeBaseConfiguration(const VectorKnowledgeBaseConfiguration &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API KnowledgeBaseConfiguration(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseConfiguration & WithVectorKnowledgeBaseConfiguration(const VectorKnowledgeBaseConfiguration &value)
const VectorKnowledgeBaseConfiguration & GetVectorKnowledgeBaseConfiguration() const
void SetVectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration &&value)
KnowledgeBaseConfiguration & WithType(const KnowledgeBaseType &value)
KnowledgeBaseConfiguration & WithType(KnowledgeBaseType &&value)
Aws::Utils::Json::JsonValue JsonValue