AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
EvaluationBedrockModel.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/PerformanceConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Bedrock {
21namespace Model {
22
40 public:
41 AWS_BEDROCK_API EvaluationBedrockModel() = default;
44 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
45
47
50 inline const Aws::String& GetModelIdentifier() const { return m_modelIdentifier; }
51 inline bool ModelIdentifierHasBeenSet() const { return m_modelIdentifierHasBeenSet; }
52 template <typename ModelIdentifierT = Aws::String>
54 m_modelIdentifierHasBeenSet = true;
55 m_modelIdentifier = std::forward<ModelIdentifierT>(value);
56 }
57 template <typename ModelIdentifierT = Aws::String>
59 SetModelIdentifier(std::forward<ModelIdentifierT>(value));
60 return *this;
61 }
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>
73 m_inferenceParamsHasBeenSet = true;
74 m_inferenceParams = std::forward<InferenceParamsT>(value);
75 }
76 template <typename InferenceParamsT = Aws::String>
78 SetInferenceParams(std::forward<InferenceParamsT>(value));
79 return *this;
80 }
82
84
87 inline const PerformanceConfiguration& GetPerformanceConfig() const { return m_performanceConfig; }
88 inline bool PerformanceConfigHasBeenSet() const { return m_performanceConfigHasBeenSet; }
89 template <typename PerformanceConfigT = PerformanceConfiguration>
91 m_performanceConfigHasBeenSet = true;
92 m_performanceConfig = std::forward<PerformanceConfigT>(value);
93 }
94 template <typename PerformanceConfigT = PerformanceConfiguration>
96 SetPerformanceConfig(std::forward<PerformanceConfigT>(value));
97 return *this;
98 }
100 private:
101 Aws::String m_modelIdentifier;
102
103 Aws::String m_inferenceParams;
104
105 PerformanceConfiguration m_performanceConfig;
106 bool m_modelIdentifierHasBeenSet = false;
107 bool m_inferenceParamsHasBeenSet = false;
108 bool m_performanceConfigHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace Bedrock
113} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue