AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Bedrock
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_BEDROCK_API EvaluationInferenceConfig();
41 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Vector<EvaluationModelConfig>& GetModels() const{ return m_models; }
49 inline bool ModelsHasBeenSet() const { return m_modelsHasBeenSet; }
50 inline void SetModels(const Aws::Vector<EvaluationModelConfig>& value) { m_modelsHasBeenSet = true; m_models = value; }
51 inline void SetModels(Aws::Vector<EvaluationModelConfig>&& value) { m_modelsHasBeenSet = true; m_models = std::move(value); }
53 inline EvaluationInferenceConfig& WithModels(Aws::Vector<EvaluationModelConfig>&& value) { SetModels(std::move(value)); return *this;}
54 inline EvaluationInferenceConfig& AddModels(const EvaluationModelConfig& value) { m_modelsHasBeenSet = true; m_models.push_back(value); return *this; }
55 inline EvaluationInferenceConfig& AddModels(EvaluationModelConfig&& value) { m_modelsHasBeenSet = true; m_models.push_back(std::move(value)); return *this; }
57 private:
58
60 bool m_modelsHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace Bedrock
65} // namespace Aws
EvaluationInferenceConfig & AddModels(EvaluationModelConfig &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationInferenceConfig & WithModels(const Aws::Vector< EvaluationModelConfig > &value)
const Aws::Vector< EvaluationModelConfig > & GetModels() const
EvaluationInferenceConfig & WithModels(Aws::Vector< EvaluationModelConfig > &&value)
EvaluationInferenceConfig & AddModels(const EvaluationModelConfig &value)
AWS_BEDROCK_API EvaluationInferenceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetModels(const Aws::Vector< EvaluationModelConfig > &value)
void SetModels(Aws::Vector< EvaluationModelConfig > &&value)
AWS_BEDROCK_API EvaluationInferenceConfig(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue