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

Contains information on a publication. More...

#include <Publication.h>

Public Member Functions

 Publication (const Publication &)=default
 
 Publication (Publication &&)=default
 
Publicationoperator= (const Publication &)=default
 
Publicationoperator= (Publication &&)=default
 
const boost::optional< std::string > & GetId () const
 Gets the publication ID. More...
 
boost::optional< std::string > & GetMutableId ()
 Gets a mutable reference to the publication ID. More...
 
void SetId (const std::string &value)
 Sets the publication ID. More...
 
const boost::optional< Details > & GetDetails () const
 Gets the details of the publication. More...
 
boost::optional< Details > & GetMutableDetails ()
 Gets a mutable reference to the details of the publication. More...
 
void SetDetails (const Details &value)
 Sets the details of the publication. More...
 
const boost::optional< std::vector< std::string > > & GetLayerIds () const
 Gets the ID of the layer that should be published. More...
 
boost::optional< std::vector< std::string > > & GetMutableLayerIds ()
 Gets a mutable reference to the ID of the layer that should be published. More...
 
void SetLayerIds (const std::vector< std::string > &value)
 Sets the layer ID. More...
 
const boost::optional< int64_t > & GetCatalogVersion () const
 Gets the version of the catalog to be published. More...
 
boost::optional< int64_t > & GetMutableCatalogVersion ()
 Gets a mutable reference to the version of the catalog to be published. More...
 
void SetCatalogVersion (const int64_t &value)
 Sets the catalog version. More...
 
const boost::optional< std::vector< VersionDependency > > & GetVersionDependencies () const
 Gets the version dependencies. More...
 
boost::optional< std::vector< VersionDependency > > & GetMutableVersionDependencies ()
 Gets a mutable reference to the version dependencies. More...
 
void SetVersionDependencies (const std::vector< VersionDependency > &value)
 Sets the version dependencies. More...
 

Detailed Description

Contains information on a publication.

Member Function Documentation

◆ GetCatalogVersion()

const boost::optional<int64_t>& olp::dataservice::write::model::Publication::GetCatalogVersion ( ) const
inline

Gets the version of the catalog to be published.

Returns
The catalog version.

◆ GetDetails()

const boost::optional<Details>& olp::dataservice::write::model::Publication::GetDetails ( ) const
inline

Gets the details of the publication.

Returns
The details of the publication.

◆ GetId()

const boost::optional<std::string>& olp::dataservice::write::model::Publication::GetId ( ) const
inline

Gets the publication ID.

Returns
The publication ID.

◆ GetLayerIds()

const boost::optional<std::vector<std::string> >& olp::dataservice::write::model::Publication::GetLayerIds ( ) const
inline

Gets the ID of the layer that should be published.

Returns
The layer ID.

◆ GetMutableCatalogVersion()

boost::optional<int64_t>& olp::dataservice::write::model::Publication::GetMutableCatalogVersion ( )
inline

Gets a mutable reference to the version of the catalog to be published.

Returns
The mutable reference to the version of the catalog to be published.

◆ GetMutableDetails()

boost::optional<Details>& olp::dataservice::write::model::Publication::GetMutableDetails ( )
inline

Gets a mutable reference to the details of the publication.

Returns
The mutable reference to the details of the publication.

◆ GetMutableId()

boost::optional<std::string>& olp::dataservice::write::model::Publication::GetMutableId ( )
inline

Gets a mutable reference to the publication ID.

Returns
The mutable reference to the publication ID.

◆ GetMutableLayerIds()

boost::optional<std::vector<std::string> >& olp::dataservice::write::model::Publication::GetMutableLayerIds ( )
inline

Gets a mutable reference to the ID of the layer that should be published.

Returns
The mutable reference to the layer ID.

◆ GetMutableVersionDependencies()

boost::optional<std::vector<VersionDependency> >& olp::dataservice::write::model::Publication::GetMutableVersionDependencies ( )
inline

Gets a mutable reference to the version dependencies.

Returns
The mutable reference to the version dependencies.

◆ GetVersionDependencies()

const boost::optional<std::vector<VersionDependency> >& olp::dataservice::write::model::Publication::GetVersionDependencies ( ) const
inline

Gets the version dependencies.

Returns
The version dependencies.

◆ SetCatalogVersion()

void olp::dataservice::write::model::Publication::SetCatalogVersion ( const int64_t &  value)
inline

Sets the catalog version.

Parameters
valueThe catalog version.

◆ SetDetails()

void olp::dataservice::write::model::Publication::SetDetails ( const Details value)
inline

Sets the details of the publication.

Parameters
valueThe details of the publication.

◆ SetId()

void olp::dataservice::write::model::Publication::SetId ( const std::string &  value)
inline

Sets the publication ID.

Parameters
valueThe publication ID.

◆ SetLayerIds()

void olp::dataservice::write::model::Publication::SetLayerIds ( const std::vector< std::string > &  value)
inline

Sets the layer ID.

Parameters
valueThe layer ID.

◆ SetVersionDependencies()

void olp::dataservice::write::model::Publication::SetVersionDependencies ( const std::vector< VersionDependency > &  value)
inline

Sets the version dependencies.

Parameters
valueThe version dependencies.

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