AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
VectorSearchRerankingConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/VectorSearchBedrockRerankingConfiguration.h>
9#include <aws/bedrock-agent-runtime/model/VectorSearchRerankingConfigurationType.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 BedrockAgentRuntime
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCKAGENTRUNTIME_API VectorSearchRerankingConfiguration() = default;
37 AWS_BEDROCKAGENTRUNTIME_API VectorSearchRerankingConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const VectorSearchBedrockRerankingConfiguration& GetBedrockRerankingConfiguration() const { return m_bedrockRerankingConfiguration; }
47 inline bool BedrockRerankingConfigurationHasBeenSet() const { return m_bedrockRerankingConfigurationHasBeenSet; }
48 template<typename BedrockRerankingConfigurationT = VectorSearchBedrockRerankingConfiguration>
49 void SetBedrockRerankingConfiguration(BedrockRerankingConfigurationT&& value) { m_bedrockRerankingConfigurationHasBeenSet = true; m_bedrockRerankingConfiguration = std::forward<BedrockRerankingConfigurationT>(value); }
50 template<typename BedrockRerankingConfigurationT = VectorSearchBedrockRerankingConfiguration>
51 VectorSearchRerankingConfiguration& WithBedrockRerankingConfiguration(BedrockRerankingConfigurationT&& value) { SetBedrockRerankingConfiguration(std::forward<BedrockRerankingConfigurationT>(value)); return *this;}
53
55
58 inline VectorSearchRerankingConfigurationType GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(VectorSearchRerankingConfigurationType value) { m_typeHasBeenSet = true; m_type = value; }
63 private:
64
65 VectorSearchBedrockRerankingConfiguration m_bedrockRerankingConfiguration;
66 bool m_bedrockRerankingConfigurationHasBeenSet = false;
67
69 bool m_typeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace BedrockAgentRuntime
74} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API VectorSearchRerankingConfiguration()=default
AWS_BEDROCKAGENTRUNTIME_API VectorSearchRerankingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API VectorSearchRerankingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
VectorSearchRerankingConfiguration & WithBedrockRerankingConfiguration(BedrockRerankingConfigurationT &&value)
VectorSearchRerankingConfiguration & WithType(VectorSearchRerankingConfigurationType value)
const VectorSearchBedrockRerankingConfiguration & GetBedrockRerankingConfiguration() const
Aws::Utils::Json::JsonValue JsonValue