33#ifndef API_MIP_UPE_METADATA_ENTRY_H_
34#define API_MIP_UPE_METADATA_ENTRY_H_
56 MetadataEntry(
const std::string& key,
const std::string& value, uint32_t version)
85 const std::string&
GetKey()
const {
return mKey; }
91 const std::string&
GetValue()
const {
return mValue; }
101 return mKey == other.mKey && mValue == other.mValue && mVersion == other.mVersion;
An abstraction class for metadata entry.
MetadataEntry(const std::string &key, const std::string &value, uint32_t version)
C'tor for a MetadataEntry abstraction.
MetadataVersion GetVersion() const
Get the metadata entry version.
MetadataEntry(const std::string &key, const std::string &value, const MetadataVersion &version)
C'tor for a MetadataEntry abstraction.
const std::string & GetKey() const
Get the metadata entry key.
MetadataEntry(const std::string &key, const std::string &value)
C'tor for a MetadataEntry abstraction, version is set to a default of 0.
const std::string & GetValue() const
Get the metadata entry value.
@ DEFAULT
Set by default in policy.