7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/MongoDbAtlasFieldMapping.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace BedrockAgent {
42 template <
typename Endpo
intT = Aws::String>
44 m_endpointHasBeenSet =
true;
45 m_endpoint = std::forward<EndpointT>(value);
47 template <
typename Endpo
intT = Aws::String>
60 template <
typename DatabaseNameT = Aws::String>
62 m_databaseNameHasBeenSet =
true;
63 m_databaseName = std::forward<DatabaseNameT>(value);
65 template <
typename DatabaseNameT = Aws::String>
78 template <
typename CollectionNameT = Aws::String>
80 m_collectionNameHasBeenSet =
true;
81 m_collectionName = std::forward<CollectionNameT>(value);
83 template <
typename CollectionNameT = Aws::String>
96 template <
typename VectorIndexNameT = Aws::String>
98 m_vectorIndexNameHasBeenSet =
true;
99 m_vectorIndexName = std::forward<VectorIndexNameT>(value);
101 template <
typename VectorIndexNameT = Aws::String>
115 template <
typename CredentialsSecretArnT = Aws::String>
117 m_credentialsSecretArnHasBeenSet =
true;
118 m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value);
120 template <
typename CredentialsSecretArnT = Aws::String>
134 template <
typename FieldMappingT = MongoDbAtlasFieldMapping>
136 m_fieldMappingHasBeenSet =
true;
137 m_fieldMapping = std::forward<FieldMappingT>(value);
139 template <
typename FieldMappingT = MongoDbAtlasFieldMapping>
153 template <
typename Endpo
intServiceNameT = Aws::String>
155 m_endpointServiceNameHasBeenSet =
true;
156 m_endpointServiceName = std::forward<EndpointServiceNameT>(value);
158 template <
typename Endpo
intServiceNameT = Aws::String>
172 template <
typename TextIndexNameT = Aws::String>
174 m_textIndexNameHasBeenSet =
true;
175 m_textIndexName = std::forward<TextIndexNameT>(value);
177 template <
typename TextIndexNameT = Aws::String>
199 bool m_endpointHasBeenSet =
false;
200 bool m_databaseNameHasBeenSet =
false;
201 bool m_collectionNameHasBeenSet =
false;
202 bool m_vectorIndexNameHasBeenSet =
false;
203 bool m_credentialsSecretArnHasBeenSet =
false;
204 bool m_fieldMappingHasBeenSet =
false;
205 bool m_endpointServiceNameHasBeenSet =
false;
206 bool m_textIndexNameHasBeenSet =
false;
MongoDbAtlasConfiguration & WithDatabaseName(DatabaseNameT &&value)
const Aws::String & GetEndpoint() const
bool VectorIndexNameHasBeenSet() const
MongoDbAtlasConfiguration & WithTextIndexName(TextIndexNameT &&value)
bool FieldMappingHasBeenSet() const
bool EndpointHasBeenSet() const
void SetCredentialsSecretArn(CredentialsSecretArnT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const MongoDbAtlasFieldMapping & GetFieldMapping() const
const Aws::String & GetCredentialsSecretArn() const
bool CollectionNameHasBeenSet() const
const Aws::String & GetTextIndexName() const
const Aws::String & GetEndpointServiceName() const
MongoDbAtlasConfiguration & WithCollectionName(CollectionNameT &&value)
void SetEndpoint(EndpointT &&value)
AWS_BEDROCKAGENT_API MongoDbAtlasConfiguration()=default
const Aws::String & GetCollectionName() const
MongoDbAtlasConfiguration & WithCredentialsSecretArn(CredentialsSecretArnT &&value)
const Aws::String & GetVectorIndexName() const
void SetTextIndexName(TextIndexNameT &&value)
AWS_BEDROCKAGENT_API MongoDbAtlasConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
MongoDbAtlasConfiguration & WithEndpoint(EndpointT &&value)
bool TextIndexNameHasBeenSet() const
const Aws::String & GetDatabaseName() const
void SetDatabaseName(DatabaseNameT &&value)
MongoDbAtlasConfiguration & WithFieldMapping(FieldMappingT &&value)
void SetVectorIndexName(VectorIndexNameT &&value)
void SetFieldMapping(FieldMappingT &&value)
bool EndpointServiceNameHasBeenSet() const
void SetEndpointServiceName(EndpointServiceNameT &&value)
bool CredentialsSecretArnHasBeenSet() const
MongoDbAtlasConfiguration & WithVectorIndexName(VectorIndexNameT &&value)
bool DatabaseNameHasBeenSet() const
MongoDbAtlasConfiguration & WithEndpointServiceName(EndpointServiceNameT &&value)
AWS_BEDROCKAGENT_API MongoDbAtlasConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetCollectionName(CollectionNameT &&value)
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