AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
RedisEnterpriseCloudConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/RedisEnterpriseCloudFieldMapping.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 RedisEnterpriseCloudConfiguration() = default;
36 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
43 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
44 template <typename EndpointT = Aws::String>
45 void SetEndpoint(EndpointT&& value) {
46 m_endpointHasBeenSet = true;
47 m_endpoint = std::forward<EndpointT>(value);
48 }
49 template <typename EndpointT = Aws::String>
51 SetEndpoint(std::forward<EndpointT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetVectorIndexName() const { return m_vectorIndexName; }
61 inline bool VectorIndexNameHasBeenSet() const { return m_vectorIndexNameHasBeenSet; }
62 template <typename VectorIndexNameT = Aws::String>
63 void SetVectorIndexName(VectorIndexNameT&& value) {
64 m_vectorIndexNameHasBeenSet = true;
65 m_vectorIndexName = std::forward<VectorIndexNameT>(value);
66 }
67 template <typename VectorIndexNameT = Aws::String>
69 SetVectorIndexName(std::forward<VectorIndexNameT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetCredentialsSecretArn() const { return m_credentialsSecretArn; }
80 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
81 template <typename CredentialsSecretArnT = Aws::String>
82 void SetCredentialsSecretArn(CredentialsSecretArnT&& value) {
83 m_credentialsSecretArnHasBeenSet = true;
84 m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value);
85 }
86 template <typename CredentialsSecretArnT = Aws::String>
88 SetCredentialsSecretArn(std::forward<CredentialsSecretArnT>(value));
89 return *this;
90 }
92
94
98 inline const RedisEnterpriseCloudFieldMapping& GetFieldMapping() const { return m_fieldMapping; }
99 inline bool FieldMappingHasBeenSet() const { return m_fieldMappingHasBeenSet; }
100 template <typename FieldMappingT = RedisEnterpriseCloudFieldMapping>
101 void SetFieldMapping(FieldMappingT&& value) {
102 m_fieldMappingHasBeenSet = true;
103 m_fieldMapping = std::forward<FieldMappingT>(value);
104 }
105 template <typename FieldMappingT = RedisEnterpriseCloudFieldMapping>
107 SetFieldMapping(std::forward<FieldMappingT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_endpoint;
113 bool m_endpointHasBeenSet = false;
114
115 Aws::String m_vectorIndexName;
116 bool m_vectorIndexNameHasBeenSet = false;
117
118 Aws::String m_credentialsSecretArn;
119 bool m_credentialsSecretArnHasBeenSet = false;
120
122 bool m_fieldMappingHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace BedrockAgent
127} // 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