AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
AgenticRetrieveBedrockRerankingConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AgenticRetrieveBedrockRerankingModelConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentRuntime {
20namespace Model {
21
28 public:
29 AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveBedrockRerankingConfiguration() = default;
32 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const AgenticRetrieveBedrockRerankingModelConfiguration& GetModelConfiguration() const { return m_modelConfiguration; }
39 inline bool ModelConfigurationHasBeenSet() const { return m_modelConfigurationHasBeenSet; }
40 template <typename ModelConfigurationT = AgenticRetrieveBedrockRerankingModelConfiguration>
42 m_modelConfigurationHasBeenSet = true;
43 m_modelConfiguration = std::forward<ModelConfigurationT>(value);
44 }
45 template <typename ModelConfigurationT = AgenticRetrieveBedrockRerankingModelConfiguration>
47 SetModelConfiguration(std::forward<ModelConfigurationT>(value));
48 return *this;
49 }
51 private:
53 bool m_modelConfigurationHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace BedrockAgentRuntime
58} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveBedrockRerankingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveBedrockRerankingConfiguration()=default
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveBedrockRerankingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AgenticRetrieveBedrockRerankingConfiguration & WithModelConfiguration(ModelConfigurationT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue