API to set present property

The commit add an API into worker class to set present property
over DBus for a given FRU.

It also implements change to set present property as false in
case any failure is detected in the process of collecting VPD for
the FRU.

Change-Id: I3faa988a0fb0886a6a28673439a46d6c22c16a32
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
diff --git a/vpd-manager/include/worker.hpp b/vpd-manager/include/worker.hpp
index 85a1818..a0da85d 100644
--- a/vpd-manager/include/worker.hpp
+++ b/vpd-manager/include/worker.hpp
@@ -499,6 +499,14 @@
      */
     void setJsonSymbolicLink(const std::string& i_systemJson);
 
+    /**
+     * @brief API to set present property.
+     *
+     * @param[in] i_vpdPath - EEPROM or inventory path.
+     * @param[in] i_value - value to be set.
+     */
+    void setPresentProperty(const std::string& i_fruPath, const bool& i_value);
+
     // Parsed JSON file.
     nlohmann::json m_parsedJson{};