7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/CachePointBlock.h>
9#include <aws/bedrock-agent/model/PromptInputVariable.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace BedrockAgent {
45 template <
typename TextT = Aws::String>
47 m_textHasBeenSet =
true;
48 m_text = std::forward<TextT>(value);
50 template <
typename TextT = Aws::String>
52 SetText(std::forward<TextT>(value));
63 template <
typename CachePo
intT = CachePo
intBlock>
65 m_cachePointHasBeenSet =
true;
66 m_cachePoint = std::forward<CachePointT>(value);
68 template <
typename CachePo
intT = CachePo
intBlock>
81 template <
typename InputVariablesT = Aws::Vector<PromptInputVariable>>
83 m_inputVariablesHasBeenSet =
true;
84 m_inputVariables = std::forward<InputVariablesT>(value);
86 template <
typename InputVariablesT = Aws::Vector<PromptInputVariable>>
91 template <
typename InputVariablesT = PromptInputVariable>
93 m_inputVariablesHasBeenSet =
true;
94 m_inputVariables.emplace_back(std::forward<InputVariablesT>(value));
104 bool m_textHasBeenSet =
false;
105 bool m_cachePointHasBeenSet =
false;
106 bool m_inputVariablesHasBeenSet =
false;
TextPromptTemplateConfiguration & AddInputVariables(InputVariablesT &&value)
void SetCachePoint(CachePointT &&value)
TextPromptTemplateConfiguration & WithInputVariables(InputVariablesT &&value)
AWS_BEDROCKAGENT_API TextPromptTemplateConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool InputVariablesHasBeenSet() const
void SetText(TextT &&value)
AWS_BEDROCKAGENT_API TextPromptTemplateConfiguration()=default
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputVariables(InputVariablesT &&value)
const Aws::Vector< PromptInputVariable > & GetInputVariables() const
const Aws::String & GetText() const
AWS_BEDROCKAGENT_API TextPromptTemplateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const CachePointBlock & GetCachePoint() const
bool CachePointHasBeenSet() const
TextPromptTemplateConfiguration & WithText(TextT &&value)
bool TextHasBeenSet() const
TextPromptTemplateConfiguration & WithCachePoint(CachePointT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue