7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/AttributeKey.h>
9#include <aws/clouddirectory/model/TypedAttributeValue.h>
22namespace CloudDirectory
48 template<
typename KeyT = AttributeKey>
49 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
50 template<
typename KeyT = AttributeKey>
60 template<
typename ValueT = TypedAttributeValue>
61 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
62 template<
typename ValueT = TypedAttributeValue>
68 bool m_keyHasBeenSet =
false;
71 bool m_valueHasBeenSet =
false;
const TypedAttributeValue & GetValue() const
const AttributeKey & GetKey() const
AWS_CLOUDDIRECTORY_API AttributeKeyAndValue()=default
void SetKey(KeyT &&value)
AttributeKeyAndValue & WithKey(KeyT &&value)
void SetValue(ValueT &&value)
bool ValueHasBeenSet() const
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
AttributeKeyAndValue & WithValue(ValueT &&value)
bool KeyHasBeenSet() const
AWS_CLOUDDIRECTORY_API AttributeKeyAndValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDDIRECTORY_API AttributeKeyAndValue(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue