AWS SDK for C++

AWS SDK for C++ Version 1.11.509

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();
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 inline void SetModelIdentifier(const Aws::String& value) { m_modelIdentifierHasBeenSet = true; m_modelIdentifier = value; }
59 inline void SetModelIdentifier(Aws::String&& value) { m_modelIdentifierHasBeenSet = true; m_modelIdentifier = std::move(value); }
60 inline void SetModelIdentifier(const char* value) { m_modelIdentifierHasBeenSet = true; m_modelIdentifier.assign(value); }
61 inline EvaluationBedrockModel& WithModelIdentifier(const Aws::String& value) { SetModelIdentifier(value); return *this;}
62 inline EvaluationBedrockModel& WithModelIdentifier(Aws::String&& value) { SetModelIdentifier(std::move(value)); return *this;}
63 inline EvaluationBedrockModel& WithModelIdentifier(const char* value) { SetModelIdentifier(value); return *this;}
65
67
71 inline const Aws::String& GetInferenceParams() const{ return m_inferenceParams; }
72 inline bool InferenceParamsHasBeenSet() const { return m_inferenceParamsHasBeenSet; }
73 inline void SetInferenceParams(const Aws::String& value) { m_inferenceParamsHasBeenSet = true; m_inferenceParams = value; }
74 inline void SetInferenceParams(Aws::String&& value) { m_inferenceParamsHasBeenSet = true; m_inferenceParams = std::move(value); }
75 inline void SetInferenceParams(const char* value) { m_inferenceParamsHasBeenSet = true; m_inferenceParams.assign(value); }
76 inline EvaluationBedrockModel& WithInferenceParams(const Aws::String& value) { SetInferenceParams(value); return *this;}
77 inline EvaluationBedrockModel& WithInferenceParams(Aws::String&& value) { SetInferenceParams(std::move(value)); return *this;}
78 inline EvaluationBedrockModel& WithInferenceParams(const char* value) { SetInferenceParams(value); return *this;}
80
82
85 inline const PerformanceConfiguration& GetPerformanceConfig() const{ return m_performanceConfig; }
86 inline bool PerformanceConfigHasBeenSet() const { return m_performanceConfigHasBeenSet; }
87 inline void SetPerformanceConfig(const PerformanceConfiguration& value) { m_performanceConfigHasBeenSet = true; m_performanceConfig = value; }
88 inline void SetPerformanceConfig(PerformanceConfiguration&& value) { m_performanceConfigHasBeenSet = true; m_performanceConfig = std::move(value); }
92 private:
93
94 Aws::String m_modelIdentifier;
95 bool m_modelIdentifierHasBeenSet = false;
96
97 Aws::String m_inferenceParams;
98 bool m_inferenceParamsHasBeenSet = false;
99
100 PerformanceConfiguration m_performanceConfig;
101 bool m_performanceConfigHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Bedrock
106} // namespace Aws
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API EvaluationBedrockModel(Aws::Utils::Json::JsonView jsonValue)
EvaluationBedrockModel & WithModelIdentifier(const Aws::String &value)
void SetModelIdentifier(const Aws::String &value)
EvaluationBedrockModel & WithPerformanceConfig(const PerformanceConfiguration &value)
EvaluationBedrockModel & WithPerformanceConfig(PerformanceConfiguration &&value)
void SetInferenceParams(const Aws::String &value)
EvaluationBedrockModel & WithInferenceParams(const Aws::String &value)
EvaluationBedrockModel & WithModelIdentifier(const char *value)
const PerformanceConfiguration & GetPerformanceConfig() const
void SetPerformanceConfig(const PerformanceConfiguration &value)
AWS_BEDROCK_API EvaluationBedrockModel & operator=(Aws::Utils::Json::JsonView jsonValue)
EvaluationBedrockModel & WithInferenceParams(Aws::String &&value)
void SetPerformanceConfig(PerformanceConfiguration &&value)
EvaluationBedrockModel & WithModelIdentifier(Aws::String &&value)
EvaluationBedrockModel & WithInferenceParams(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue