AWS SDK for C++

AWS SDK for C++ Version 1.11.753

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