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/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/RerankingMetadataSelectionMode.h>
9#include <aws/bedrock-agent/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 BedrockAgent
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCKAGENT_API MetadataConfigurationForReranking() = default;
39 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline RerankingMetadataSelectionMode GetSelectionMode() const { return m_selectionMode; }
47 inline bool SelectionModeHasBeenSet() const { return m_selectionModeHasBeenSet; }
48 inline void SetSelectionMode(RerankingMetadataSelectionMode value) { m_selectionModeHasBeenSet = true; m_selectionMode = value; }
51
53
57 inline const RerankingMetadataSelectiveModeConfiguration& GetSelectiveModeConfiguration() const { return m_selectiveModeConfiguration; }
58 inline bool SelectiveModeConfigurationHasBeenSet() const { return m_selectiveModeConfigurationHasBeenSet; }
59 template<typename SelectiveModeConfigurationT = RerankingMetadataSelectiveModeConfiguration>
60 void SetSelectiveModeConfiguration(SelectiveModeConfigurationT&& value) { m_selectiveModeConfigurationHasBeenSet = true; m_selectiveModeConfiguration = std::forward<SelectiveModeConfigurationT>(value); }
61 template<typename SelectiveModeConfigurationT = RerankingMetadataSelectiveModeConfiguration>
62 MetadataConfigurationForReranking& WithSelectiveModeConfiguration(SelectiveModeConfigurationT&& value) { SetSelectiveModeConfiguration(std::forward<SelectiveModeConfigurationT>(value)); return *this;}
64 private:
65
67 bool m_selectionModeHasBeenSet = false;
68
69 RerankingMetadataSelectiveModeConfiguration m_selectiveModeConfiguration;
70 bool m_selectiveModeConfigurationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace BedrockAgent
75} // namespace Aws
AWS_BEDROCKAGENT_API MetadataConfigurationForReranking(Aws::Utils::Json::JsonView jsonValue)
MetadataConfigurationForReranking & WithSelectionMode(RerankingMetadataSelectionMode value)
MetadataConfigurationForReranking & WithSelectiveModeConfiguration(SelectiveModeConfigurationT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API MetadataConfigurationForReranking & operator=(Aws::Utils::Json::JsonView jsonValue)
const RerankingMetadataSelectiveModeConfiguration & GetSelectiveModeConfiguration() const
AWS_BEDROCKAGENT_API MetadataConfigurationForReranking()=default
Aws::Utils::Json::JsonValue JsonValue