AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RedisEnterpriseCloudConfiguration.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/RedisEnterpriseCloudFieldMapping.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 RedisEnterpriseCloudConfiguration();
41 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetCredentialsSecretArn() const{ return m_credentialsSecretArn; }
50 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
51 inline void SetCredentialsSecretArn(const Aws::String& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = value; }
52 inline void SetCredentialsSecretArn(Aws::String&& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = std::move(value); }
53 inline void SetCredentialsSecretArn(const char* value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn.assign(value); }
58
60
63 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
64 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
65 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
66 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
67 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
68 inline RedisEnterpriseCloudConfiguration& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
69 inline RedisEnterpriseCloudConfiguration& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
70 inline RedisEnterpriseCloudConfiguration& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
72
74
78 inline const RedisEnterpriseCloudFieldMapping& GetFieldMapping() const{ return m_fieldMapping; }
79 inline bool FieldMappingHasBeenSet() const { return m_fieldMappingHasBeenSet; }
80 inline void SetFieldMapping(const RedisEnterpriseCloudFieldMapping& value) { m_fieldMappingHasBeenSet = true; m_fieldMapping = value; }
81 inline void SetFieldMapping(RedisEnterpriseCloudFieldMapping&& value) { m_fieldMappingHasBeenSet = true; m_fieldMapping = std::move(value); }
85
87
90 inline const Aws::String& GetVectorIndexName() const{ return m_vectorIndexName; }
91 inline bool VectorIndexNameHasBeenSet() const { return m_vectorIndexNameHasBeenSet; }
92 inline void SetVectorIndexName(const Aws::String& value) { m_vectorIndexNameHasBeenSet = true; m_vectorIndexName = value; }
93 inline void SetVectorIndexName(Aws::String&& value) { m_vectorIndexNameHasBeenSet = true; m_vectorIndexName = std::move(value); }
94 inline void SetVectorIndexName(const char* value) { m_vectorIndexNameHasBeenSet = true; m_vectorIndexName.assign(value); }
96 inline RedisEnterpriseCloudConfiguration& WithVectorIndexName(Aws::String&& value) { SetVectorIndexName(std::move(value)); return *this;}
97 inline RedisEnterpriseCloudConfiguration& WithVectorIndexName(const char* value) { SetVectorIndexName(value); return *this;}
99 private:
100
101 Aws::String m_credentialsSecretArn;
102 bool m_credentialsSecretArnHasBeenSet = false;
103
104 Aws::String m_endpoint;
105 bool m_endpointHasBeenSet = false;
106
108 bool m_fieldMappingHasBeenSet = false;
109
110 Aws::String m_vectorIndexName;
111 bool m_vectorIndexNameHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace BedrockAgent
116} // namespace Aws
RedisEnterpriseCloudConfiguration & WithCredentialsSecretArn(const Aws::String &value)
RedisEnterpriseCloudConfiguration & WithCredentialsSecretArn(const char *value)
AWS_BEDROCKAGENT_API RedisEnterpriseCloudConfiguration(Aws::Utils::Json::JsonView jsonValue)
RedisEnterpriseCloudConfiguration & WithFieldMapping(const RedisEnterpriseCloudFieldMapping &value)
AWS_BEDROCKAGENT_API RedisEnterpriseCloudConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RedisEnterpriseCloudConfiguration & WithVectorIndexName(const Aws::String &value)
RedisEnterpriseCloudConfiguration & WithEndpoint(const Aws::String &value)
RedisEnterpriseCloudConfiguration & WithEndpoint(const char *value)
RedisEnterpriseCloudConfiguration & WithCredentialsSecretArn(Aws::String &&value)
RedisEnterpriseCloudConfiguration & WithVectorIndexName(const char *value)
RedisEnterpriseCloudConfiguration & WithVectorIndexName(Aws::String &&value)
void SetFieldMapping(const RedisEnterpriseCloudFieldMapping &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
RedisEnterpriseCloudConfiguration & WithEndpoint(Aws::String &&value)
RedisEnterpriseCloudConfiguration & WithFieldMapping(RedisEnterpriseCloudFieldMapping &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue