AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
EvaluationInferenceConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/EvaluationModelConfig.h>
9#include <aws/bedrock/model/RAGConfig.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Bedrock {
22namespace Model {
23
33 public:
34 AWS_BEDROCK_API EvaluationInferenceConfig() = default;
37 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::Vector<EvaluationModelConfig>& GetModels() const { return m_models; }
44 inline bool ModelsHasBeenSet() const { return m_modelsHasBeenSet; }
45 template <typename ModelsT = Aws::Vector<EvaluationModelConfig>>
46 void SetModels(ModelsT&& value) {
47 m_modelsHasBeenSet = true;
48 m_models = std::forward<ModelsT>(value);
49 }
50 template <typename ModelsT = Aws::Vector<EvaluationModelConfig>>
52 SetModels(std::forward<ModelsT>(value));
53 return *this;
54 }
55 template <typename ModelsT = EvaluationModelConfig>
57 m_modelsHasBeenSet = true;
58 m_models.emplace_back(std::forward<ModelsT>(value));
59 return *this;
60 }
62
64
69 inline const Aws::Vector<RAGConfig>& GetRagConfigs() const { return m_ragConfigs; }
70 inline bool RagConfigsHasBeenSet() const { return m_ragConfigsHasBeenSet; }
71 template <typename RagConfigsT = Aws::Vector<RAGConfig>>
72 void SetRagConfigs(RagConfigsT&& value) {
73 m_ragConfigsHasBeenSet = true;
74 m_ragConfigs = std::forward<RagConfigsT>(value);
75 }
76 template <typename RagConfigsT = Aws::Vector<RAGConfig>>
78 SetRagConfigs(std::forward<RagConfigsT>(value));
79 return *this;
80 }
81 template <typename RagConfigsT = RAGConfig>
83 m_ragConfigsHasBeenSet = true;
84 m_ragConfigs.emplace_back(std::forward<RagConfigsT>(value));
85 return *this;
86 }
88 private:
90
91 Aws::Vector<RAGConfig> m_ragConfigs;
92 bool m_modelsHasBeenSet = false;
93 bool m_ragConfigsHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace Bedrock
98} // namespace Aws
EvaluationInferenceConfig & AddRagConfigs(RagConfigsT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< EvaluationModelConfig > & GetModels() const
const Aws::Vector< RAGConfig > & GetRagConfigs() const
EvaluationInferenceConfig & AddModels(ModelsT &&value)
EvaluationInferenceConfig & WithRagConfigs(RagConfigsT &&value)
AWS_BEDROCK_API EvaluationInferenceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
EvaluationInferenceConfig & WithModels(ModelsT &&value)
AWS_BEDROCK_API EvaluationInferenceConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API EvaluationInferenceConfig()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue