AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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