AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
MetadataConfigurationForReranking.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/RerankingMetadataSelectionMode.h>
9#include <aws/bedrock-agent-runtime/model/RerankingMetadataSelectiveModeConfiguration.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
34 {
35 public:
36 AWS_BEDROCKAGENTRUNTIME_API MetadataConfigurationForReranking() = default;
37 AWS_BEDROCKAGENTRUNTIME_API MetadataConfigurationForReranking(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline RerankingMetadataSelectionMode GetSelectionMode() const { return m_selectionMode; }
49 inline bool SelectionModeHasBeenSet() const { return m_selectionModeHasBeenSet; }
50 inline void SetSelectionMode(RerankingMetadataSelectionMode value) { m_selectionModeHasBeenSet = true; m_selectionMode = value; }
53
55
59 inline const RerankingMetadataSelectiveModeConfiguration& GetSelectiveModeConfiguration() const { return m_selectiveModeConfiguration; }
60 inline bool SelectiveModeConfigurationHasBeenSet() const { return m_selectiveModeConfigurationHasBeenSet; }
61 template<typename SelectiveModeConfigurationT = RerankingMetadataSelectiveModeConfiguration>
62 void SetSelectiveModeConfiguration(SelectiveModeConfigurationT&& value) { m_selectiveModeConfigurationHasBeenSet = true; m_selectiveModeConfiguration = std::forward<SelectiveModeConfigurationT>(value); }
63 template<typename SelectiveModeConfigurationT = RerankingMetadataSelectiveModeConfiguration>
64 MetadataConfigurationForReranking& WithSelectiveModeConfiguration(SelectiveModeConfigurationT&& value) { SetSelectiveModeConfiguration(std::forward<SelectiveModeConfigurationT>(value)); return *this;}
66 private:
67
69 bool m_selectionModeHasBeenSet = false;
70
71 RerankingMetadataSelectiveModeConfiguration m_selectiveModeConfiguration;
72 bool m_selectiveModeConfigurationHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace BedrockAgentRuntime
77} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
MetadataConfigurationForReranking & WithSelectiveModeConfiguration(SelectiveModeConfigurationT &&value)
AWS_BEDROCKAGENTRUNTIME_API MetadataConfigurationForReranking(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API MetadataConfigurationForReranking & operator=(Aws::Utils::Json::JsonView jsonValue)
const RerankingMetadataSelectiveModeConfiguration & GetSelectiveModeConfiguration() const
AWS_BEDROCKAGENTRUNTIME_API MetadataConfigurationForReranking()=default
MetadataConfigurationForReranking & WithSelectionMode(RerankingMetadataSelectionMode value)
Aws::Utils::Json::JsonValue JsonValue