7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename KeyT = Aws::String>
50 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
51 template<
typename KeyT = Aws::String>
61 template<
typename ValueT = Aws::String>
62 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
63 template<
typename ValueT = Aws::String>
69 bool m_keyHasBeenSet =
false;
72 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