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;
 
  118  MIP_API static std::shared_ptr<GetTemplatesSettings> __CDECL CreateGetTemplatesSettings();
 
 
Settings to use when obtaining templates.
Definition get_template_settings.h:48
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. Will cache by default.
virtual bool ShouldRefreshTemplates() const =0
Can enable force refresh of templates, ignoring former cached response.
Settings to use for protection operations.
Definition protection_common_settings.h:46
A file export/import macros.
Defines ProtectionCommonSettings interface.