AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
VectorKnowledgeBaseConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/EmbeddingModelConfiguration.h>
9#include <aws/bedrock-agent/model/SupplementalDataStorageConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgent {
22namespace Model {
23
31 public:
32 AWS_BEDROCKAGENT_API VectorKnowledgeBaseConfiguration() = default;
35 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetEmbeddingModelArn() const { return m_embeddingModelArn; }
43 inline bool EmbeddingModelArnHasBeenSet() const { return m_embeddingModelArnHasBeenSet; }
44 template <typename EmbeddingModelArnT = Aws::String>
46 m_embeddingModelArnHasBeenSet = true;
47 m_embeddingModelArn = std::forward<EmbeddingModelArnT>(value);
48 }
49 template <typename EmbeddingModelArnT = Aws::String>
51 SetEmbeddingModelArn(std::forward<EmbeddingModelArnT>(value));
52 return *this;
53 }
55
57
61 inline const EmbeddingModelConfiguration& GetEmbeddingModelConfiguration() const { return m_embeddingModelConfiguration; }
62 inline bool EmbeddingModelConfigurationHasBeenSet() const { return m_embeddingModelConfigurationHasBeenSet; }
63 template <typename EmbeddingModelConfigurationT = EmbeddingModelConfiguration>
65 m_embeddingModelConfigurationHasBeenSet = true;
66 m_embeddingModelConfiguration = std::forward<EmbeddingModelConfigurationT>(value);
67 }
68 template <typename EmbeddingModelConfigurationT = EmbeddingModelConfiguration>
70 SetEmbeddingModelConfiguration(std::forward<EmbeddingModelConfigurationT>(value));
71 return *this;
72 }
74
76
84 return m_supplementalDataStorageConfiguration;
85 }
86 inline bool SupplementalDataStorageConfigurationHasBeenSet() const { return m_supplementalDataStorageConfigurationHasBeenSet; }
87 template <typename SupplementalDataStorageConfigurationT = SupplementalDataStorageConfiguration>
89 m_supplementalDataStorageConfigurationHasBeenSet = true;
90 m_supplementalDataStorageConfiguration = std::forward<SupplementalDataStorageConfigurationT>(value);
91 }
92 template <typename SupplementalDataStorageConfigurationT = SupplementalDataStorageConfiguration>
94 SetSupplementalDataStorageConfiguration(std::forward<SupplementalDataStorageConfigurationT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_embeddingModelArn;
100
101 EmbeddingModelConfiguration m_embeddingModelConfiguration;
102
103 SupplementalDataStorageConfiguration m_supplementalDataStorageConfiguration;
104 bool m_embeddingModelArnHasBeenSet = false;
105 bool m_embeddingModelConfigurationHasBeenSet = false;
106 bool m_supplementalDataStorageConfigurationHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace BedrockAgent
111} // namespace Aws
AWS_BEDROCKAGENT_API VectorKnowledgeBaseConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API VectorKnowledgeBaseConfiguration()=default
void SetSupplementalDataStorageConfiguration(SupplementalDataStorageConfigurationT &&value)
const SupplementalDataStorageConfiguration & GetSupplementalDataStorageConfiguration() const
VectorKnowledgeBaseConfiguration & WithEmbeddingModelConfiguration(EmbeddingModelConfigurationT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
VectorKnowledgeBaseConfiguration & WithEmbeddingModelArn(EmbeddingModelArnT &&value)
VectorKnowledgeBaseConfiguration & WithSupplementalDataStorageConfiguration(SupplementalDataStorageConfigurationT &&value)
AWS_BEDROCKAGENT_API VectorKnowledgeBaseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const EmbeddingModelConfiguration & GetEmbeddingModelConfiguration() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue