7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/OpenSearchServerlessFieldMapping.h>
52 inline void SetCollectionArn(
const char* value) { m_collectionArnHasBeenSet =
true; m_collectionArn.assign(value); }
79 inline void SetVectorIndexName(
const char* value) { m_vectorIndexNameHasBeenSet =
true; m_vectorIndexName.assign(value); }
87 bool m_collectionArnHasBeenSet =
false;
90 bool m_fieldMappingHasBeenSet =
false;
93 bool m_vectorIndexNameHasBeenSet =
false;
OpenSearchServerlessConfiguration & WithCollectionArn(const Aws::String &value)
const Aws::String & GetCollectionArn() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
OpenSearchServerlessConfiguration & WithFieldMapping(OpenSearchServerlessFieldMapping &&value)
OpenSearchServerlessConfiguration & WithVectorIndexName(const char *value)
void SetCollectionArn(Aws::String &&value)
void SetVectorIndexName(Aws::String &&value)
void SetCollectionArn(const Aws::String &value)
bool FieldMappingHasBeenSet() const
void SetFieldMapping(OpenSearchServerlessFieldMapping &&value)
void SetVectorIndexName(const char *value)
AWS_BEDROCKAGENT_API OpenSearchServerlessConfiguration(Aws::Utils::Json::JsonView jsonValue)
OpenSearchServerlessConfiguration & WithFieldMapping(const OpenSearchServerlessFieldMapping &value)
bool CollectionArnHasBeenSet() const
OpenSearchServerlessConfiguration & WithCollectionArn(const char *value)
const OpenSearchServerlessFieldMapping & GetFieldMapping() const
void SetVectorIndexName(const Aws::String &value)
const Aws::String & GetVectorIndexName() const
void SetCollectionArn(const char *value)
void SetFieldMapping(const OpenSearchServerlessFieldMapping &value)
OpenSearchServerlessConfiguration & WithVectorIndexName(Aws::String &&value)
OpenSearchServerlessConfiguration & WithVectorIndexName(const Aws::String &value)
AWS_BEDROCKAGENT_API OpenSearchServerlessConfiguration()
AWS_BEDROCKAGENT_API OpenSearchServerlessConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
OpenSearchServerlessConfiguration & WithCollectionArn(Aws::String &&value)
bool VectorIndexNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue