Microsoft Information Protection (MIP) SDK for C++: Reference 1.16
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>

Collaboration diagram for ProtectionSettings:

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)
 

Private Attributes

std::string mDelegatedUserEmail
 
PFileExtensionBehavior mPFileExtensionBehavior { PFileExtensionBehavior::Default }
 

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) {}
std::string mDelegatedUserEmail
PFileExtensionBehavior mPFileExtensionBehavior

Member Function Documentation

◆ GetDelegatedUserEmail()

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

Definition at line 49 of file protection_settings.h.

49{ return mDelegatedUserEmail; }

References mDelegatedUserEmail.

◆ GetPFileExtensionBehavior()

PFileExtensionBehavior ProtectionSettings::GetPFileExtensionBehavior ( ) const
inline

Definition at line 53 of file protection_settings.h.

References mPFileExtensionBehavior.

◆ SetDelegatedUserEmail()

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

Definition at line 47 of file protection_settings.h.

47{ mDelegatedUserEmail = delegatedUserEmail; }

References mDelegatedUserEmail.

◆ SetPFileExtensionBehavior()

void ProtectionSettings::SetPFileExtensionBehavior ( PFileExtensionBehavior pfileExtensionBehavior)
inline

Definition at line 51 of file protection_settings.h.

51{ mPFileExtensionBehavior = pfileExtensionBehavior; }

References mPFileExtensionBehavior.

Member Data Documentation

◆ mDelegatedUserEmail

std::string ProtectionSettings::mDelegatedUserEmail
private

Definition at line 56 of file protection_settings.h.

Referenced by GetDelegatedUserEmail(), and SetDelegatedUserEmail().

◆ mPFileExtensionBehavior

PFileExtensionBehavior ProtectionSettings::mPFileExtensionBehavior { PFileExtensionBehavior::Default }
private

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