33#ifndef API_MIP_PROTECTION_GET_TEMPLATE_SETTINGS_H_
34#define API_MIP_PROTECTION_GET_TEMPLATE_SETTINGS_H_
96#ifdef MIP_OFFLINE_PUBLISHING_ENABLED
104 virtual void SetFetchSerializedTemplates(
bool fetchSerializedTemplates) = 0;
111 virtual bool FetchSerializedTemplates()
const = 0;
Settings to use when obtaining templates.
static MIP_API std::shared_ptr< GetTemplatesSettings > __CDECL CreateGetTemplatesSettings()
Creates a GetTemplatesSettings object.
virtual void ForceRefresh(bool enabled)=0
Can enable force refresh of templates, ignoring former cached response.
virtual void SetDelegatedUserEmail(const std::string &delegatedUserEmail)=0
Sets the delegated user.
virtual const std::string & GetDelegatedUserEmail() const =0
Gets the delegated user.
virtual bool ShouldCacheResponse() const =0
Can cache templates or not.
virtual void EnableCaching(bool cachingAllowed)=0
Can disable caching of template response.
virtual bool ShouldRefreshTemplates() const =0
Can enable force refresh of templates, ignoring former cached response.
Settings to use for protection operations.
A file export/import macros.
Defines ProtectionCommonSettings interface.