7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace BedrockAgent {
42 template <
typename PrimaryKeyFieldT = Aws::String>
44 m_primaryKeyFieldHasBeenSet =
true;
45 m_primaryKeyField = std::forward<PrimaryKeyFieldT>(value);
47 template <
typename PrimaryKeyFieldT = Aws::String>
61 template <
typename VectorFieldT = Aws::String>
63 m_vectorFieldHasBeenSet =
true;
64 m_vectorField = std::forward<VectorFieldT>(value);
66 template <
typename VectorFieldT = Aws::String>
80 template <
typename TextFieldT = Aws::String>
82 m_textFieldHasBeenSet =
true;
83 m_textField = std::forward<TextFieldT>(value);
85 template <
typename TextFieldT = Aws::String>
99 template <
typename MetadataFieldT = Aws::String>
101 m_metadataFieldHasBeenSet =
true;
102 m_metadataField = std::forward<MetadataFieldT>(value);
104 template <
typename MetadataFieldT = Aws::String>
118 template <
typename CustomMetadataFieldT = Aws::String>
120 m_customMetadataFieldHasBeenSet =
true;
121 m_customMetadataField = std::forward<CustomMetadataFieldT>(value);
123 template <
typename CustomMetadataFieldT = Aws::String>
139 bool m_primaryKeyFieldHasBeenSet =
false;
140 bool m_vectorFieldHasBeenSet =
false;
141 bool m_textFieldHasBeenSet =
false;
142 bool m_metadataFieldHasBeenSet =
false;
143 bool m_customMetadataFieldHasBeenSet =
false;
AWS_BEDROCKAGENT_API RdsFieldMapping(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMetadataField(MetadataFieldT &&value)
void SetPrimaryKeyField(PrimaryKeyFieldT &&value)
const Aws::String & GetMetadataField() const
void SetVectorField(VectorFieldT &&value)
bool PrimaryKeyFieldHasBeenSet() const
bool VectorFieldHasBeenSet() const
const Aws::String & GetPrimaryKeyField() const
const Aws::String & GetCustomMetadataField() const
bool TextFieldHasBeenSet() const
void SetTextField(TextFieldT &&value)
bool CustomMetadataFieldHasBeenSet() const
RdsFieldMapping & WithMetadataField(MetadataFieldT &&value)
RdsFieldMapping & WithTextField(TextFieldT &&value)
RdsFieldMapping & WithPrimaryKeyField(PrimaryKeyFieldT &&value)
AWS_BEDROCKAGENT_API RdsFieldMapping()=default
RdsFieldMapping & WithCustomMetadataField(CustomMetadataFieldT &&value)
RdsFieldMapping & WithVectorField(VectorFieldT &&value)
const Aws::String & GetVectorField() const
bool MetadataFieldHasBeenSet() const
const Aws::String & GetTextField() const
AWS_BEDROCKAGENT_API RdsFieldMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCustomMetadataField(CustomMetadataFieldT &&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