AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
OpenSearchManagedClusterConfiguration.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/OpenSearchManagedClusterFieldMapping.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 OpenSearchManagedClusterConfiguration() = default;
41 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDomainArn() const { return m_domainArn; }
49 inline bool DomainArnHasBeenSet() const { return m_domainArnHasBeenSet; }
50 template<typename DomainArnT = Aws::String>
51 void SetDomainArn(DomainArnT&& value) { m_domainArnHasBeenSet = true; m_domainArn = std::forward<DomainArnT>(value); }
52 template<typename DomainArnT = Aws::String>
53 OpenSearchManagedClusterConfiguration& WithDomainArn(DomainArnT&& value) { SetDomainArn(std::forward<DomainArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetDomainEndpoint() const { return m_domainEndpoint; }
61 inline bool DomainEndpointHasBeenSet() const { return m_domainEndpointHasBeenSet; }
62 template<typename DomainEndpointT = Aws::String>
63 void SetDomainEndpoint(DomainEndpointT&& value) { m_domainEndpointHasBeenSet = true; m_domainEndpoint = std::forward<DomainEndpointT>(value); }
64 template<typename DomainEndpointT = Aws::String>
65 OpenSearchManagedClusterConfiguration& WithDomainEndpoint(DomainEndpointT&& value) { SetDomainEndpoint(std::forward<DomainEndpointT>(value)); return *this;}
67
69
73 inline const OpenSearchManagedClusterFieldMapping& GetFieldMapping() const { return m_fieldMapping; }
74 inline bool FieldMappingHasBeenSet() const { return m_fieldMappingHasBeenSet; }
75 template<typename FieldMappingT = OpenSearchManagedClusterFieldMapping>
76 void SetFieldMapping(FieldMappingT&& value) { m_fieldMappingHasBeenSet = true; m_fieldMapping = std::forward<FieldMappingT>(value); }
77 template<typename FieldMappingT = OpenSearchManagedClusterFieldMapping>
78 OpenSearchManagedClusterConfiguration& WithFieldMapping(FieldMappingT&& value) { SetFieldMapping(std::forward<FieldMappingT>(value)); return *this;}
80
82
85 inline const Aws::String& GetVectorIndexName() const { return m_vectorIndexName; }
86 inline bool VectorIndexNameHasBeenSet() const { return m_vectorIndexNameHasBeenSet; }
87 template<typename VectorIndexNameT = Aws::String>
88 void SetVectorIndexName(VectorIndexNameT&& value) { m_vectorIndexNameHasBeenSet = true; m_vectorIndexName = std::forward<VectorIndexNameT>(value); }
89 template<typename VectorIndexNameT = Aws::String>
90 OpenSearchManagedClusterConfiguration& WithVectorIndexName(VectorIndexNameT&& value) { SetVectorIndexName(std::forward<VectorIndexNameT>(value)); return *this;}
92 private:
93
94 Aws::String m_domainArn;
95 bool m_domainArnHasBeenSet = false;
96
97 Aws::String m_domainEndpoint;
98 bool m_domainEndpointHasBeenSet = false;
99
101 bool m_fieldMappingHasBeenSet = false;
102
103 Aws::String m_vectorIndexName;
104 bool m_vectorIndexNameHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace BedrockAgent
109} // namespace Aws
OpenSearchManagedClusterConfiguration & WithDomainArn(DomainArnT &&value)
AWS_BEDROCKAGENT_API OpenSearchManagedClusterConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API OpenSearchManagedClusterConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
OpenSearchManagedClusterConfiguration & WithFieldMapping(FieldMappingT &&value)
OpenSearchManagedClusterConfiguration & WithVectorIndexName(VectorIndexNameT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API OpenSearchManagedClusterConfiguration()=default
OpenSearchManagedClusterConfiguration & WithDomainEndpoint(DomainEndpointT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue