AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VectorKnowledgeBaseConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/EmbeddingModelConfiguration.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 VectorKnowledgeBaseConfiguration();
39 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetEmbeddingModelArn() const{ return m_embeddingModelArn; }
48 inline bool EmbeddingModelArnHasBeenSet() const { return m_embeddingModelArnHasBeenSet; }
49 inline void SetEmbeddingModelArn(const Aws::String& value) { m_embeddingModelArnHasBeenSet = true; m_embeddingModelArn = value; }
50 inline void SetEmbeddingModelArn(Aws::String&& value) { m_embeddingModelArnHasBeenSet = true; m_embeddingModelArn = std::move(value); }
51 inline void SetEmbeddingModelArn(const char* value) { m_embeddingModelArnHasBeenSet = true; m_embeddingModelArn.assign(value); }
54 inline VectorKnowledgeBaseConfiguration& WithEmbeddingModelArn(const char* value) { SetEmbeddingModelArn(value); return *this;}
56
58
62 inline const EmbeddingModelConfiguration& GetEmbeddingModelConfiguration() const{ return m_embeddingModelConfiguration; }
63 inline bool EmbeddingModelConfigurationHasBeenSet() const { return m_embeddingModelConfigurationHasBeenSet; }
64 inline void SetEmbeddingModelConfiguration(const EmbeddingModelConfiguration& value) { m_embeddingModelConfigurationHasBeenSet = true; m_embeddingModelConfiguration = value; }
65 inline void SetEmbeddingModelConfiguration(EmbeddingModelConfiguration&& value) { m_embeddingModelConfigurationHasBeenSet = true; m_embeddingModelConfiguration = std::move(value); }
69 private:
70
71 Aws::String m_embeddingModelArn;
72 bool m_embeddingModelArnHasBeenSet = false;
73
74 EmbeddingModelConfiguration m_embeddingModelConfiguration;
75 bool m_embeddingModelConfigurationHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace BedrockAgent
80} // namespace Aws
AWS_BEDROCKAGENT_API VectorKnowledgeBaseConfiguration(Aws::Utils::Json::JsonView jsonValue)
VectorKnowledgeBaseConfiguration & WithEmbeddingModelArn(Aws::String &&value)
void SetEmbeddingModelConfiguration(const EmbeddingModelConfiguration &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
VectorKnowledgeBaseConfiguration & WithEmbeddingModelArn(const char *value)
VectorKnowledgeBaseConfiguration & WithEmbeddingModelConfiguration(const EmbeddingModelConfiguration &value)
VectorKnowledgeBaseConfiguration & WithEmbeddingModelConfiguration(EmbeddingModelConfiguration &&value)
VectorKnowledgeBaseConfiguration & WithEmbeddingModelArn(const Aws::String &value)
AWS_BEDROCKAGENT_API VectorKnowledgeBaseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const EmbeddingModelConfiguration & GetEmbeddingModelConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue