AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
EvaluationPrecomputedRagSourceConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/EvaluationPrecomputedRetrieveAndGenerateSourceConfig.h>
9#include <aws/bedrock/model/EvaluationPrecomputedRetrieveSourceConfig.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Bedrock {
21namespace Model {
22
30 public:
31 AWS_BEDROCK_API EvaluationPrecomputedRagSourceConfig() = default;
34 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const EvaluationPrecomputedRetrieveSourceConfig& GetRetrieveSourceConfig() const { return m_retrieveSourceConfig; }
42 inline bool RetrieveSourceConfigHasBeenSet() const { return m_retrieveSourceConfigHasBeenSet; }
43 template <typename RetrieveSourceConfigT = EvaluationPrecomputedRetrieveSourceConfig>
44 void SetRetrieveSourceConfig(RetrieveSourceConfigT&& value) {
45 m_retrieveSourceConfigHasBeenSet = true;
46 m_retrieveSourceConfig = std::forward<RetrieveSourceConfigT>(value);
47 }
48 template <typename RetrieveSourceConfigT = EvaluationPrecomputedRetrieveSourceConfig>
50 SetRetrieveSourceConfig(std::forward<RetrieveSourceConfigT>(value));
51 return *this;
52 }
54
56
61 return m_retrieveAndGenerateSourceConfig;
62 }
63 inline bool RetrieveAndGenerateSourceConfigHasBeenSet() const { return m_retrieveAndGenerateSourceConfigHasBeenSet; }
64 template <typename RetrieveAndGenerateSourceConfigT = EvaluationPrecomputedRetrieveAndGenerateSourceConfig>
65 void SetRetrieveAndGenerateSourceConfig(RetrieveAndGenerateSourceConfigT&& value) {
66 m_retrieveAndGenerateSourceConfigHasBeenSet = true;
67 m_retrieveAndGenerateSourceConfig = std::forward<RetrieveAndGenerateSourceConfigT>(value);
68 }
69 template <typename RetrieveAndGenerateSourceConfigT = EvaluationPrecomputedRetrieveAndGenerateSourceConfig>
71 SetRetrieveAndGenerateSourceConfig(std::forward<RetrieveAndGenerateSourceConfigT>(value));
72 return *this;
73 }
75 private:
76 EvaluationPrecomputedRetrieveSourceConfig m_retrieveSourceConfig;
77 bool m_retrieveSourceConfigHasBeenSet = false;
78
79 EvaluationPrecomputedRetrieveAndGenerateSourceConfig m_retrieveAndGenerateSourceConfig;
80 bool m_retrieveAndGenerateSourceConfigHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Bedrock
85} // 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