7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticmapreduce/EMR_EXPORTS.h>
45 template <
typename KeyT = Aws::String>
47 m_keyHasBeenSet =
true;
48 m_key = std::forward<KeyT>(value);
50 template <
typename KeyT = Aws::String>
52 SetKey(std::forward<KeyT>(value));
63 template <
typename ValueT = Aws::String>
65 m_valueHasBeenSet =
true;
66 m_value = std::forward<ValueT>(value);
68 template <
typename ValueT = Aws::String>
70 SetValue(std::forward<ValueT>(value));
78 bool m_keyHasBeenSet =
false;
79 bool m_valueHasBeenSet =
false;
const Aws::String & GetValue() const
MetricDimension & WithValue(ValueT &&value)
void SetKey(KeyT &&value)
AWS_EMR_API MetricDimension(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API MetricDimension()=default
bool KeyHasBeenSet() const
AWS_EMR_API MetricDimension & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(ValueT &&value)
const Aws::String & GetKey() const
bool ValueHasBeenSet() const
MetricDimension & WithKey(KeyT &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue