7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AgenticRetrieveRerankingConfiguration.h>
9#include <aws/bedrock-agent-runtime/model/AgenticRetrieveRerankingModelType.h>
10#include <aws/bedrock-agent-runtime/model/FoundationModelConfiguration.h>
11#include <aws/bedrock-agent-runtime/model/FoundationModelType.h>
22namespace BedrockAgentRuntime {
45 template <
typename FoundationModelConfigurationT = FoundationModelConfiguration>
47 m_foundationModelConfigurationHasBeenSet =
true;
48 m_foundationModelConfiguration = std::forward<FoundationModelConfigurationT>(value);
50 template <
typename FoundationModelConfigurationT = FoundationModelConfiguration>
65 m_foundationModelTypeHasBeenSet =
true;
66 m_foundationModelType = value;
81 m_maxAgentIterationHasBeenSet =
true;
82 m_maxAgentIteration = value;
97 template <
typename RerankingConfigurationT = AgenticRetrieveRerankingConfiguration>
99 m_rerankingConfigurationHasBeenSet =
true;
100 m_rerankingConfiguration = std::forward<RerankingConfigurationT>(value);
102 template <
typename RerankingConfigurationT = AgenticRetrieveRerankingConfiguration>
118 m_rerankingModelTypeHasBeenSet =
true;
119 m_rerankingModelType = value;
131 int m_maxAgentIteration{0};
133 AgenticRetrieveRerankingConfiguration m_rerankingConfiguration;
136 bool m_foundationModelConfigurationHasBeenSet =
false;
137 bool m_foundationModelTypeHasBeenSet =
false;
138 bool m_maxAgentIterationHasBeenSet =
false;
139 bool m_rerankingConfigurationHasBeenSet =
false;
140 bool m_rerankingModelTypeHasBeenSet =
false;
AgenticRetrieveConfiguration & WithFoundationModelType(FoundationModelType value)
const AgenticRetrieveRerankingConfiguration & GetRerankingConfiguration() const
void SetMaxAgentIteration(int value)
bool MaxAgentIterationHasBeenSet() const
void SetRerankingConfiguration(RerankingConfigurationT &&value)
bool FoundationModelConfigurationHasBeenSet() const
AgenticRetrieveConfiguration & WithMaxAgentIteration(int value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool FoundationModelTypeHasBeenSet() const
AgenticRetrieveConfiguration & WithFoundationModelConfiguration(FoundationModelConfigurationT &&value)
FoundationModelType GetFoundationModelType() const
AgenticRetrieveRerankingModelType GetRerankingModelType() const
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetFoundationModelConfiguration(FoundationModelConfigurationT &&value)
bool RerankingModelTypeHasBeenSet() const
AgenticRetrieveConfiguration & WithRerankingModelType(AgenticRetrieveRerankingModelType value)
AgenticRetrieveConfiguration & WithRerankingConfiguration(RerankingConfigurationT &&value)
void SetFoundationModelType(FoundationModelType value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveConfiguration()=default
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RerankingConfigurationHasBeenSet() const
void SetRerankingModelType(AgenticRetrieveRerankingModelType value)
int GetMaxAgentIteration() const
const FoundationModelConfiguration & GetFoundationModelConfiguration() const
AgenticRetrieveRerankingModelType
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue