7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename KeyT = Aws::String>
49 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
50 template<
typename KeyT = Aws::String>
60 template<
typename ValueT = Aws::String>
61 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
62 template<
typename ValueT = Aws::String>
68 bool m_keyHasBeenSet =
false;
71 bool m_valueHasBeenSet =
false;
void SetValue(ValueT &&value)
AWS_INSPECTOR_API Attribute()=default
bool ValueHasBeenSet() const
Attribute & WithValue(ValueT &&value)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
bool KeyHasBeenSet() const
const Aws::String & GetKey() const
const Aws::String & GetValue() const
AWS_INSPECTOR_API Attribute & operator=(Aws::Utils::Json::JsonView jsonValue)
Attribute & WithKey(KeyT &&value)
AWS_INSPECTOR_API Attribute(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