AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RdsFieldMapping.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgent
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BEDROCKAGENT_API RdsFieldMapping();
36 AWS_BEDROCKAGENT_API RdsFieldMapping(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKAGENT_API RdsFieldMapping& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetMetadataField() const{ return m_metadataField; }
47 inline bool MetadataFieldHasBeenSet() const { return m_metadataFieldHasBeenSet; }
48 inline void SetMetadataField(const Aws::String& value) { m_metadataFieldHasBeenSet = true; m_metadataField = value; }
49 inline void SetMetadataField(Aws::String&& value) { m_metadataFieldHasBeenSet = true; m_metadataField = std::move(value); }
50 inline void SetMetadataField(const char* value) { m_metadataFieldHasBeenSet = true; m_metadataField.assign(value); }
51 inline RdsFieldMapping& WithMetadataField(const Aws::String& value) { SetMetadataField(value); return *this;}
52 inline RdsFieldMapping& WithMetadataField(Aws::String&& value) { SetMetadataField(std::move(value)); return *this;}
53 inline RdsFieldMapping& WithMetadataField(const char* value) { SetMetadataField(value); return *this;}
55
57
61 inline const Aws::String& GetPrimaryKeyField() const{ return m_primaryKeyField; }
62 inline bool PrimaryKeyFieldHasBeenSet() const { return m_primaryKeyFieldHasBeenSet; }
63 inline void SetPrimaryKeyField(const Aws::String& value) { m_primaryKeyFieldHasBeenSet = true; m_primaryKeyField = value; }
64 inline void SetPrimaryKeyField(Aws::String&& value) { m_primaryKeyFieldHasBeenSet = true; m_primaryKeyField = std::move(value); }
65 inline void SetPrimaryKeyField(const char* value) { m_primaryKeyFieldHasBeenSet = true; m_primaryKeyField.assign(value); }
66 inline RdsFieldMapping& WithPrimaryKeyField(const Aws::String& value) { SetPrimaryKeyField(value); return *this;}
67 inline RdsFieldMapping& WithPrimaryKeyField(Aws::String&& value) { SetPrimaryKeyField(std::move(value)); return *this;}
68 inline RdsFieldMapping& WithPrimaryKeyField(const char* value) { SetPrimaryKeyField(value); return *this;}
70
72
76 inline const Aws::String& GetTextField() const{ return m_textField; }
77 inline bool TextFieldHasBeenSet() const { return m_textFieldHasBeenSet; }
78 inline void SetTextField(const Aws::String& value) { m_textFieldHasBeenSet = true; m_textField = value; }
79 inline void SetTextField(Aws::String&& value) { m_textFieldHasBeenSet = true; m_textField = std::move(value); }
80 inline void SetTextField(const char* value) { m_textFieldHasBeenSet = true; m_textField.assign(value); }
81 inline RdsFieldMapping& WithTextField(const Aws::String& value) { SetTextField(value); return *this;}
82 inline RdsFieldMapping& WithTextField(Aws::String&& value) { SetTextField(std::move(value)); return *this;}
83 inline RdsFieldMapping& WithTextField(const char* value) { SetTextField(value); return *this;}
85
87
91 inline const Aws::String& GetVectorField() const{ return m_vectorField; }
92 inline bool VectorFieldHasBeenSet() const { return m_vectorFieldHasBeenSet; }
93 inline void SetVectorField(const Aws::String& value) { m_vectorFieldHasBeenSet = true; m_vectorField = value; }
94 inline void SetVectorField(Aws::String&& value) { m_vectorFieldHasBeenSet = true; m_vectorField = std::move(value); }
95 inline void SetVectorField(const char* value) { m_vectorFieldHasBeenSet = true; m_vectorField.assign(value); }
96 inline RdsFieldMapping& WithVectorField(const Aws::String& value) { SetVectorField(value); return *this;}
97 inline RdsFieldMapping& WithVectorField(Aws::String&& value) { SetVectorField(std::move(value)); return *this;}
98 inline RdsFieldMapping& WithVectorField(const char* value) { SetVectorField(value); return *this;}
100 private:
101
102 Aws::String m_metadataField;
103 bool m_metadataFieldHasBeenSet = false;
104
105 Aws::String m_primaryKeyField;
106 bool m_primaryKeyFieldHasBeenSet = false;
107
108 Aws::String m_textField;
109 bool m_textFieldHasBeenSet = false;
110
111 Aws::String m_vectorField;
112 bool m_vectorFieldHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace BedrockAgent
117} // namespace Aws
AWS_BEDROCKAGENT_API RdsFieldMapping(Aws::Utils::Json::JsonView jsonValue)
RdsFieldMapping & WithMetadataField(const char *value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
RdsFieldMapping & WithMetadataField(Aws::String &&value)
void SetTextField(const Aws::String &value)
void SetMetadataField(const Aws::String &value)
RdsFieldMapping & WithPrimaryKeyField(const Aws::String &value)
RdsFieldMapping & WithTextField(const char *value)
const Aws::String & GetMetadataField() const
const Aws::String & GetPrimaryKeyField() const
RdsFieldMapping & WithPrimaryKeyField(Aws::String &&value)
RdsFieldMapping & WithTextField(Aws::String &&value)
RdsFieldMapping & WithPrimaryKeyField(const char *value)
void SetMetadataField(Aws::String &&value)
RdsFieldMapping & WithVectorField(const char *value)
void SetPrimaryKeyField(Aws::String &&value)
RdsFieldMapping & WithTextField(const Aws::String &value)
const Aws::String & GetVectorField() const
RdsFieldMapping & WithMetadataField(const Aws::String &value)
RdsFieldMapping & WithVectorField(const Aws::String &value)
const Aws::String & GetTextField() const
RdsFieldMapping & WithVectorField(Aws::String &&value)
void SetVectorField(const Aws::String &value)
void SetPrimaryKeyField(const Aws::String &value)
AWS_BEDROCKAGENT_API RdsFieldMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue