7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/RerankDocument.h>
9#include <aws/bedrock-agent-runtime/model/RerankSourceType.h>
20namespace BedrockAgentRuntime {
42 template <
typename InlineDocumentSourceT = RerankDocument>
44 m_inlineDocumentSourceHasBeenSet =
true;
45 m_inlineDocumentSource = std::forward<InlineDocumentSourceT>(value);
47 template <
typename InlineDocumentSourceT = RerankDocument>
61 m_typeHasBeenSet =
true;
73 bool m_inlineDocumentSourceHasBeenSet =
false;
74 bool m_typeHasBeenSet =
false;
RerankSource & WithInlineDocumentSource(InlineDocumentSourceT &&value)
const RerankDocument & GetInlineDocumentSource() const
AWS_BEDROCKAGENTRUNTIME_API RerankSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInlineDocumentSource(InlineDocumentSourceT &&value)
void SetType(RerankSourceType value)
RerankSourceType GetType() const
AWS_BEDROCKAGENTRUNTIME_API RerankSource(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool InlineDocumentSourceHasBeenSet() const
bool TypeHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API RerankSource()=default
RerankSource & WithType(RerankSourceType value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue