7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/Document.h>
9#include <aws/bedrock-agent-runtime/model/RerankTextDocument.h>
10#include <aws/bedrock-agent-runtime/model/RerankDocumentType.h>
23namespace BedrockAgentRuntime
50 template<
typename JsonDocumentT = Aws::Utils::Document>
51 void SetJsonDocument(JsonDocumentT&& value) { m_jsonDocumentHasBeenSet =
true; m_jsonDocument = std::forward<JsonDocumentT>(value); }
52 template<
typename JsonDocumentT = Aws::Utils::Document>
62 template<
typename TextDocumentT = RerankTextDocument>
63 void SetTextDocument(TextDocumentT&& value) { m_textDocumentHasBeenSet =
true; m_textDocument = std::forward<TextDocumentT>(value); }
64 template<
typename TextDocumentT = RerankTextDocument>
80 bool m_jsonDocumentHasBeenSet =
false;
83 bool m_textDocumentHasBeenSet =
false;
86 bool m_typeHasBeenSet =
false;
void SetJsonDocument(JsonDocumentT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
RerankDocument & WithType(RerankDocumentType value)
RerankDocument & WithTextDocument(TextDocumentT &&value)
bool JsonDocumentHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API RerankDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::DocumentView GetJsonDocument() const
void SetTextDocument(TextDocumentT &&value)
AWS_BEDROCKAGENTRUNTIME_API RerankDocument()=default
RerankDocumentType GetType() const
bool TypeHasBeenSet() const
bool TextDocumentHasBeenSet() const
RerankDocument & WithJsonDocument(JsonDocumentT &&value)
void SetType(RerankDocumentType value)
AWS_BEDROCKAGENTRUNTIME_API RerankDocument(Aws::Utils::Json::JsonView jsonValue)
const RerankTextDocument & GetTextDocument() const
Aws::Utils::Json::JsonValue JsonValue