AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluationDatasetMetricConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/EvaluationTaskType.h>
9#include <aws/bedrock/model/EvaluationDataset.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.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
36 {
37 public:
41 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const EvaluationTaskType& GetTaskType() const{ return m_taskType; }
49 inline bool TaskTypeHasBeenSet() const { return m_taskTypeHasBeenSet; }
50 inline void SetTaskType(const EvaluationTaskType& value) { m_taskTypeHasBeenSet = true; m_taskType = value; }
51 inline void SetTaskType(EvaluationTaskType&& value) { m_taskTypeHasBeenSet = true; m_taskType = std::move(value); }
52 inline EvaluationDatasetMetricConfig& WithTaskType(const EvaluationTaskType& value) { SetTaskType(value); return *this;}
53 inline EvaluationDatasetMetricConfig& WithTaskType(EvaluationTaskType&& value) { SetTaskType(std::move(value)); return *this;}
55
57
60 inline const EvaluationDataset& GetDataset() const{ return m_dataset; }
61 inline bool DatasetHasBeenSet() const { return m_datasetHasBeenSet; }
62 inline void SetDataset(const EvaluationDataset& value) { m_datasetHasBeenSet = true; m_dataset = value; }
63 inline void SetDataset(EvaluationDataset&& value) { m_datasetHasBeenSet = true; m_dataset = std::move(value); }
64 inline EvaluationDatasetMetricConfig& WithDataset(const EvaluationDataset& value) { SetDataset(value); return *this;}
65 inline EvaluationDatasetMetricConfig& WithDataset(EvaluationDataset&& value) { SetDataset(std::move(value)); return *this;}
67
69
76 inline const Aws::Vector<Aws::String>& GetMetricNames() const{ return m_metricNames; }
77 inline bool MetricNamesHasBeenSet() const { return m_metricNamesHasBeenSet; }
78 inline void SetMetricNames(const Aws::Vector<Aws::String>& value) { m_metricNamesHasBeenSet = true; m_metricNames = value; }
79 inline void SetMetricNames(Aws::Vector<Aws::String>&& value) { m_metricNamesHasBeenSet = true; m_metricNames = std::move(value); }
81 inline EvaluationDatasetMetricConfig& WithMetricNames(Aws::Vector<Aws::String>&& value) { SetMetricNames(std::move(value)); return *this;}
82 inline EvaluationDatasetMetricConfig& AddMetricNames(const Aws::String& value) { m_metricNamesHasBeenSet = true; m_metricNames.push_back(value); return *this; }
83 inline EvaluationDatasetMetricConfig& AddMetricNames(Aws::String&& value) { m_metricNamesHasBeenSet = true; m_metricNames.push_back(std::move(value)); return *this; }
84 inline EvaluationDatasetMetricConfig& AddMetricNames(const char* value) { m_metricNamesHasBeenSet = true; m_metricNames.push_back(value); return *this; }
86 private:
87
88 EvaluationTaskType m_taskType;
89 bool m_taskTypeHasBeenSet = false;
90
91 EvaluationDataset m_dataset;
92 bool m_datasetHasBeenSet = false;
93
94 Aws::Vector<Aws::String> m_metricNames;
95 bool m_metricNamesHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Bedrock
100} // namespace Aws
const Aws::Vector< Aws::String > & GetMetricNames() const
EvaluationDatasetMetricConfig & AddMetricNames(const Aws::String &value)
AWS_BEDROCK_API EvaluationDatasetMetricConfig(Aws::Utils::Json::JsonView jsonValue)
void SetMetricNames(const Aws::Vector< Aws::String > &value)
EvaluationDatasetMetricConfig & WithDataset(EvaluationDataset &&value)
EvaluationDatasetMetricConfig & WithTaskType(EvaluationTaskType &&value)
EvaluationDatasetMetricConfig & WithMetricNames(const Aws::Vector< Aws::String > &value)
EvaluationDatasetMetricConfig & AddMetricNames(Aws::String &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API EvaluationDatasetMetricConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
EvaluationDatasetMetricConfig & WithDataset(const EvaluationDataset &value)
EvaluationDatasetMetricConfig & AddMetricNames(const char *value)
EvaluationDatasetMetricConfig & WithTaskType(const EvaluationTaskType &value)
EvaluationDatasetMetricConfig & WithMetricNames(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue