7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/ChatPromptTemplateConfiguration.h>
9#include <aws/bedrock-agent/model/TextPromptTemplateConfiguration.h>
20namespace BedrockAgent {
44 template <
typename TextT = TextPromptTemplateConfiguration>
46 m_textHasBeenSet =
true;
47 m_text = std::forward<TextT>(value);
49 template <
typename TextT = TextPromptTemplateConfiguration>
51 SetText(std::forward<TextT>(value));
62 template <
typename ChatT = ChatPromptTemplateConfiguration>
64 m_chatHasBeenSet =
true;
65 m_chat = std::forward<ChatT>(value);
67 template <
typename ChatT = ChatPromptTemplateConfiguration>
69 SetChat(std::forward<ChatT>(value));
77 bool m_textHasBeenSet =
false;
78 bool m_chatHasBeenSet =
false;
AWS_BEDROCKAGENT_API PromptTemplateConfiguration()=default
const ChatPromptTemplateConfiguration & GetChat() const
void SetChat(ChatT &&value)
const TextPromptTemplateConfiguration & GetText() const
PromptTemplateConfiguration & WithChat(ChatT &&value)
bool ChatHasBeenSet() const
bool TextHasBeenSet() const
PromptTemplateConfiguration & WithText(TextT &&value)
void SetText(TextT &&value)
AWS_BEDROCKAGENT_API PromptTemplateConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API PromptTemplateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue