AWS SDK for C++

AWS SDK for C++ Version 1.11.610

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Bedrock
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BEDROCK_API DistillationConfig() = default;
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const TeacherModelConfig& GetTeacherModelConfig() const { return m_teacherModelConfig; }
46 inline bool TeacherModelConfigHasBeenSet() const { return m_teacherModelConfigHasBeenSet; }
47 template<typename TeacherModelConfigT = TeacherModelConfig>
48 void SetTeacherModelConfig(TeacherModelConfigT&& value) { m_teacherModelConfigHasBeenSet = true; m_teacherModelConfig = std::forward<TeacherModelConfigT>(value); }
49 template<typename TeacherModelConfigT = TeacherModelConfig>
50 DistillationConfig& WithTeacherModelConfig(TeacherModelConfigT&& value) { SetTeacherModelConfig(std::forward<TeacherModelConfigT>(value)); return *this;}
52 private:
53
54 TeacherModelConfig m_teacherModelConfig;
55 bool m_teacherModelConfigHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace Bedrock
60} // 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
Aws::Utils::Json::JsonValue JsonValue