7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/MongoDbAtlasFieldMapping.h>
48 template<
typename CollectionNameT = Aws::String>
49 void SetCollectionName(CollectionNameT&& value) { m_collectionNameHasBeenSet =
true; m_collectionName = std::forward<CollectionNameT>(value); }
50 template<
typename CollectionNameT = Aws::String>
61 template<
typename CredentialsSecretArnT = Aws::String>
62 void SetCredentialsSecretArn(CredentialsSecretArnT&& value) { m_credentialsSecretArnHasBeenSet =
true; m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value); }
63 template<
typename CredentialsSecretArnT = Aws::String>
73 template<
typename DatabaseNameT = Aws::String>
74 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
75 template<
typename DatabaseNameT = Aws::String>
85 template<
typename Endpo
intT = Aws::String>
86 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet =
true; m_endpoint = std::forward<EndpointT>(value); }
87 template<
typename Endpo
intT = Aws::String>
98 template<
typename Endpo
intServiceNameT = Aws::String>
99 void SetEndpointServiceName(EndpointServiceNameT&& value) { m_endpointServiceNameHasBeenSet =
true; m_endpointServiceName = std::forward<EndpointServiceNameT>(value); }
100 template<
typename Endpo
intServiceNameT = Aws::String>
111 template<
typename FieldMappingT = MongoDbAtlasFieldMapping>
112 void SetFieldMapping(FieldMappingT&& value) { m_fieldMappingHasBeenSet =
true; m_fieldMapping = std::forward<FieldMappingT>(value); }
113 template<
typename FieldMappingT = MongoDbAtlasFieldMapping>
124 template<
typename TextIndexNameT = Aws::String>
125 void SetTextIndexName(TextIndexNameT&& value) { m_textIndexNameHasBeenSet =
true; m_textIndexName = std::forward<TextIndexNameT>(value); }
126 template<
typename TextIndexNameT = Aws::String>
136 template<
typename VectorIndexNameT = Aws::String>
137 void SetVectorIndexName(VectorIndexNameT&& value) { m_vectorIndexNameHasBeenSet =
true; m_vectorIndexName = std::forward<VectorIndexNameT>(value); }
138 template<
typename VectorIndexNameT = Aws::String>
144 bool m_collectionNameHasBeenSet =
false;
147 bool m_credentialsSecretArnHasBeenSet =
false;
150 bool m_databaseNameHasBeenSet =
false;
153 bool m_endpointHasBeenSet =
false;
156 bool m_endpointServiceNameHasBeenSet =
false;
159 bool m_fieldMappingHasBeenSet =
false;
162 bool m_textIndexNameHasBeenSet =
false;
165 bool m_vectorIndexNameHasBeenSet =
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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue