Resolve coverity issues

* Added Rule of Five compliance to the reported classes
* Added explicit default destructors and assignment operators
* Corrected comparison statement

Tested:
UTs passed

Change-Id: Ifcfc1055e2e65d9f3ce10e3878ff3f1dd5d84929
Signed-off-by: Piotr Sulewski <piotrx.sulewski@intel.com>
diff --git a/src/trigger_actions.cpp b/src/trigger_actions.cpp
index 5b57abb..1d984e5 100644
--- a/src/trigger_actions.cpp
+++ b/src/trigger_actions.cpp
@@ -108,7 +108,8 @@
     double value = std::get<double>(triggerValue);
     auto messageId = getRedfishMessageId(value);
 
-    if (messageId == redfish_message_ids::TriggerNumericReadingNormal)
+    if (std::string_view(messageId) ==
+        redfish_message_ids::TriggerNumericReadingNormal)
     {
         phosphor::logging::log<phosphor::logging::level::INFO>(
             "Logging numeric trigger action to Redfish Event Log.",