AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
EvaluationPrecomputedRagSourceConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/EvaluationPrecomputedRetrieveSourceConfig.h>
9#include <aws/bedrock/model/EvaluationPrecomputedRetrieveAndGenerateSourceConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Bedrock
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCK_API EvaluationPrecomputedRagSourceConfig() = default;
39 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const EvaluationPrecomputedRetrieveSourceConfig& GetRetrieveSourceConfig() const { return m_retrieveSourceConfig; }
48 inline bool RetrieveSourceConfigHasBeenSet() const { return m_retrieveSourceConfigHasBeenSet; }
49 template<typename RetrieveSourceConfigT = EvaluationPrecomputedRetrieveSourceConfig>
50 void SetRetrieveSourceConfig(RetrieveSourceConfigT&& value) { m_retrieveSourceConfigHasBeenSet = true; m_retrieveSourceConfig = std::forward<RetrieveSourceConfigT>(value); }
51 template<typename RetrieveSourceConfigT = EvaluationPrecomputedRetrieveSourceConfig>
52 EvaluationPrecomputedRagSourceConfig& WithRetrieveSourceConfig(RetrieveSourceConfigT&& value) { SetRetrieveSourceConfig(std::forward<RetrieveSourceConfigT>(value)); return *this;}
54
56
60 inline const EvaluationPrecomputedRetrieveAndGenerateSourceConfig& GetRetrieveAndGenerateSourceConfig() const { return m_retrieveAndGenerateSourceConfig; }
61 inline bool RetrieveAndGenerateSourceConfigHasBeenSet() const { return m_retrieveAndGenerateSourceConfigHasBeenSet; }
62 template<typename RetrieveAndGenerateSourceConfigT = EvaluationPrecomputedRetrieveAndGenerateSourceConfig>
63 void SetRetrieveAndGenerateSourceConfig(RetrieveAndGenerateSourceConfigT&& value) { m_retrieveAndGenerateSourceConfigHasBeenSet = true; m_retrieveAndGenerateSourceConfig = std::forward<RetrieveAndGenerateSourceConfigT>(value); }
64 template<typename RetrieveAndGenerateSourceConfigT = EvaluationPrecomputedRetrieveAndGenerateSourceConfig>
65 EvaluationPrecomputedRagSourceConfig& WithRetrieveAndGenerateSourceConfig(RetrieveAndGenerateSourceConfigT&& value) { SetRetrieveAndGenerateSourceConfig(std::forward<RetrieveAndGenerateSourceConfigT>(value)); return *this;}
67 private:
68
69 EvaluationPrecomputedRetrieveSourceConfig m_retrieveSourceConfig;
70 bool m_retrieveSourceConfigHasBeenSet = false;
71
72 EvaluationPrecomputedRetrieveAndGenerateSourceConfig m_retrieveAndGenerateSourceConfig;
73 bool m_retrieveAndGenerateSourceConfigHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Bedrock
78} // namespace Aws
const EvaluationPrecomputedRetrieveAndGenerateSourceConfig & GetRetrieveAndGenerateSourceConfig() const
EvaluationPrecomputedRagSourceConfig & WithRetrieveAndGenerateSourceConfig(RetrieveAndGenerateSourceConfigT &&value)
AWS_BEDROCK_API EvaluationPrecomputedRagSourceConfig(Aws::Utils::Json::JsonView jsonValue)
void SetRetrieveAndGenerateSourceConfig(RetrieveAndGenerateSourceConfigT &&value)
EvaluationPrecomputedRagSourceConfig & WithRetrieveSourceConfig(RetrieveSourceConfigT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const EvaluationPrecomputedRetrieveSourceConfig & GetRetrieveSourceConfig() const
AWS_BEDROCK_API EvaluationPrecomputedRagSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue