Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
Loading...
Searching...
No Matches
ProtectionSettings Class Reference

Interface for configuring protection options for the SetLabel method. More...

#include <src/api/mip/file/protection_settings.h>

Public Member Functions

std::string GetDelegatedUserEmail () const
 
PFileExtensionBehavior GetPFileExtensionBehavior () const
 
 ProtectionSettings ()=default
 
 ProtectionSettings (const std::string &delegatedUserEmail, PFileExtensionBehavior pfileExtensionBehavior)
 
void SetDelegatedUserEmail (const std::string delegatedUserEmail)
 
void SetPFileExtensionBehavior (PFileExtensionBehavior pfileExtensionBehavior)
 

Detailed Description

Interface for configuring protection options for the SetLabel method.

Definition at line 40 of file protection_settings.h.

Constructor & Destructor Documentation

◆ ProtectionSettings() [1/2]

ProtectionSettings::ProtectionSettings ( )
default

◆ ProtectionSettings() [2/2]

ProtectionSettings::ProtectionSettings ( const std::string & delegatedUserEmail,
PFileExtensionBehavior pfileExtensionBehavior )
inline

Definition at line 44 of file protection_settings.h.

45 : mDelegatedUserEmail(delegatedUserEmail), mPFileExtensionBehavior(pfileExtensionBehavior) {}

Member Function Documentation

◆ GetDelegatedUserEmail()

std::string ProtectionSettings::GetDelegatedUserEmail ( ) const
inline

Definition at line 49 of file protection_settings.h.

49{ return mDelegatedUserEmail; }

◆ GetPFileExtensionBehavior()

PFileExtensionBehavior ProtectionSettings::GetPFileExtensionBehavior ( ) const
inline

Definition at line 53 of file protection_settings.h.

53{ return mPFileExtensionBehavior; }

◆ SetDelegatedUserEmail()

void ProtectionSettings::SetDelegatedUserEmail ( const std::string delegatedUserEmail)
inline

Definition at line 47 of file protection_settings.h.

47{ mDelegatedUserEmail = delegatedUserEmail; }

◆ SetPFileExtensionBehavior()

void ProtectionSettings::SetPFileExtensionBehavior ( PFileExtensionBehavior pfileExtensionBehavior)
inline

Definition at line 51 of file protection_settings.h.

51{ mPFileExtensionBehavior = pfileExtensionBehavior; }

The documentation for this class was generated from the following file: