PLCnext API Documentation 23.0.2.9
|
Provides information fields for recipients The exact field keys and values are chosen by every specific security notification More...
#include <SecurityNotificationInfo.hpp>
Public Member Functions | |
SecurityNotificationInfo (const SecurityNotificationInfo &arg) | |
SecurityNotificationInfo (SecurityNotificationInfo &&arg) noexcept | |
SecurityNotificationInfo & | operator= (const SecurityNotificationInfo &arg) |
SecurityNotificationInfo & | operator= (SecurityNotificationInfo &&arg) noexcept |
String | GetJsonEncoding () const |
Returns all infos as a JSON formatted string | |
void | SetJsonString (const String &json) |
Overrides all infos with the values from the given string More... | |
void | AddInfo (const String &key, const String &value) |
Adds Info to this object More... | |
String | GetInfo (const String &key) const |
Retrieves stored data from the given field More... | |
Impl & | GetImpl (void) |
const Impl & | GetImpl (void) const |
Provides information fields for recipients The exact field keys and values are chosen by every specific security notification
void Arp::System::NmPayload::Security::SecurityNotificationInfo::AddInfo | ( | const String & | key, |
const String & | value | ||
) |
Adds Info to this object
key | key for later lookup |
value | value for this info |
String Arp::System::NmPayload::Security::SecurityNotificationInfo::GetInfo | ( | const String & | key | ) | const |
Retrieves stored data from the given field
key | key to lookup data from |
void Arp::System::NmPayload::Security::SecurityNotificationInfo::SetJsonString | ( | const String & | json | ) |
Overrides all infos with the values from the given string
json | JSON formatted string to extract data from |