AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
PromptTemplate.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 PromptTemplate() = default;
33 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
47 inline const Aws::String& GetTextPromptTemplate() const { return m_textPromptTemplate; }
48 inline bool TextPromptTemplateHasBeenSet() const { return m_textPromptTemplateHasBeenSet; }
49 template <typename TextPromptTemplateT = Aws::String>
51 m_textPromptTemplateHasBeenSet = true;
52 m_textPromptTemplate = std::forward<TextPromptTemplateT>(value);
53 }
54 template <typename TextPromptTemplateT = Aws::String>
56 SetTextPromptTemplate(std::forward<TextPromptTemplateT>(value));
57 return *this;
58 }
60 private:
61 Aws::String m_textPromptTemplate;
62 bool m_textPromptTemplateHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace Bedrock
67} // namespace Aws
PromptTemplate & WithTextPromptTemplate(TextPromptTemplateT &&value)
AWS_BEDROCK_API PromptTemplate(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTextPromptTemplate() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API PromptTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTextPromptTemplate(TextPromptTemplateT &&value)
AWS_BEDROCK_API PromptTemplate()=default
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