#pragma once

#include <library/cpp/mediator/messenger.h>

namespace NSearchProxy {
    struct TControlEventLogMessage: public IMessage {
        TString Service;
        bool TargetState;
        bool ResultState;
        bool TargetServiceFound = false;

        inline TControlEventLogMessage(const TString& service, bool targetState)
            : Service(service)
            , TargetState(targetState)
            , ResultState(!targetState)
        {
        }
    };
}
