Add nameOwnerChanged match with given service

The nameOwnerChanged(const std::string& s) returns a match string for
the NameOwnerChanged signal of the given service name 's'.

Change-Id: I81162b2da67a336dd7b59d9e643a4c66004c6725
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/sdbusplus/bus/match.hpp b/sdbusplus/bus/match.hpp
index 2e7e114..62c0370 100644
--- a/sdbusplus/bus/match.hpp
+++ b/sdbusplus/bus/match.hpp
@@ -165,6 +165,18 @@
            argN(0, i);
 }
 
+/**
+ * @brief Constructs a NameOwnerChanged match string for a service name
+ *
+ * @param[in] s - Service name
+ *
+ * @return NameOwnerChanged match string for a service name
+ */
+inline auto nameOwnerChanged(const std::string& s)
+{
+    return nameOwnerChanged() + argN(0, s);
+}
+
 } // namespace rules
 } // namespace match