AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename CredentialsSecretArnT = Aws::String>
52 void SetCredentialsSecretArn(CredentialsSecretArnT&& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value); }
53 template<typename CredentialsSecretArnT = Aws::String>
54 RedisEnterpriseCloudConfiguration& WithCredentialsSecretArn(CredentialsSecretArnT&& value) { SetCredentialsSecretArn(std::forward<CredentialsSecretArnT>(value)); return *this;}
56
58
61 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
62 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
63 template<typename EndpointT = Aws::String>
64 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
65 template<typename EndpointT = Aws::String>
66 RedisEnterpriseCloudConfiguration& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
68
70
74 inline const RedisEnterpriseCloudFieldMapping& GetFieldMapping() const { return m_fieldMapping; }
75 inline bool FieldMappingHasBeenSet() const { return m_fieldMappingHasBeenSet; }
76 template<typename FieldMappingT = RedisEnterpriseCloudFieldMapping>
77 void SetFieldMapping(FieldMappingT&& value) { m_fieldMappingHasBeenSet = true; m_fieldMapping = std::forward<FieldMappingT>(value); }
78 template<typename FieldMappingT = RedisEnterpriseCloudFieldMapping>
79 RedisEnterpriseCloudConfiguration& WithFieldMapping(FieldMappingT&& value) { SetFieldMapping(std::forward<FieldMappingT>(value)); return *this;}
81
83
86 inline const Aws::String& GetVectorIndexName() const { return m_vectorIndexName; }
87 inline bool VectorIndexNameHasBeenSet() const { return m_vectorIndexNameHasBeenSet; }
88 template<typename VectorIndexNameT = Aws::String>
89 void SetVectorIndexName(VectorIndexNameT&& value) { m_vectorIndexNameHasBeenSet = true; m_vectorIndexName = std::forward<VectorIndexNameT>(value); }
90 template<typename VectorIndexNameT = Aws::String>
91 RedisEnterpriseCloudConfiguration& WithVectorIndexName(VectorIndexNameT&& value) { SetVectorIndexName(std::forward<VectorIndexNameT>(value)); return *this;}
93 private:
94
95 Aws::String m_credentialsSecretArn;
96 bool m_credentialsSecretArnHasBeenSet = false;
97
98 Aws::String m_endpoint;
99 bool m_endpointHasBeenSet = false;
100
102 bool m_fieldMappingHasBeenSet = false;
103
104 Aws::String m_vectorIndexName;
105 bool m_vectorIndexNameHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace BedrockAgent
110} // namespace Aws
RedisEnterpriseCloudConfiguration & WithFieldMapping(FieldMappingT &&value)
RedisEnterpriseCloudConfiguration & WithEndpoint(EndpointT &&value)
AWS_BEDROCKAGENT_API RedisEnterpriseCloudConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API RedisEnterpriseCloudConfiguration()=default
AWS_BEDROCKAGENT_API RedisEnterpriseCloudConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RedisEnterpriseCloudConfiguration & WithCredentialsSecretArn(CredentialsSecretArnT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
RedisEnterpriseCloudConfiguration & WithVectorIndexName(VectorIndexNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue