AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PineconeFieldMapping.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 PineconeFieldMapping();
36 AWS_BEDROCKAGENT_API PineconeFieldMapping(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 PineconeFieldMapping& WithMetadataField(const Aws::String& value) { SetMetadataField(value); return *this;}
52 inline PineconeFieldMapping& WithMetadataField(Aws::String&& value) { SetMetadataField(std::move(value)); return *this;}
53 inline PineconeFieldMapping& WithMetadataField(const char* value) { SetMetadataField(value); return *this;}
55
57
61 inline const Aws::String& GetTextField() const{ return m_textField; }
62 inline bool TextFieldHasBeenSet() const { return m_textFieldHasBeenSet; }
63 inline void SetTextField(const Aws::String& value) { m_textFieldHasBeenSet = true; m_textField = value; }
64 inline void SetTextField(Aws::String&& value) { m_textFieldHasBeenSet = true; m_textField = std::move(value); }
65 inline void SetTextField(const char* value) { m_textFieldHasBeenSet = true; m_textField.assign(value); }
66 inline PineconeFieldMapping& WithTextField(const Aws::String& value) { SetTextField(value); return *this;}
67 inline PineconeFieldMapping& WithTextField(Aws::String&& value) { SetTextField(std::move(value)); return *this;}
68 inline PineconeFieldMapping& WithTextField(const char* value) { SetTextField(value); return *this;}
70 private:
71
72 Aws::String m_metadataField;
73 bool m_metadataFieldHasBeenSet = false;
74
75 Aws::String m_textField;
76 bool m_textFieldHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace BedrockAgent
81} // namespace Aws
PineconeFieldMapping & WithMetadataField(const Aws::String &value)
PineconeFieldMapping & WithTextField(Aws::String &&value)
PineconeFieldMapping & WithMetadataField(Aws::String &&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)
PineconeFieldMapping & WithTextField(const Aws::String &value)
AWS_BEDROCKAGENT_API PineconeFieldMapping(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue