AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DistillationConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/TeacherModelConfig.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Bedrock {
20namespace Model {
21
29 public:
30 AWS_BEDROCK_API DistillationConfig() = default;
33 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const TeacherModelConfig& GetTeacherModelConfig() const { return m_teacherModelConfig; }
40 inline bool TeacherModelConfigHasBeenSet() const { return m_teacherModelConfigHasBeenSet; }
41 template <typename TeacherModelConfigT = TeacherModelConfig>
43 m_teacherModelConfigHasBeenSet = true;
44 m_teacherModelConfig = std::forward<TeacherModelConfigT>(value);
45 }
46 template <typename TeacherModelConfigT = TeacherModelConfig>
48 SetTeacherModelConfig(std::forward<TeacherModelConfigT>(value));
49 return *this;
50 }
52 private:
53 TeacherModelConfig m_teacherModelConfig;
54 bool m_teacherModelConfigHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace Bedrock
59} // namespace Aws
AWS_BEDROCK_API DistillationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTeacherModelConfig(TeacherModelConfigT &&value)
AWS_BEDROCK_API DistillationConfig()=default
DistillationConfig & WithTeacherModelConfig(TeacherModelConfigT &&value)
AWS_BEDROCK_API DistillationConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const TeacherModelConfig & GetTeacherModelConfig() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue