AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
MetadataConfigurationForReranking.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/RerankingMetadataSelectionMode.h>
9#include <aws/bedrock/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 Bedrock
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_BEDROCK_API MetadataConfigurationForReranking() = default;
41 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline RerankingMetadataSelectionMode GetSelectionMode() const { return m_selectionMode; }
51 inline bool SelectionModeHasBeenSet() const { return m_selectionModeHasBeenSet; }
52 inline void SetSelectionMode(RerankingMetadataSelectionMode value) { m_selectionModeHasBeenSet = true; m_selectionMode = value; }
55
57
62 inline const RerankingMetadataSelectiveModeConfiguration& GetSelectiveModeConfiguration() const { return m_selectiveModeConfiguration; }
63 inline bool SelectiveModeConfigurationHasBeenSet() const { return m_selectiveModeConfigurationHasBeenSet; }
64 template<typename SelectiveModeConfigurationT = RerankingMetadataSelectiveModeConfiguration>
65 void SetSelectiveModeConfiguration(SelectiveModeConfigurationT&& value) { m_selectiveModeConfigurationHasBeenSet = true; m_selectiveModeConfiguration = std::forward<SelectiveModeConfigurationT>(value); }
66 template<typename SelectiveModeConfigurationT = RerankingMetadataSelectiveModeConfiguration>
67 MetadataConfigurationForReranking& WithSelectiveModeConfiguration(SelectiveModeConfigurationT&& value) { SetSelectiveModeConfiguration(std::forward<SelectiveModeConfigurationT>(value)); return *this;}
69 private:
70
72 bool m_selectionModeHasBeenSet = false;
73
74 RerankingMetadataSelectiveModeConfiguration m_selectiveModeConfiguration;
75 bool m_selectiveModeConfigurationHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Bedrock
80} // namespace Aws
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const RerankingMetadataSelectiveModeConfiguration & GetSelectiveModeConfiguration() const
MetadataConfigurationForReranking & WithSelectionMode(RerankingMetadataSelectionMode value)
AWS_BEDROCK_API MetadataConfigurationForReranking(Aws::Utils::Json::JsonView jsonValue)
MetadataConfigurationForReranking & WithSelectiveModeConfiguration(SelectiveModeConfigurationT &&value)
void SetSelectiveModeConfiguration(SelectiveModeConfigurationT &&value)
AWS_BEDROCK_API MetadataConfigurationForReranking & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue