AWS SDK for C++

AWS SDK for C++ Version 1.11.847

Loading...
Searching...
No Matches
ManagedKnowledgeBaseConfiguration.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/EmbeddingModelType.h>
10#include <aws/bedrock-agent/model/ServerSideEncryptionConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent {
23namespace Model {
24
31 public:
32 AWS_BEDROCKAGENT_API ManagedKnowledgeBaseConfiguration() = default;
35 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline EmbeddingModelType GetEmbeddingModelType() const { return m_embeddingModelType; }
40 inline bool EmbeddingModelTypeHasBeenSet() const { return m_embeddingModelTypeHasBeenSet; }
42 m_embeddingModelTypeHasBeenSet = true;
43 m_embeddingModelType = value;
44 }
47 return *this;
48 }
50
52
55 inline const Aws::String& GetEmbeddingModelArn() const { return m_embeddingModelArn; }
56 inline bool EmbeddingModelArnHasBeenSet() const { return m_embeddingModelArnHasBeenSet; }
57 template <typename EmbeddingModelArnT = Aws::String>
59 m_embeddingModelArnHasBeenSet = true;
60 m_embeddingModelArn = std::forward<EmbeddingModelArnT>(value);
61 }
62 template <typename EmbeddingModelArnT = Aws::String>
64 SetEmbeddingModelArn(std::forward<EmbeddingModelArnT>(value));
65 return *this;
66 }
68
70
71 inline const EmbeddingModelConfiguration& GetEmbeddingModelConfiguration() const { return m_embeddingModelConfiguration; }
72 inline bool EmbeddingModelConfigurationHasBeenSet() const { return m_embeddingModelConfigurationHasBeenSet; }
73 template <typename EmbeddingModelConfigurationT = EmbeddingModelConfiguration>
75 m_embeddingModelConfigurationHasBeenSet = true;
76 m_embeddingModelConfiguration = std::forward<EmbeddingModelConfigurationT>(value);
77 }
78 template <typename EmbeddingModelConfigurationT = EmbeddingModelConfiguration>
80 SetEmbeddingModelConfiguration(std::forward<EmbeddingModelConfigurationT>(value));
81 return *this;
82 }
84
86
88 return m_serverSideEncryptionConfiguration;
89 }
90 inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; }
91 template <typename ServerSideEncryptionConfigurationT = ServerSideEncryptionConfiguration>
93 m_serverSideEncryptionConfigurationHasBeenSet = true;
94 m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value);
95 }
96 template <typename ServerSideEncryptionConfigurationT = ServerSideEncryptionConfiguration>
98 SetServerSideEncryptionConfiguration(std::forward<ServerSideEncryptionConfigurationT>(value));
99 return *this;
100 }
102 private:
104
105 Aws::String m_embeddingModelArn;
106
107 EmbeddingModelConfiguration m_embeddingModelConfiguration;
108
109 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
110 bool m_embeddingModelTypeHasBeenSet = false;
111 bool m_embeddingModelArnHasBeenSet = false;
112 bool m_embeddingModelConfigurationHasBeenSet = false;
113 bool m_serverSideEncryptionConfigurationHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace BedrockAgent
118} // namespace Aws
AWS_BEDROCKAGENT_API ManagedKnowledgeBaseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedKnowledgeBaseConfiguration & WithEmbeddingModelType(EmbeddingModelType value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
ManagedKnowledgeBaseConfiguration & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedKnowledgeBaseConfiguration & WithEmbeddingModelArn(EmbeddingModelArnT &&value)
ManagedKnowledgeBaseConfiguration & WithEmbeddingModelConfiguration(EmbeddingModelConfigurationT &&value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
AWS_BEDROCKAGENT_API ManagedKnowledgeBaseConfiguration()=default
AWS_BEDROCKAGENT_API ManagedKnowledgeBaseConfiguration(Aws::Utils::Json::JsonView jsonValue)
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