7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/EvaluationDatasetMetricConfig.h>
9#include <aws/bedrock/model/HumanEvaluationCustomMetric.h>
10#include <aws/bedrock/model/HumanWorkflowConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
58 template <
typename HumanWorkflowConfigT = HumanWorkflowConfig>
60 m_humanWorkflowConfigHasBeenSet =
true;
61 m_humanWorkflowConfig = std::forward<HumanWorkflowConfigT>(value);
63 template <
typename HumanWorkflowConfigT = HumanWorkflowConfig>
77 template <
typename CustomMetricsT = Aws::Vector<HumanEvaluationCustomMetric>>
79 m_customMetricsHasBeenSet =
true;
80 m_customMetrics = std::forward<CustomMetricsT>(value);
82 template <
typename CustomMetricsT = Aws::Vector<HumanEvaluationCustomMetric>>
87 template <
typename CustomMetricsT = HumanEvaluationCustomMetric>
89 m_customMetricsHasBeenSet =
true;
90 m_customMetrics.emplace_back(std::forward<CustomMetricsT>(value));
102 template <
typename DatasetMetricConfigsT = Aws::Vector<EvaluationDatasetMetricConfig>>
104 m_datasetMetricConfigsHasBeenSet =
true;
105 m_datasetMetricConfigs = std::forward<DatasetMetricConfigsT>(value);
107 template <
typename DatasetMetricConfigsT = Aws::Vector<EvaluationDatasetMetricConfig>>
112 template <
typename DatasetMetricConfigsT = EvaluationDatasetMetricConfig>
114 m_datasetMetricConfigsHasBeenSet =
true;
115 m_datasetMetricConfigs.emplace_back(std::forward<DatasetMetricConfigsT>(value));
121 bool m_humanWorkflowConfigHasBeenSet =
false;
124 bool m_customMetricsHasBeenSet =
false;
127 bool m_datasetMetricConfigsHasBeenSet =
false;
bool DatasetMetricConfigsHasBeenSet() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
HumanEvaluationConfig & WithCustomMetrics(CustomMetricsT &&value)
AWS_BEDROCK_API HumanEvaluationConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API HumanEvaluationConfig()=default
void SetCustomMetrics(CustomMetricsT &&value)
void SetDatasetMetricConfigs(DatasetMetricConfigsT &&value)
void SetHumanWorkflowConfig(HumanWorkflowConfigT &&value)
HumanEvaluationConfig & WithDatasetMetricConfigs(DatasetMetricConfigsT &&value)
bool HumanWorkflowConfigHasBeenSet() const
bool CustomMetricsHasBeenSet() const
HumanEvaluationConfig & WithHumanWorkflowConfig(HumanWorkflowConfigT &&value)
const HumanWorkflowConfig & GetHumanWorkflowConfig() const
AWS_BEDROCK_API HumanEvaluationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
HumanEvaluationConfig & AddDatasetMetricConfigs(DatasetMetricConfigsT &&value)
HumanEvaluationConfig & AddCustomMetrics(CustomMetricsT &&value)
const Aws::Vector< HumanEvaluationCustomMetric > & GetCustomMetrics() const
const Aws::Vector< EvaluationDatasetMetricConfig > & GetDatasetMetricConfigs() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue