AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HumanEvaluationConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/HumanWorkflowConfig.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock/model/HumanEvaluationCustomMetric.h>
11#include <aws/bedrock/model/EvaluationDatasetMetricConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Bedrock
25{
26namespace Model
27{
28
50 {
51 public:
52 AWS_BEDROCK_API HumanEvaluationConfig();
55 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
56
57
59
62 inline const HumanWorkflowConfig& GetHumanWorkflowConfig() const{ return m_humanWorkflowConfig; }
63 inline bool HumanWorkflowConfigHasBeenSet() const { return m_humanWorkflowConfigHasBeenSet; }
64 inline void SetHumanWorkflowConfig(const HumanWorkflowConfig& value) { m_humanWorkflowConfigHasBeenSet = true; m_humanWorkflowConfig = value; }
65 inline void SetHumanWorkflowConfig(HumanWorkflowConfig&& value) { m_humanWorkflowConfigHasBeenSet = true; m_humanWorkflowConfig = std::move(value); }
69
71
75 inline const Aws::Vector<HumanEvaluationCustomMetric>& GetCustomMetrics() const{ return m_customMetrics; }
76 inline bool CustomMetricsHasBeenSet() const { return m_customMetricsHasBeenSet; }
77 inline void SetCustomMetrics(const Aws::Vector<HumanEvaluationCustomMetric>& value) { m_customMetricsHasBeenSet = true; m_customMetrics = value; }
78 inline void SetCustomMetrics(Aws::Vector<HumanEvaluationCustomMetric>&& value) { m_customMetricsHasBeenSet = true; m_customMetrics = std::move(value); }
81 inline HumanEvaluationConfig& AddCustomMetrics(const HumanEvaluationCustomMetric& value) { m_customMetricsHasBeenSet = true; m_customMetrics.push_back(value); return *this; }
82 inline HumanEvaluationConfig& AddCustomMetrics(HumanEvaluationCustomMetric&& value) { m_customMetricsHasBeenSet = true; m_customMetrics.push_back(std::move(value)); return *this; }
84
86
90 inline const Aws::Vector<EvaluationDatasetMetricConfig>& GetDatasetMetricConfigs() const{ return m_datasetMetricConfigs; }
91 inline bool DatasetMetricConfigsHasBeenSet() const { return m_datasetMetricConfigsHasBeenSet; }
92 inline void SetDatasetMetricConfigs(const Aws::Vector<EvaluationDatasetMetricConfig>& value) { m_datasetMetricConfigsHasBeenSet = true; m_datasetMetricConfigs = value; }
93 inline void SetDatasetMetricConfigs(Aws::Vector<EvaluationDatasetMetricConfig>&& value) { m_datasetMetricConfigsHasBeenSet = true; m_datasetMetricConfigs = std::move(value); }
96 inline HumanEvaluationConfig& AddDatasetMetricConfigs(const EvaluationDatasetMetricConfig& value) { m_datasetMetricConfigsHasBeenSet = true; m_datasetMetricConfigs.push_back(value); return *this; }
97 inline HumanEvaluationConfig& AddDatasetMetricConfigs(EvaluationDatasetMetricConfig&& value) { m_datasetMetricConfigsHasBeenSet = true; m_datasetMetricConfigs.push_back(std::move(value)); return *this; }
99 private:
100
101 HumanWorkflowConfig m_humanWorkflowConfig;
102 bool m_humanWorkflowConfigHasBeenSet = false;
103
105 bool m_customMetricsHasBeenSet = false;
106
107 Aws::Vector<EvaluationDatasetMetricConfig> m_datasetMetricConfigs;
108 bool m_datasetMetricConfigsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Bedrock
113} // namespace Aws
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
HumanEvaluationConfig & WithCustomMetrics(Aws::Vector< HumanEvaluationCustomMetric > &&value)
AWS_BEDROCK_API HumanEvaluationConfig(Aws::Utils::Json::JsonView jsonValue)
void SetHumanWorkflowConfig(const HumanWorkflowConfig &value)
void SetCustomMetrics(Aws::Vector< HumanEvaluationCustomMetric > &&value)
HumanEvaluationConfig & WithHumanWorkflowConfig(const HumanWorkflowConfig &value)
HumanEvaluationConfig & WithDatasetMetricConfigs(Aws::Vector< EvaluationDatasetMetricConfig > &&value)
void SetDatasetMetricConfigs(const Aws::Vector< EvaluationDatasetMetricConfig > &value)
void SetHumanWorkflowConfig(HumanWorkflowConfig &&value)
HumanEvaluationConfig & WithDatasetMetricConfigs(const Aws::Vector< EvaluationDatasetMetricConfig > &value)
HumanEvaluationConfig & WithHumanWorkflowConfig(HumanWorkflowConfig &&value)
void SetDatasetMetricConfigs(Aws::Vector< EvaluationDatasetMetricConfig > &&value)
const HumanWorkflowConfig & GetHumanWorkflowConfig() const
void SetCustomMetrics(const Aws::Vector< HumanEvaluationCustomMetric > &value)
AWS_BEDROCK_API HumanEvaluationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
HumanEvaluationConfig & AddDatasetMetricConfigs(const EvaluationDatasetMetricConfig &value)
HumanEvaluationConfig & AddCustomMetrics(HumanEvaluationCustomMetric &&value)
HumanEvaluationConfig & WithCustomMetrics(const Aws::Vector< HumanEvaluationCustomMetric > &value)
HumanEvaluationConfig & AddDatasetMetricConfigs(EvaluationDatasetMetricConfig &&value)
const Aws::Vector< HumanEvaluationCustomMetric > & GetCustomMetrics() const
const Aws::Vector< EvaluationDatasetMetricConfig > & GetDatasetMetricConfigs() const
HumanEvaluationConfig & AddCustomMetrics(const HumanEvaluationCustomMetric &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue