AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
AgenticRetrieveRerankingConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AgenticRetrieveBedrockRerankingConfiguration.h>
9#include <aws/bedrock-agent-runtime/model/AgenticRetrieveRerankingConfigurationType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
29 public:
30 AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveRerankingConfiguration() = default;
33 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 return m_bedrockRerankingConfiguration;
41 }
42 inline bool BedrockRerankingConfigurationHasBeenSet() const { return m_bedrockRerankingConfigurationHasBeenSet; }
43 template <typename BedrockRerankingConfigurationT = AgenticRetrieveBedrockRerankingConfiguration>
45 m_bedrockRerankingConfigurationHasBeenSet = true;
46 m_bedrockRerankingConfiguration = std::forward<BedrockRerankingConfigurationT>(value);
47 }
48 template <typename BedrockRerankingConfigurationT = AgenticRetrieveBedrockRerankingConfiguration>
50 SetBedrockRerankingConfiguration(std::forward<BedrockRerankingConfigurationT>(value));
51 return *this;
52 }
54
56
59 inline AgenticRetrieveRerankingConfigurationType GetType() const { return m_type; }
60 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 m_typeHasBeenSet = true;
63 m_type = value;
64 }
66 SetType(value);
67 return *this;
68 }
70 private:
71 AgenticRetrieveBedrockRerankingConfiguration m_bedrockRerankingConfiguration;
72
74 bool m_bedrockRerankingConfigurationHasBeenSet = false;
75 bool m_typeHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace BedrockAgentRuntime
80} // namespace Aws
AgenticRetrieveRerankingConfiguration & WithType(AgenticRetrieveRerankingConfigurationType value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveRerankingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveRerankingConfiguration()=default
const AgenticRetrieveBedrockRerankingConfiguration & GetBedrockRerankingConfiguration() const
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveRerankingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AgenticRetrieveRerankingConfiguration & WithBedrockRerankingConfiguration(BedrockRerankingConfigurationT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue