AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
VectorSearchRerankingConfiguration.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/VectorSearchRerankingConfigurationType.h>
9#include <aws/bedrock/model/VectorSearchBedrockRerankingConfiguration.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 Bedrock
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_BEDROCK_API VectorSearchRerankingConfiguration() = default;
41 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline VectorSearchRerankingConfigurationType GetType() const { return m_type; }
51 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
52 inline void SetType(VectorSearchRerankingConfigurationType value) { m_typeHasBeenSet = true; m_type = value; }
55
57
61 inline const VectorSearchBedrockRerankingConfiguration& GetBedrockRerankingConfiguration() const { return m_bedrockRerankingConfiguration; }
62 inline bool BedrockRerankingConfigurationHasBeenSet() const { return m_bedrockRerankingConfigurationHasBeenSet; }
63 template<typename BedrockRerankingConfigurationT = VectorSearchBedrockRerankingConfiguration>
64 void SetBedrockRerankingConfiguration(BedrockRerankingConfigurationT&& value) { m_bedrockRerankingConfigurationHasBeenSet = true; m_bedrockRerankingConfiguration = std::forward<BedrockRerankingConfigurationT>(value); }
65 template<typename BedrockRerankingConfigurationT = VectorSearchBedrockRerankingConfiguration>
66 VectorSearchRerankingConfiguration& WithBedrockRerankingConfiguration(BedrockRerankingConfigurationT&& value) { SetBedrockRerankingConfiguration(std::forward<BedrockRerankingConfigurationT>(value)); return *this;}
68 private:
69
71 bool m_typeHasBeenSet = false;
72
73 VectorSearchBedrockRerankingConfiguration m_bedrockRerankingConfiguration;
74 bool m_bedrockRerankingConfigurationHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Bedrock
79} // namespace Aws
VectorSearchRerankingConfiguration & WithBedrockRerankingConfiguration(BedrockRerankingConfigurationT &&value)
VectorSearchRerankingConfiguration & WithType(VectorSearchRerankingConfigurationType value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const VectorSearchBedrockRerankingConfiguration & GetBedrockRerankingConfiguration() const
AWS_BEDROCK_API VectorSearchRerankingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(VectorSearchRerankingConfigurationType value)
void SetBedrockRerankingConfiguration(BedrockRerankingConfigurationT &&value)
AWS_BEDROCK_API VectorSearchRerankingConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue