AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StorageConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/MongoDbAtlasConfiguration.h>
9#include <aws/bedrock-agent/model/OpenSearchServerlessConfiguration.h>
10#include <aws/bedrock-agent/model/PineconeConfiguration.h>
11#include <aws/bedrock-agent/model/RdsConfiguration.h>
12#include <aws/bedrock-agent/model/RedisEnterpriseCloudConfiguration.h>
13#include <aws/bedrock-agent/model/KnowledgeBaseStorageType.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace BedrockAgent
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_BEDROCKAGENT_API StorageConfiguration();
41 AWS_BEDROCKAGENT_API StorageConfiguration(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const MongoDbAtlasConfiguration& GetMongoDbAtlasConfiguration() const{ return m_mongoDbAtlasConfiguration; }
52 inline bool MongoDbAtlasConfigurationHasBeenSet() const { return m_mongoDbAtlasConfigurationHasBeenSet; }
53 inline void SetMongoDbAtlasConfiguration(const MongoDbAtlasConfiguration& value) { m_mongoDbAtlasConfigurationHasBeenSet = true; m_mongoDbAtlasConfiguration = value; }
54 inline void SetMongoDbAtlasConfiguration(MongoDbAtlasConfiguration&& value) { m_mongoDbAtlasConfigurationHasBeenSet = true; m_mongoDbAtlasConfiguration = std::move(value); }
58
60
64 inline const OpenSearchServerlessConfiguration& GetOpensearchServerlessConfiguration() const{ return m_opensearchServerlessConfiguration; }
65 inline bool OpensearchServerlessConfigurationHasBeenSet() const { return m_opensearchServerlessConfigurationHasBeenSet; }
66 inline void SetOpensearchServerlessConfiguration(const OpenSearchServerlessConfiguration& value) { m_opensearchServerlessConfigurationHasBeenSet = true; m_opensearchServerlessConfiguration = value; }
67 inline void SetOpensearchServerlessConfiguration(OpenSearchServerlessConfiguration&& value) { m_opensearchServerlessConfigurationHasBeenSet = true; m_opensearchServerlessConfiguration = std::move(value); }
71
73
76 inline const PineconeConfiguration& GetPineconeConfiguration() const{ return m_pineconeConfiguration; }
77 inline bool PineconeConfigurationHasBeenSet() const { return m_pineconeConfigurationHasBeenSet; }
78 inline void SetPineconeConfiguration(const PineconeConfiguration& value) { m_pineconeConfigurationHasBeenSet = true; m_pineconeConfiguration = value; }
79 inline void SetPineconeConfiguration(PineconeConfiguration&& value) { m_pineconeConfigurationHasBeenSet = true; m_pineconeConfiguration = std::move(value); }
83
85
91 inline const RdsConfiguration& GetRdsConfiguration() const{ return m_rdsConfiguration; }
92 inline bool RdsConfigurationHasBeenSet() const { return m_rdsConfigurationHasBeenSet; }
93 inline void SetRdsConfiguration(const RdsConfiguration& value) { m_rdsConfigurationHasBeenSet = true; m_rdsConfiguration = value; }
94 inline void SetRdsConfiguration(RdsConfiguration&& value) { m_rdsConfigurationHasBeenSet = true; m_rdsConfiguration = std::move(value); }
96 inline StorageConfiguration& WithRdsConfiguration(RdsConfiguration&& value) { SetRdsConfiguration(std::move(value)); return *this;}
98
100
104 inline const RedisEnterpriseCloudConfiguration& GetRedisEnterpriseCloudConfiguration() const{ return m_redisEnterpriseCloudConfiguration; }
105 inline bool RedisEnterpriseCloudConfigurationHasBeenSet() const { return m_redisEnterpriseCloudConfigurationHasBeenSet; }
106 inline void SetRedisEnterpriseCloudConfiguration(const RedisEnterpriseCloudConfiguration& value) { m_redisEnterpriseCloudConfigurationHasBeenSet = true; m_redisEnterpriseCloudConfiguration = value; }
107 inline void SetRedisEnterpriseCloudConfiguration(RedisEnterpriseCloudConfiguration&& value) { m_redisEnterpriseCloudConfigurationHasBeenSet = true; m_redisEnterpriseCloudConfiguration = std::move(value); }
111
113
116 inline const KnowledgeBaseStorageType& GetType() const{ return m_type; }
117 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
118 inline void SetType(const KnowledgeBaseStorageType& value) { m_typeHasBeenSet = true; m_type = value; }
119 inline void SetType(KnowledgeBaseStorageType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
120 inline StorageConfiguration& WithType(const KnowledgeBaseStorageType& value) { SetType(value); return *this;}
121 inline StorageConfiguration& WithType(KnowledgeBaseStorageType&& value) { SetType(std::move(value)); return *this;}
123 private:
124
125 MongoDbAtlasConfiguration m_mongoDbAtlasConfiguration;
126 bool m_mongoDbAtlasConfigurationHasBeenSet = false;
127
128 OpenSearchServerlessConfiguration m_opensearchServerlessConfiguration;
129 bool m_opensearchServerlessConfigurationHasBeenSet = false;
130
131 PineconeConfiguration m_pineconeConfiguration;
132 bool m_pineconeConfigurationHasBeenSet = false;
133
134 RdsConfiguration m_rdsConfiguration;
135 bool m_rdsConfigurationHasBeenSet = false;
136
137 RedisEnterpriseCloudConfiguration m_redisEnterpriseCloudConfiguration;
138 bool m_redisEnterpriseCloudConfigurationHasBeenSet = false;
139
141 bool m_typeHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace BedrockAgent
146} // namespace Aws
const MongoDbAtlasConfiguration & GetMongoDbAtlasConfiguration() const
StorageConfiguration & WithType(const KnowledgeBaseStorageType &value)
void SetRedisEnterpriseCloudConfiguration(const RedisEnterpriseCloudConfiguration &value)
void SetOpensearchServerlessConfiguration(const OpenSearchServerlessConfiguration &value)
StorageConfiguration & WithPineconeConfiguration(const PineconeConfiguration &value)
const PineconeConfiguration & GetPineconeConfiguration() const
void SetPineconeConfiguration(const PineconeConfiguration &value)
StorageConfiguration & WithRdsConfiguration(RdsConfiguration &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
StorageConfiguration & WithOpensearchServerlessConfiguration(const OpenSearchServerlessConfiguration &value)
void SetType(const KnowledgeBaseStorageType &value)
StorageConfiguration & WithMongoDbAtlasConfiguration(MongoDbAtlasConfiguration &&value)
AWS_BEDROCKAGENT_API StorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const RedisEnterpriseCloudConfiguration & GetRedisEnterpriseCloudConfiguration() const
void SetRdsConfiguration(const RdsConfiguration &value)
void SetPineconeConfiguration(PineconeConfiguration &&value)
void SetMongoDbAtlasConfiguration(const MongoDbAtlasConfiguration &value)
const RdsConfiguration & GetRdsConfiguration() const
StorageConfiguration & WithOpensearchServerlessConfiguration(OpenSearchServerlessConfiguration &&value)
StorageConfiguration & WithRedisEnterpriseCloudConfiguration(RedisEnterpriseCloudConfiguration &&value)
const OpenSearchServerlessConfiguration & GetOpensearchServerlessConfiguration() const
StorageConfiguration & WithRdsConfiguration(const RdsConfiguration &value)
void SetOpensearchServerlessConfiguration(OpenSearchServerlessConfiguration &&value)
void SetRedisEnterpriseCloudConfiguration(RedisEnterpriseCloudConfiguration &&value)
const KnowledgeBaseStorageType & GetType() const
StorageConfiguration & WithPineconeConfiguration(PineconeConfiguration &&value)
StorageConfiguration & WithType(KnowledgeBaseStorageType &&value)
StorageConfiguration & WithMongoDbAtlasConfiguration(const MongoDbAtlasConfiguration &value)
void SetMongoDbAtlasConfiguration(MongoDbAtlasConfiguration &&value)
AWS_BEDROCKAGENT_API StorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetType(KnowledgeBaseStorageType &&value)
StorageConfiguration & WithRedisEnterpriseCloudConfiguration(const RedisEnterpriseCloudConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue