olp-cpp-sdk  1.22.0
Public Member Functions | List of all members
olp::dataservice::write::model::VersionDependency Class Reference

Represents catalog and version dependencies. More...

#include <VersionDependency.h>

Public Member Functions

 VersionDependency (const VersionDependency &)=default
 
 VersionDependency (VersionDependency &&)=default
 
VersionDependencyoperator= (const VersionDependency &)=default
 
VersionDependencyoperator= (VersionDependency &&)=default
 
 VersionDependency (bool direct, std::string hrn, int64_t version)
 Creates the VersionDependency instance. More...
 
const bool & GetDirect () const
 Gets the direct dependency status. More...
 
bool & GetMutableDirect ()
 Gets a mutable reference to the direct dependency status. More...
 
void SetDirect (const bool &value)
 Sets the direct dependency status. More...
 
const std::string & GetHrn () const
 Gets the catalog HRN. More...
 
std::string & GetMutableHrn ()
 Gets a mutable reference to the catalog HRN. More...
 
void SetHrn (const std::string &value)
 Sets the catalog HRN. More...
 
const int64_t & GetVersion () const
 Gets the catalog version. More...
 
int64_t & GetMutableVersion ()
 Gets a mutable reference to the catalog version. More...
 
void SetVersion (const int64_t &value)
 Sets the catalog version. More...
 

Detailed Description

Represents catalog and version dependencies.

Constructor & Destructor Documentation

◆ VersionDependency()

olp::dataservice::write::model::VersionDependency::VersionDependency ( bool  direct,
std::string  hrn,
int64_t  version 
)
inline

Creates the VersionDependency instance.

Parameters
directSpecifies if the dependency is direct.
hrnThe catalog HRN.
versionThe catalog version.

Member Function Documentation

◆ GetDirect()

const bool& olp::dataservice::write::model::VersionDependency::GetDirect ( ) const
inline

Gets the direct dependency status.

Returns
The direct dependency status.

◆ GetHrn()

const std::string& olp::dataservice::write::model::VersionDependency::GetHrn ( ) const
inline

Gets the catalog HRN.

Returns
The catalog HRN.

◆ GetMutableDirect()

bool& olp::dataservice::write::model::VersionDependency::GetMutableDirect ( )
inline

Gets a mutable reference to the direct dependency status.

Returns
The mutable reference to the direct dependency status.

◆ GetMutableHrn()

std::string& olp::dataservice::write::model::VersionDependency::GetMutableHrn ( )
inline

Gets a mutable reference to the catalog HRN.

Returns
The mutable reference to the catalog HRN.

◆ GetMutableVersion()

int64_t& olp::dataservice::write::model::VersionDependency::GetMutableVersion ( )
inline

Gets a mutable reference to the catalog version.

Returns
The mutable reference to the catalog version.

◆ GetVersion()

const int64_t& olp::dataservice::write::model::VersionDependency::GetVersion ( ) const
inline

Gets the catalog version.

Returns
The catalog version.

◆ SetDirect()

void olp::dataservice::write::model::VersionDependency::SetDirect ( const bool &  value)
inline

Sets the direct dependency status.

Parameters
valueThe direct dependency status.

◆ SetHrn()

void olp::dataservice::write::model::VersionDependency::SetHrn ( const std::string &  value)
inline

Sets the catalog HRN.

Parameters
valueThe catalog HRN.

◆ SetVersion()

void olp::dataservice::write::model::VersionDependency::SetVersion ( const int64_t &  value)
inline

Sets the catalog version.

Parameters
valueThe catalog version.

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