function serviceMessage = hCreateServiceMessage(messageID, messageText, frequency, clusterID)
% This function is effectively a builder for parallel.internal.cloud.ServiceMessage 
% with MATLAB-compatible datatypes.

%   Copyright 2020 The MathWorks, Inc.

    serviceMessage = parallel.internal.cloud.ServiceMessage();
    serviceMessage.MwMessageID = messageID;
    serviceMessage.MessageText = messageText;
    serviceMessage.Frequency = frequency;
    serviceMessage.ClusterID = clusterID;
end
