7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/BedrockRerankingModelConfiguration.h>
21namespace BedrockAgentRuntime
47 template<
typename ModelConfigurationT = BedrockRerankingModelConfiguration>
48 void SetModelConfiguration(ModelConfigurationT&& value) { m_modelConfigurationHasBeenSet =
true; m_modelConfiguration = std::forward<ModelConfigurationT>(value); }
49 template<
typename ModelConfigurationT = BedrockRerankingModelConfiguration>
59 inline void SetNumberOfResults(
int value) { m_numberOfResultsHasBeenSet =
true; m_numberOfResults = value; }
65 bool m_modelConfigurationHasBeenSet =
false;
67 int m_numberOfResults{0};
68 bool m_numberOfResultsHasBeenSet =
false;
BedrockRerankingConfiguration & WithModelConfiguration(ModelConfigurationT &&value)
AWS_BEDROCKAGENTRUNTIME_API BedrockRerankingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API BedrockRerankingConfiguration()=default
bool ModelConfigurationHasBeenSet() const
void SetNumberOfResults(int value)
const BedrockRerankingModelConfiguration & GetModelConfiguration() const
bool NumberOfResultsHasBeenSet() const
BedrockRerankingConfiguration & WithNumberOfResults(int value)
AWS_BEDROCKAGENTRUNTIME_API BedrockRerankingConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetModelConfiguration(ModelConfigurationT &&value)
int GetNumberOfResults() const
Aws::Utils::Json::JsonValue JsonValue