7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-agent/model/ToolConfiguration.h>
10#include <aws/bedrock-agent/model/PromptInputVariable.h>
11#include <aws/bedrock-agent/model/Message.h>
12#include <aws/bedrock-agent/model/SystemContentBlock.h>
53 template<
typename InputVariablesT = Aws::Vector<PromptInputVariable>>
54 void SetInputVariables(InputVariablesT&& value) { m_inputVariablesHasBeenSet =
true; m_inputVariables = std::forward<InputVariablesT>(value); }
55 template<
typename InputVariablesT = Aws::Vector<PromptInputVariable>>
57 template<
typename InputVariablesT = PromptInputVariable>
67 template<
typename MessagesT = Aws::Vector<Message>>
68 void SetMessages(MessagesT&& value) { m_messagesHasBeenSet =
true; m_messages = std::forward<MessagesT>(value); }
69 template<
typename MessagesT = Aws::Vector<Message>>
71 template<
typename MessagesT = Message>
82 template<
typename SystemT = Aws::Vector<SystemContentBlock>>
83 void SetSystem(SystemT&& value) { m_systemHasBeenSet =
true; m_system = std::forward<SystemT>(value); }
84 template<
typename SystemT = Aws::Vector<SystemContentBlock>>
86 template<
typename SystemT = SystemContentBlock>
97 template<
typename ToolConfigurationT = ToolConfiguration>
98 void SetToolConfiguration(ToolConfigurationT&& value) { m_toolConfigurationHasBeenSet =
true; m_toolConfiguration = std::forward<ToolConfigurationT>(value); }
99 template<
typename ToolConfigurationT = ToolConfiguration>
105 bool m_inputVariablesHasBeenSet =
false;
108 bool m_messagesHasBeenSet =
false;
111 bool m_systemHasBeenSet =
false;
114 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::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue