7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename KeyT = Aws::String>
47 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
48 template<
typename KeyT = Aws::String>
58 template<
typename ValueT = Aws::String>
59 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
60 template<
typename ValueT = Aws::String>
66 bool m_keyHasBeenSet =
false;
69 bool m_valueHasBeenSet =
false;
void SetValue(ValueT &&value)
AWS_EMR_API KeyValue()=default
const Aws::String & GetValue() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
KeyValue & WithKey(KeyT &&value)
bool ValueHasBeenSet() const
const Aws::String & GetKey() const
KeyValue & WithValue(ValueT &&value)
AWS_EMR_API KeyValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API KeyValue(Aws::Utils::Json::JsonView jsonValue)
void SetKey(KeyT &&value)
bool KeyHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue