AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
EvaluationInferenceConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock/model/EvaluationModelConfig.h>
10#include <aws/bedrock/model/RAGConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Bedrock
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_BEDROCK_API EvaluationInferenceConfig() = default;
42 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Vector<EvaluationModelConfig>& GetModels() const { return m_models; }
50 inline bool ModelsHasBeenSet() const { return m_modelsHasBeenSet; }
51 template<typename ModelsT = Aws::Vector<EvaluationModelConfig>>
52 void SetModels(ModelsT&& value) { m_modelsHasBeenSet = true; m_models = std::forward<ModelsT>(value); }
53 template<typename ModelsT = Aws::Vector<EvaluationModelConfig>>
54 EvaluationInferenceConfig& WithModels(ModelsT&& value) { SetModels(std::forward<ModelsT>(value)); return *this;}
55 template<typename ModelsT = EvaluationModelConfig>
56 EvaluationInferenceConfig& AddModels(ModelsT&& value) { m_modelsHasBeenSet = true; m_models.emplace_back(std::forward<ModelsT>(value)); return *this; }
58
60
65 inline const Aws::Vector<RAGConfig>& GetRagConfigs() const { return m_ragConfigs; }
66 inline bool RagConfigsHasBeenSet() const { return m_ragConfigsHasBeenSet; }
67 template<typename RagConfigsT = Aws::Vector<RAGConfig>>
68 void SetRagConfigs(RagConfigsT&& value) { m_ragConfigsHasBeenSet = true; m_ragConfigs = std::forward<RagConfigsT>(value); }
69 template<typename RagConfigsT = Aws::Vector<RAGConfig>>
70 EvaluationInferenceConfig& WithRagConfigs(RagConfigsT&& value) { SetRagConfigs(std::forward<RagConfigsT>(value)); return *this;}
71 template<typename RagConfigsT = RAGConfig>
72 EvaluationInferenceConfig& AddRagConfigs(RagConfigsT&& value) { m_ragConfigsHasBeenSet = true; m_ragConfigs.emplace_back(std::forward<RagConfigsT>(value)); return *this; }
74 private:
75
77 bool m_modelsHasBeenSet = false;
78
79 Aws::Vector<RAGConfig> m_ragConfigs;
80 bool m_ragConfigsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Bedrock
85} // 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::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue