7#include <aws/macie2/Macie2_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>
62 template<
typename ValueT = Aws::String>
63 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
64 template<
typename ValueT = Aws::String>
70 bool m_keyHasBeenSet =
false;
73 bool m_valueHasBeenSet =
false;
const Aws::String & GetKey() const
AWS_MACIE2_API KeyValuePair()=default
const Aws::String & GetValue() const
AWS_MACIE2_API KeyValuePair & operator=(Aws::Utils::Json::JsonView jsonValue)
bool KeyHasBeenSet() const
AWS_MACIE2_API KeyValuePair(Aws::Utils::Json::JsonView jsonValue)
KeyValuePair & WithKey(KeyT &&value)
void SetKey(KeyT &&value)
KeyValuePair & WithValue(ValueT &&value)
bool ValueHasBeenSet() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue