7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename CustomMetadataFieldT = Aws::String>
49 void SetCustomMetadataField(CustomMetadataFieldT&& value) { m_customMetadataFieldHasBeenSet =
true; m_customMetadataField = std::forward<CustomMetadataFieldT>(value); }
50 template<
typename CustomMetadataFieldT = Aws::String>
61 template<
typename MetadataFieldT = Aws::String>
62 void SetMetadataField(MetadataFieldT&& value) { m_metadataFieldHasBeenSet =
true; m_metadataField = std::forward<MetadataFieldT>(value); }
63 template<
typename MetadataFieldT = Aws::String>
74 template<
typename PrimaryKeyFieldT = Aws::String>
75 void SetPrimaryKeyField(PrimaryKeyFieldT&& value) { m_primaryKeyFieldHasBeenSet =
true; m_primaryKeyField = std::forward<PrimaryKeyFieldT>(value); }
76 template<
typename PrimaryKeyFieldT = Aws::String>
87 template<
typename TextFieldT = Aws::String>
88 void SetTextField(TextFieldT&& value) { m_textFieldHasBeenSet =
true; m_textField = std::forward<TextFieldT>(value); }
89 template<
typename TextFieldT = Aws::String>
100 template<
typename VectorFieldT = Aws::String>
101 void SetVectorField(VectorFieldT&& value) { m_vectorFieldHasBeenSet =
true; m_vectorField = std::forward<VectorFieldT>(value); }
102 template<
typename VectorFieldT = Aws::String>
108 bool m_customMetadataFieldHasBeenSet =
false;
111 bool m_metadataFieldHasBeenSet =
false;
114 bool m_primaryKeyFieldHasBeenSet =
false;
117 bool m_textFieldHasBeenSet =
false;
120 bool m_vectorFieldHasBeenSet =
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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue