7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetMetadataField(
const char* value) { m_metadataFieldHasBeenSet =
true; m_metadataField.assign(value); }
65 inline void SetTextField(
const char* value) { m_textFieldHasBeenSet =
true; m_textField.assign(value); }
80 inline void SetVectorField(
const char* value) { m_vectorFieldHasBeenSet =
true; m_vectorField.assign(value); }
88 bool m_metadataFieldHasBeenSet =
false;
91 bool m_textFieldHasBeenSet =
false;
94 bool m_vectorFieldHasBeenSet =
false;
AWS_BEDROCKAGENT_API RedisEnterpriseCloudFieldMapping(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMetadataField() const
void SetVectorField(const char *value)
void SetVectorField(const Aws::String &value)
bool VectorFieldHasBeenSet() const
RedisEnterpriseCloudFieldMapping & WithTextField(const Aws::String &value)
void SetMetadataField(const Aws::String &value)
RedisEnterpriseCloudFieldMapping & WithVectorField(const Aws::String &value)
const Aws::String & GetVectorField() const
AWS_BEDROCKAGENT_API RedisEnterpriseCloudFieldMapping()
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
RedisEnterpriseCloudFieldMapping & WithVectorField(Aws::String &&value)
void SetMetadataField(const char *value)
RedisEnterpriseCloudFieldMapping & WithTextField(const char *value)
void SetTextField(const Aws::String &value)
const Aws::String & GetTextField() const
void SetVectorField(Aws::String &&value)
RedisEnterpriseCloudFieldMapping & WithTextField(Aws::String &&value)
RedisEnterpriseCloudFieldMapping & WithVectorField(const char *value)
RedisEnterpriseCloudFieldMapping & WithMetadataField(const Aws::String &value)
bool MetadataFieldHasBeenSet() const
RedisEnterpriseCloudFieldMapping & WithMetadataField(const char *value)
bool TextFieldHasBeenSet() const
void SetTextField(Aws::String &&value)
void SetTextField(const char *value)
void SetMetadataField(Aws::String &&value)
AWS_BEDROCKAGENT_API RedisEnterpriseCloudFieldMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
RedisEnterpriseCloudFieldMapping & WithMetadataField(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue