AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
KbInferenceConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/TextInferenceConfig.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 KbInferenceConfig() = default;
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const TextInferenceConfig& GetTextInferenceConfig() const { return m_textInferenceConfig; }
47 inline bool TextInferenceConfigHasBeenSet() const { return m_textInferenceConfigHasBeenSet; }
48 template<typename TextInferenceConfigT = TextInferenceConfig>
49 void SetTextInferenceConfig(TextInferenceConfigT&& value) { m_textInferenceConfigHasBeenSet = true; m_textInferenceConfig = std::forward<TextInferenceConfigT>(value); }
50 template<typename TextInferenceConfigT = TextInferenceConfig>
51 KbInferenceConfig& WithTextInferenceConfig(TextInferenceConfigT&& value) { SetTextInferenceConfig(std::forward<TextInferenceConfigT>(value)); return *this;}
53 private:
54
55 TextInferenceConfig m_textInferenceConfig;
56 bool m_textInferenceConfigHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace Bedrock
61} // namespace Aws
AWS_BEDROCK_API KbInferenceConfig()=default
void SetTextInferenceConfig(TextInferenceConfigT &&value)
AWS_BEDROCK_API KbInferenceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const TextInferenceConfig & GetTextInferenceConfig() const
KbInferenceConfig & WithTextInferenceConfig(TextInferenceConfigT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API KbInferenceConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue