AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
VectorSearchRerankingConfiguration.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/VectorSearchBedrockRerankingConfiguration.h>
9#include <aws/bedrock/model/VectorSearchRerankingConfigurationType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Bedrock {
21namespace Model {
22
32 public:
33 AWS_BEDROCK_API VectorSearchRerankingConfiguration() = default;
36 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline VectorSearchRerankingConfigurationType GetType() const { return m_type; }
45 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 m_typeHasBeenSet = true;
48 m_type = value;
49 }
51 SetType(value);
52 return *this;
53 }
55
57
62 return m_bedrockRerankingConfiguration;
63 }
64 inline bool BedrockRerankingConfigurationHasBeenSet() const { return m_bedrockRerankingConfigurationHasBeenSet; }
65 template <typename BedrockRerankingConfigurationT = VectorSearchBedrockRerankingConfiguration>
66 void SetBedrockRerankingConfiguration(BedrockRerankingConfigurationT&& value) {
67 m_bedrockRerankingConfigurationHasBeenSet = true;
68 m_bedrockRerankingConfiguration = std::forward<BedrockRerankingConfigurationT>(value);
69 }
70 template <typename BedrockRerankingConfigurationT = VectorSearchBedrockRerankingConfiguration>
72 SetBedrockRerankingConfiguration(std::forward<BedrockRerankingConfigurationT>(value));
73 return *this;
74 }
76 private:
78 bool m_typeHasBeenSet = false;
79
80 VectorSearchBedrockRerankingConfiguration m_bedrockRerankingConfiguration;
81 bool m_bedrockRerankingConfigurationHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace Bedrock
86} // 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