AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RerankingConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/BedrockRerankingConfiguration.h>
9#include <aws/bedrock-agent-runtime/model/RerankingConfigurationType.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 BedrockAgentRuntime
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_BEDROCKAGENTRUNTIME_API RerankingConfiguration() = default;
36 AWS_BEDROCKAGENTRUNTIME_API RerankingConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKAGENTRUNTIME_API RerankingConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const BedrockRerankingConfiguration& GetBedrockRerankingConfiguration() const { return m_bedrockRerankingConfiguration; }
46 inline bool BedrockRerankingConfigurationHasBeenSet() const { return m_bedrockRerankingConfigurationHasBeenSet; }
47 template<typename BedrockRerankingConfigurationT = BedrockRerankingConfiguration>
48 void SetBedrockRerankingConfiguration(BedrockRerankingConfigurationT&& value) { m_bedrockRerankingConfigurationHasBeenSet = true; m_bedrockRerankingConfiguration = std::forward<BedrockRerankingConfigurationT>(value); }
49 template<typename BedrockRerankingConfigurationT = BedrockRerankingConfiguration>
50 RerankingConfiguration& WithBedrockRerankingConfiguration(BedrockRerankingConfigurationT&& value) { SetBedrockRerankingConfiguration(std::forward<BedrockRerankingConfigurationT>(value)); return *this;}
52
54
57 inline RerankingConfigurationType GetType() const { return m_type; }
58 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
59 inline void SetType(RerankingConfigurationType value) { m_typeHasBeenSet = true; m_type = value; }
60 inline RerankingConfiguration& WithType(RerankingConfigurationType value) { SetType(value); return *this;}
62 private:
63
64 BedrockRerankingConfiguration m_bedrockRerankingConfiguration;
65 bool m_bedrockRerankingConfigurationHasBeenSet = false;
66
68 bool m_typeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace BedrockAgentRuntime
73} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API RerankingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBedrockRerankingConfiguration(BedrockRerankingConfigurationT &&value)
RerankingConfiguration & WithBedrockRerankingConfiguration(BedrockRerankingConfigurationT &&value)
const BedrockRerankingConfiguration & GetBedrockRerankingConfiguration() const
AWS_BEDROCKAGENTRUNTIME_API RerankingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API RerankingConfiguration()=default
RerankingConfiguration & WithType(RerankingConfigurationType value)
Aws::Utils::Json::JsonValue JsonValue