7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/RerankTextDocument.h>
9#include <aws/bedrock-agent-runtime/model/RerankQueryContentType.h>
22namespace BedrockAgentRuntime
48 template<
typename TextQueryT = RerankTextDocument>
49 void SetTextQuery(TextQueryT&& value) { m_textQueryHasBeenSet =
true; m_textQuery = std::forward<TextQueryT>(value); }
50 template<
typename TextQueryT = RerankTextDocument>
66 bool m_textQueryHasBeenSet =
false;
69 bool m_typeHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API RerankQuery(Aws::Utils::Json::JsonView jsonValue)
const RerankTextDocument & GetTextQuery() const
void SetType(RerankQueryContentType value)
AWS_BEDROCKAGENTRUNTIME_API RerankQuery()=default
RerankQuery & WithType(RerankQueryContentType value)
bool TextQueryHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API RerankQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTextQuery(TextQueryT &&value)
RerankQuery & WithTextQuery(TextQueryT &&value)
bool TypeHasBeenSet() const
RerankQueryContentType GetType() const
Aws::Utils::Json::JsonValue JsonValue