AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
EvaluationBedrockModel.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/PerformanceConfiguration.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
44 {
45 public:
46 AWS_BEDROCK_API EvaluationBedrockModel() = default;
49 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
56 inline const Aws::String& GetModelIdentifier() const { return m_modelIdentifier; }
57 inline bool ModelIdentifierHasBeenSet() const { return m_modelIdentifierHasBeenSet; }
58 template<typename ModelIdentifierT = Aws::String>
59 void SetModelIdentifier(ModelIdentifierT&& value) { m_modelIdentifierHasBeenSet = true; m_modelIdentifier = std::forward<ModelIdentifierT>(value); }
60 template<typename ModelIdentifierT = Aws::String>
61 EvaluationBedrockModel& WithModelIdentifier(ModelIdentifierT&& value) { SetModelIdentifier(std::forward<ModelIdentifierT>(value)); return *this;}
63
65
69 inline const Aws::String& GetInferenceParams() const { return m_inferenceParams; }
70 inline bool InferenceParamsHasBeenSet() const { return m_inferenceParamsHasBeenSet; }
71 template<typename InferenceParamsT = Aws::String>
72 void SetInferenceParams(InferenceParamsT&& value) { m_inferenceParamsHasBeenSet = true; m_inferenceParams = std::forward<InferenceParamsT>(value); }
73 template<typename InferenceParamsT = Aws::String>
74 EvaluationBedrockModel& WithInferenceParams(InferenceParamsT&& value) { SetInferenceParams(std::forward<InferenceParamsT>(value)); return *this;}
76
78
81 inline const PerformanceConfiguration& GetPerformanceConfig() const { return m_performanceConfig; }
82 inline bool PerformanceConfigHasBeenSet() const { return m_performanceConfigHasBeenSet; }
83 template<typename PerformanceConfigT = PerformanceConfiguration>
84 void SetPerformanceConfig(PerformanceConfigT&& value) { m_performanceConfigHasBeenSet = true; m_performanceConfig = std::forward<PerformanceConfigT>(value); }
85 template<typename PerformanceConfigT = PerformanceConfiguration>
86 EvaluationBedrockModel& WithPerformanceConfig(PerformanceConfigT&& value) { SetPerformanceConfig(std::forward<PerformanceConfigT>(value)); return *this;}
88 private:
89
90 Aws::String m_modelIdentifier;
91 bool m_modelIdentifierHasBeenSet = false;
92
93 Aws::String m_inferenceParams;
94 bool m_inferenceParamsHasBeenSet = false;
95
96 PerformanceConfiguration m_performanceConfig;
97 bool m_performanceConfigHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Bedrock
102} // namespace Aws
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API EvaluationBedrockModel(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API EvaluationBedrockModel()=default
EvaluationBedrockModel & WithPerformanceConfig(PerformanceConfigT &&value)
void SetModelIdentifier(ModelIdentifierT &&value)
EvaluationBedrockModel & WithModelIdentifier(ModelIdentifierT &&value)
EvaluationBedrockModel & WithInferenceParams(InferenceParamsT &&value)
const PerformanceConfiguration & GetPerformanceConfig() const
void SetPerformanceConfig(PerformanceConfigT &&value)
AWS_BEDROCK_API EvaluationBedrockModel & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInferenceParams(InferenceParamsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue