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

Service information returned by cloud discovery. More...

#include <src/api/mip/cloud_discovery_delegate.h>

Public Member Functions

std::string GetAuthority () const
 Gets the authority string for authentication.
 
std::string GetResource () const
 Gets the resource string for authentication.
 
ServiceType GetServiceType () const
 Gets the service type of this ServiceInfo, like Protection, Policy, Telemetry, etc.
 
std::string GetUrl () const
 Gets the service URL like https://api.aadrm.com.
 
 ServiceInfo ()
 
 ServiceInfo (ServiceType serviceType, std::string url)
 
 ServiceInfo (ServiceType serviceType, std::string url, std::string resource, std::string authority)
 

Detailed Description

Service information returned by cloud discovery.

Definition at line 49 of file cloud_discovery_delegate.h.

Constructor & Destructor Documentation

◆ ServiceInfo() [1/3]

ServiceInfo::ServiceInfo ( )
inline

Definition at line 51 of file cloud_discovery_delegate.h.

52 : mServiceType(ServiceType::Telemetry),
53 mUrl(""),
54 mResource(""),
55 mAuthority("") {
56 }

◆ ServiceInfo() [2/3]

ServiceInfo::ServiceInfo ( ServiceType serviceType,
std::string url )
inline

Definition at line 58 of file cloud_discovery_delegate.h.

59 : ServiceInfo(serviceType, url, "", "") {
60 }

◆ ServiceInfo() [3/3]

ServiceInfo::ServiceInfo ( ServiceType serviceType,
std::string url,
std::string resource,
std::string authority )
inline

Definition at line 62 of file cloud_discovery_delegate.h.

63 : mServiceType(serviceType),
64 mUrl(url),
65 mResource(resource),
66 mAuthority(authority) {
67 }

Member Function Documentation

◆ GetAuthority()

std::string ServiceInfo::GetAuthority ( ) const
inline

Gets the authority string for authentication.

Returns
authority string

Definition at line 95 of file cloud_discovery_delegate.h.

95{ return mAuthority; }

◆ GetResource()

std::string ServiceInfo::GetResource ( ) const
inline

Gets the resource string for authentication.

Returns
resource string

Definition at line 88 of file cloud_discovery_delegate.h.

88{ return mResource; }

◆ GetServiceType()

ServiceType ServiceInfo::GetServiceType ( ) const
inline

Gets the service type of this ServiceInfo, like Protection, Policy, Telemetry, etc.

Returns
service type

Definition at line 74 of file cloud_discovery_delegate.h.

74{ return mServiceType; }

◆ GetUrl()

std::string ServiceInfo::GetUrl ( ) const
inline

Gets the service URL like https://api.aadrm.com.

Returns
service URL

Definition at line 81 of file cloud_discovery_delegate.h.

81{ return mUrl; }

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