AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ConnectionStringT = Aws::String>
51 void SetConnectionString(ConnectionStringT&& value) { m_connectionStringHasBeenSet = true; m_connectionString = std::forward<ConnectionStringT>(value); }
52 template<typename ConnectionStringT = Aws::String>
53 PineconeConfiguration& WithConnectionString(ConnectionStringT&& value) { SetConnectionString(std::forward<ConnectionStringT>(value)); return *this;}
55
57
61 inline const Aws::String& GetCredentialsSecretArn() const { return m_credentialsSecretArn; }
62 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
63 template<typename CredentialsSecretArnT = Aws::String>
64 void SetCredentialsSecretArn(CredentialsSecretArnT&& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value); }
65 template<typename CredentialsSecretArnT = Aws::String>
66 PineconeConfiguration& WithCredentialsSecretArn(CredentialsSecretArnT&& value) { SetCredentialsSecretArn(std::forward<CredentialsSecretArnT>(value)); return *this;}
68
70
74 inline const PineconeFieldMapping& GetFieldMapping() const { return m_fieldMapping; }
75 inline bool FieldMappingHasBeenSet() const { return m_fieldMappingHasBeenSet; }
76 template<typename FieldMappingT = PineconeFieldMapping>
77 void SetFieldMapping(FieldMappingT&& value) { m_fieldMappingHasBeenSet = true; m_fieldMapping = std::forward<FieldMappingT>(value); }
78 template<typename FieldMappingT = PineconeFieldMapping>
79 PineconeConfiguration& WithFieldMapping(FieldMappingT&& value) { SetFieldMapping(std::forward<FieldMappingT>(value)); return *this;}
81
83
86 inline const Aws::String& GetNamespace() const { return m_namespace; }
87 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
88 template<typename NamespaceT = Aws::String>
89 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
90 template<typename NamespaceT = Aws::String>
91 PineconeConfiguration& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
93 private:
94
95 Aws::String m_connectionString;
96 bool m_connectionStringHasBeenSet = false;
97
98 Aws::String m_credentialsSecretArn;
99 bool m_credentialsSecretArnHasBeenSet = false;
100
101 PineconeFieldMapping m_fieldMapping;
102 bool m_fieldMappingHasBeenSet = false;
103
104 Aws::String m_namespace;
105 bool m_namespaceHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace BedrockAgent
110} // namespace Aws
AWS_BEDROCKAGENT_API PineconeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API PineconeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
PineconeConfiguration & WithConnectionString(ConnectionStringT &&value)
PineconeConfiguration & WithFieldMapping(FieldMappingT &&value)
PineconeConfiguration & WithNamespace(NamespaceT &&value)
PineconeConfiguration & WithCredentialsSecretArn(CredentialsSecretArnT &&value)
AWS_BEDROCKAGENT_API PineconeConfiguration()=default
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCredentialsSecretArn(CredentialsSecretArnT &&value)
const PineconeFieldMapping & GetFieldMapping() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue