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); }
73 bool m_metadataFieldHasBeenSet =
false;
76 bool m_textFieldHasBeenSet =
false;
const Aws::String & GetMetadataField() const
PineconeFieldMapping & WithMetadataField(const Aws::String &value)
bool TextFieldHasBeenSet() const
PineconeFieldMapping & WithTextField(Aws::String &&value)
void SetTextField(const Aws::String &value)
AWS_BEDROCKAGENT_API PineconeFieldMapping()
PineconeFieldMapping & WithMetadataField(Aws::String &&value)
void SetMetadataField(const Aws::String &value)
const Aws::String & GetTextField() const
void SetTextField(Aws::String &&value)
void SetTextField(const char *value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
PineconeFieldMapping & WithMetadataField(const char *value)
AWS_BEDROCKAGENT_API PineconeFieldMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
PineconeFieldMapping & WithTextField(const char *value)
bool MetadataFieldHasBeenSet() const
void SetMetadataField(Aws::String &&value)
PineconeFieldMapping & WithTextField(const Aws::String &value)
AWS_BEDROCKAGENT_API PineconeFieldMapping(Aws::Utils::Json::JsonView jsonValue)
void SetMetadataField(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue