AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
TeacherModelConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 TeacherModelConfig() = default;
33 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetTeacherModelIdentifier() const { return m_teacherModelIdentifier; }
40 inline bool TeacherModelIdentifierHasBeenSet() const { return m_teacherModelIdentifierHasBeenSet; }
41 template <typename TeacherModelIdentifierT = Aws::String>
42 void SetTeacherModelIdentifier(TeacherModelIdentifierT&& value) {
43 m_teacherModelIdentifierHasBeenSet = true;
44 m_teacherModelIdentifier = std::forward<TeacherModelIdentifierT>(value);
45 }
46 template <typename TeacherModelIdentifierT = Aws::String>
47 TeacherModelConfig& WithTeacherModelIdentifier(TeacherModelIdentifierT&& value) {
48 SetTeacherModelIdentifier(std::forward<TeacherModelIdentifierT>(value));
49 return *this;
50 }
52
54
58 inline int GetMaxResponseLengthForInference() const { return m_maxResponseLengthForInference; }
59 inline bool MaxResponseLengthForInferenceHasBeenSet() const { return m_maxResponseLengthForInferenceHasBeenSet; }
60 inline void SetMaxResponseLengthForInference(int value) {
61 m_maxResponseLengthForInferenceHasBeenSet = true;
62 m_maxResponseLengthForInference = value;
63 }
66 return *this;
67 }
69 private:
70 Aws::String m_teacherModelIdentifier;
71 bool m_teacherModelIdentifierHasBeenSet = false;
72
73 int m_maxResponseLengthForInference{0};
74 bool m_maxResponseLengthForInferenceHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Bedrock
79} // namespace Aws
TeacherModelConfig & WithTeacherModelIdentifier(TeacherModelIdentifierT &&value)
AWS_BEDROCK_API TeacherModelConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTeacherModelIdentifier() const
AWS_BEDROCK_API TeacherModelConfig()=default
TeacherModelConfig & WithMaxResponseLengthForInference(int value)
AWS_BEDROCK_API TeacherModelConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTeacherModelIdentifier(TeacherModelIdentifierT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue