AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
PromptTemplate.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_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 BedrockAgentRuntime {
20namespace Model {
21
35 public:
36 AWS_BEDROCKAGENTRUNTIME_API PromptTemplate() = default;
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
54 inline const Aws::String& GetTextPromptTemplate() const { return m_textPromptTemplate; }
55 inline bool TextPromptTemplateHasBeenSet() const { return m_textPromptTemplateHasBeenSet; }
56 template <typename TextPromptTemplateT = Aws::String>
58 m_textPromptTemplateHasBeenSet = true;
59 m_textPromptTemplate = std::forward<TextPromptTemplateT>(value);
60 }
61 template <typename TextPromptTemplateT = Aws::String>
63 SetTextPromptTemplate(std::forward<TextPromptTemplateT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_textPromptTemplate;
69 bool m_textPromptTemplateHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace BedrockAgentRuntime
74} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API PromptTemplate(Aws::Utils::Json::JsonView jsonValue)
PromptTemplate & WithTextPromptTemplate(TextPromptTemplateT &&value)
AWS_BEDROCKAGENTRUNTIME_API PromptTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API PromptTemplate()=default
const Aws::String & GetTextPromptTemplate() const
void SetTextPromptTemplate(TextPromptTemplateT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue