AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
PromptInferenceConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/PromptModelInferenceConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgent {
20namespace Model {
21
29 public:
30 AWS_BEDROCKAGENT_API PromptInferenceConfiguration() = default;
33 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const PromptModelInferenceConfiguration& GetText() const { return m_text; }
40 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
41 template <typename TextT = PromptModelInferenceConfiguration>
42 void SetText(TextT&& value) {
43 m_textHasBeenSet = true;
44 m_text = std::forward<TextT>(value);
45 }
46 template <typename TextT = PromptModelInferenceConfiguration>
48 SetText(std::forward<TextT>(value));
49 return *this;
50 }
52 private:
54 bool m_textHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace BedrockAgent
59} // namespace Aws
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API PromptInferenceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API PromptInferenceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API PromptInferenceConfiguration()=default
const PromptModelInferenceConfiguration & GetText() const
PromptInferenceConfiguration & WithText(TextT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue