AWS SDK for C++

AWS SDK for C++ Version 1.11.610

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#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 TeacherModelConfig() = default;
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetTeacherModelIdentifier() const { return m_teacherModelIdentifier; }
46 inline bool TeacherModelIdentifierHasBeenSet() const { return m_teacherModelIdentifierHasBeenSet; }
47 template<typename TeacherModelIdentifierT = Aws::String>
48 void SetTeacherModelIdentifier(TeacherModelIdentifierT&& value) { m_teacherModelIdentifierHasBeenSet = true; m_teacherModelIdentifier = std::forward<TeacherModelIdentifierT>(value); }
49 template<typename TeacherModelIdentifierT = Aws::String>
50 TeacherModelConfig& WithTeacherModelIdentifier(TeacherModelIdentifierT&& value) { SetTeacherModelIdentifier(std::forward<TeacherModelIdentifierT>(value)); return *this;}
52
54
58 inline int GetMaxResponseLengthForInference() const { return m_maxResponseLengthForInference; }
59 inline bool MaxResponseLengthForInferenceHasBeenSet() const { return m_maxResponseLengthForInferenceHasBeenSet; }
60 inline void SetMaxResponseLengthForInference(int value) { m_maxResponseLengthForInferenceHasBeenSet = true; m_maxResponseLengthForInference = value; }
63 private:
64
65 Aws::String m_teacherModelIdentifier;
66 bool m_teacherModelIdentifierHasBeenSet = false;
67
68 int m_maxResponseLengthForInference{0};
69 bool m_maxResponseLengthForInferenceHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Bedrock
74} // 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