AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
30 public:
31 AWS_BEDROCKAGENTRUNTIME_API VectorSearchRerankingConfiguration() = default;
34 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 return m_bedrockRerankingConfiguration;
42 }
43 inline bool BedrockRerankingConfigurationHasBeenSet() const { return m_bedrockRerankingConfigurationHasBeenSet; }
44 template <typename BedrockRerankingConfigurationT = VectorSearchBedrockRerankingConfiguration>
46 m_bedrockRerankingConfigurationHasBeenSet = true;
47 m_bedrockRerankingConfiguration = std::forward<BedrockRerankingConfigurationT>(value);
48 }
49 template <typename BedrockRerankingConfigurationT = VectorSearchBedrockRerankingConfiguration>
51 SetBedrockRerankingConfiguration(std::forward<BedrockRerankingConfigurationT>(value));
52 return *this;
53 }
55
57
60 inline VectorSearchRerankingConfigurationType GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 m_typeHasBeenSet = true;
64 m_type = value;
65 }
67 SetType(value);
68 return *this;
69 }
71 private:
72 VectorSearchBedrockRerankingConfiguration m_bedrockRerankingConfiguration;
73
75 bool m_bedrockRerankingConfigurationHasBeenSet = false;
76 bool m_typeHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace BedrockAgentRuntime
81} // 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
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue