AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
PineconeConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/PineconeFieldMapping.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgent {
21namespace Model {
22
32 public:
33 AWS_BEDROCKAGENT_API PineconeConfiguration() = default;
36 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetConnectionString() const { return m_connectionString; }
43 inline bool ConnectionStringHasBeenSet() const { return m_connectionStringHasBeenSet; }
44 template <typename ConnectionStringT = Aws::String>
46 m_connectionStringHasBeenSet = true;
47 m_connectionString = std::forward<ConnectionStringT>(value);
48 }
49 template <typename ConnectionStringT = Aws::String>
51 SetConnectionString(std::forward<ConnectionStringT>(value));
52 return *this;
53 }
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>
65 m_credentialsSecretArnHasBeenSet = true;
66 m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value);
67 }
68 template <typename CredentialsSecretArnT = Aws::String>
70 SetCredentialsSecretArn(std::forward<CredentialsSecretArnT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetNamespace() const { return m_namespace; }
80 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
81 template <typename NamespaceT = Aws::String>
82 void SetNamespace(NamespaceT&& value) {
83 m_namespaceHasBeenSet = true;
84 m_namespace = std::forward<NamespaceT>(value);
85 }
86 template <typename NamespaceT = Aws::String>
88 SetNamespace(std::forward<NamespaceT>(value));
89 return *this;
90 }
92
94
98 inline const PineconeFieldMapping& GetFieldMapping() const { return m_fieldMapping; }
99 inline bool FieldMappingHasBeenSet() const { return m_fieldMappingHasBeenSet; }
100 template <typename FieldMappingT = PineconeFieldMapping>
102 m_fieldMappingHasBeenSet = true;
103 m_fieldMapping = std::forward<FieldMappingT>(value);
104 }
105 template <typename FieldMappingT = PineconeFieldMapping>
107 SetFieldMapping(std::forward<FieldMappingT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_connectionString;
113
114 Aws::String m_credentialsSecretArn;
115
116 Aws::String m_namespace;
117
118 PineconeFieldMapping m_fieldMapping;
119 bool m_connectionStringHasBeenSet = false;
120 bool m_credentialsSecretArnHasBeenSet = false;
121 bool m_namespaceHasBeenSet = false;
122 bool m_fieldMappingHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace BedrockAgent
127} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue