7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/inspector/Inspector_EXPORTS.h>
42 template <
typename KeyT = Aws::String>
44 m_keyHasBeenSet =
true;
45 m_key = std::forward<KeyT>(value);
47 template <
typename KeyT = Aws::String>
49 SetKey(std::forward<KeyT>(value));
60 template <
typename ValueT = Aws::String>
62 m_valueHasBeenSet =
true;
63 m_value = std::forward<ValueT>(value);
65 template <
typename ValueT = Aws::String>
67 SetValue(std::forward<ValueT>(value));
75 bool m_keyHasBeenSet =
false;
76 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