7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/Message.h>
9#include <aws/bedrock-agent/model/PromptInputVariable.h>
10#include <aws/bedrock-agent/model/SystemContentBlock.h>
11#include <aws/bedrock-agent/model/ToolConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace BedrockAgent {
47 template <
typename MessagesT = Aws::Vector<Message>>
49 m_messagesHasBeenSet =
true;
50 m_messages = std::forward<MessagesT>(value);
52 template <
typename MessagesT = Aws::Vector<Message>>
57 template <
typename MessagesT = Message>
59 m_messagesHasBeenSet =
true;
60 m_messages.emplace_back(std::forward<MessagesT>(value));
72 template <
typename SystemT = Aws::Vector<SystemContentBlock>>
74 m_systemHasBeenSet =
true;
75 m_system = std::forward<SystemT>(value);
77 template <
typename SystemT = Aws::Vector<SystemContentBlock>>
82 template <
typename SystemT = SystemContentBlock>
84 m_systemHasBeenSet =
true;
85 m_system.emplace_back(std::forward<SystemT>(value));
96 template <
typename InputVariablesT = Aws::Vector<PromptInputVariable>>
98 m_inputVariablesHasBeenSet =
true;
99 m_inputVariables = std::forward<InputVariablesT>(value);
101 template <
typename InputVariablesT = Aws::Vector<PromptInputVariable>>
106 template <
typename InputVariablesT = PromptInputVariable>
108 m_inputVariablesHasBeenSet =
true;
109 m_inputVariables.emplace_back(std::forward<InputVariablesT>(value));
121 template <
typename ToolConfigurationT = ToolConfiguration>
123 m_toolConfigurationHasBeenSet =
true;
124 m_toolConfiguration = std::forward<ToolConfigurationT>(value);
126 template <
typename ToolConfigurationT = ToolConfiguration>
140 bool m_messagesHasBeenSet =
false;
141 bool m_systemHasBeenSet =
false;
142 bool m_inputVariablesHasBeenSet =
false;
143 bool m_toolConfigurationHasBeenSet =
false;
bool ToolConfigurationHasBeenSet() const
AWS_BEDROCKAGENT_API ChatPromptTemplateConfiguration(Aws::Utils::Json::JsonView jsonValue)
ChatPromptTemplateConfiguration & AddMessages(MessagesT &&value)
void SetSystem(SystemT &&value)
void SetInputVariables(InputVariablesT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< SystemContentBlock > & GetSystem() const
bool MessagesHasBeenSet() const
const ToolConfiguration & GetToolConfiguration() const
bool InputVariablesHasBeenSet() const
ChatPromptTemplateConfiguration & AddInputVariables(InputVariablesT &&value)
ChatPromptTemplateConfiguration & WithSystem(SystemT &&value)
AWS_BEDROCKAGENT_API ChatPromptTemplateConfiguration()=default
void SetMessages(MessagesT &&value)
AWS_BEDROCKAGENT_API ChatPromptTemplateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ChatPromptTemplateConfiguration & WithInputVariables(InputVariablesT &&value)
const Aws::Vector< PromptInputVariable > & GetInputVariables() const
void SetToolConfiguration(ToolConfigurationT &&value)
bool SystemHasBeenSet() const
ChatPromptTemplateConfiguration & WithMessages(MessagesT &&value)
ChatPromptTemplateConfiguration & WithToolConfiguration(ToolConfigurationT &&value)
ChatPromptTemplateConfiguration & AddSystem(SystemT &&value)
const Aws::Vector< Message > & GetMessages() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue