7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace BedrockAgent {
43 template <
typename KeyT = Aws::String>
45 m_keyHasBeenSet =
true;
46 m_key = std::forward<KeyT>(value);
48 template <
typename KeyT = Aws::String>
50 SetKey(std::forward<KeyT>(value));
61 template <
typename ValueT = Aws::String>
63 m_valueHasBeenSet =
true;
64 m_value = std::forward<ValueT>(value);
66 template <
typename ValueT = Aws::String>
68 SetValue(std::forward<ValueT>(value));
74 bool m_keyHasBeenSet =
false;
77 bool m_valueHasBeenSet =
false;
bool ValueHasBeenSet() const
PromptMetadataEntry & WithKey(KeyT &&value)
PromptMetadataEntry & WithValue(ValueT &&value)
AWS_BEDROCKAGENT_API PromptMetadataEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetValue(ValueT &&value)
const Aws::String & GetKey() const
AWS_BEDROCKAGENT_API PromptMetadataEntry()=default
bool KeyHasBeenSet() const
const Aws::String & GetValue() const
AWS_BEDROCKAGENT_API PromptMetadataEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKey(KeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue