5#ifndef OCPP_V16_DATATRANSFER_HPP
6#define OCPP_V16_DATATRANSFER_HPP
8#include <nlohmann/json_fwd.hpp>
11#include <ocpp/common/types.hpp>
12#include <ocpp/v16/ocpp_enums.hpp>
13#include <ocpp/v16/ocpp_types.hpp>
21 std::optional<CiString<50>> messageId;
22 std::optional<std::string> data;
26 std::string
get_type()
const override;
41 DataTransferStatus status;
42 std::optional<std::string> data;
46 std::string
get_type()
const override;
Parent structure for all OCPP messages supported by this implementation.
Definition: types.hpp:30
Contains a OCPP DataTransfer message.
Definition: DataTransfer.hpp:19
std::string get_type() const override
Provides the type of this DataTransfer message as a human readable string.
Definition: DataTransfer.cpp:16
Contains a OCPP DataTransferResponse message.
Definition: DataTransfer.hpp:40
std::string get_type() const override
Provides the type of this DataTransferResponse message as a human readable string.
Definition: DataTransfer.cpp:54