AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PineconeConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/PineconeFieldMapping.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_BEDROCKAGENT_API PineconeConfiguration();
39 AWS_BEDROCKAGENT_API PineconeConfiguration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetConnectionString() const{ return m_connectionString; }
49 inline bool ConnectionStringHasBeenSet() const { return m_connectionStringHasBeenSet; }
50 inline void SetConnectionString(const Aws::String& value) { m_connectionStringHasBeenSet = true; m_connectionString = value; }
51 inline void SetConnectionString(Aws::String&& value) { m_connectionStringHasBeenSet = true; m_connectionString = std::move(value); }
52 inline void SetConnectionString(const char* value) { m_connectionStringHasBeenSet = true; m_connectionString.assign(value); }
53 inline PineconeConfiguration& WithConnectionString(const Aws::String& value) { SetConnectionString(value); return *this;}
54 inline PineconeConfiguration& WithConnectionString(Aws::String&& value) { SetConnectionString(std::move(value)); return *this;}
55 inline PineconeConfiguration& WithConnectionString(const char* value) { SetConnectionString(value); return *this;}
57
59
63 inline const Aws::String& GetCredentialsSecretArn() const{ return m_credentialsSecretArn; }
64 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
65 inline void SetCredentialsSecretArn(const Aws::String& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = value; }
66 inline void SetCredentialsSecretArn(Aws::String&& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = std::move(value); }
67 inline void SetCredentialsSecretArn(const char* value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn.assign(value); }
69 inline PineconeConfiguration& WithCredentialsSecretArn(Aws::String&& value) { SetCredentialsSecretArn(std::move(value)); return *this;}
70 inline PineconeConfiguration& WithCredentialsSecretArn(const char* value) { SetCredentialsSecretArn(value); return *this;}
72
74
78 inline const PineconeFieldMapping& GetFieldMapping() const{ return m_fieldMapping; }
79 inline bool FieldMappingHasBeenSet() const { return m_fieldMappingHasBeenSet; }
80 inline void SetFieldMapping(const PineconeFieldMapping& value) { m_fieldMappingHasBeenSet = true; m_fieldMapping = value; }
81 inline void SetFieldMapping(PineconeFieldMapping&& value) { m_fieldMappingHasBeenSet = true; m_fieldMapping = std::move(value); }
82 inline PineconeConfiguration& WithFieldMapping(const PineconeFieldMapping& value) { SetFieldMapping(value); return *this;}
83 inline PineconeConfiguration& WithFieldMapping(PineconeFieldMapping&& value) { SetFieldMapping(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetNamespace() const{ return m_namespace; }
91 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
92 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
93 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
94 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
95 inline PineconeConfiguration& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
96 inline PineconeConfiguration& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
97 inline PineconeConfiguration& WithNamespace(const char* value) { SetNamespace(value); return *this;}
99 private:
100
101 Aws::String m_connectionString;
102 bool m_connectionStringHasBeenSet = false;
103
104 Aws::String m_credentialsSecretArn;
105 bool m_credentialsSecretArnHasBeenSet = false;
106
107 PineconeFieldMapping m_fieldMapping;
108 bool m_fieldMappingHasBeenSet = false;
109
110 Aws::String m_namespace;
111 bool m_namespaceHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace BedrockAgent
116} // namespace Aws
void SetFieldMapping(PineconeFieldMapping &&value)
AWS_BEDROCKAGENT_API PineconeConfiguration(Aws::Utils::Json::JsonView jsonValue)
PineconeConfiguration & WithNamespace(const char *value)
PineconeConfiguration & WithFieldMapping(PineconeFieldMapping &&value)
void SetFieldMapping(const PineconeFieldMapping &value)
AWS_BEDROCKAGENT_API PineconeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
PineconeConfiguration & WithCredentialsSecretArn(Aws::String &&value)
PineconeConfiguration & WithConnectionString(const char *value)
PineconeConfiguration & WithFieldMapping(const PineconeFieldMapping &value)
PineconeConfiguration & WithNamespace(Aws::String &&value)
PineconeConfiguration & WithCredentialsSecretArn(const Aws::String &value)
PineconeConfiguration & WithCredentialsSecretArn(const char *value)
PineconeConfiguration & WithConnectionString(Aws::String &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const PineconeFieldMapping & GetFieldMapping() const
PineconeConfiguration & WithNamespace(const Aws::String &value)
PineconeConfiguration & WithConnectionString(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue