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

Checks whether data is present in a layer. More...

#include <CheckDataExistsRequest.h>

Public Member Functions

 CheckDataExistsRequest (const CheckDataExistsRequest &)=default
 
 CheckDataExistsRequest (CheckDataExistsRequest &&)=default
 
CheckDataExistsRequestoperator= (const CheckDataExistsRequest &)=default
 
CheckDataExistsRequestoperator= (CheckDataExistsRequest &&)=default
 
const std::string & GetLayerId () const
 Gets the layer ID to which the data blob belongs. More...
 
CheckDataExistsRequestWithLayerId (const std::string &layer_id)
 Sets the layer ID to which the data blob belongs. More...
 
CheckDataExistsRequestWithLayerId (std::string &&layer_id)
 Sets the layer ID to which the data blob belongs. More...
 
const std::string & GetDataHandle () const
 Gets the data handle that is associated with the data blob. More...
 
CheckDataExistsRequestWithDataHandle (const std::string &data_handle)
 Sets the data handle that is associated with the data blob. More...
 
CheckDataExistsRequestWithDataHandle (const std::string &&data_handle)
 Sets the data handle that is associated with the data blob. More...
 

Detailed Description

Checks whether data is present in a layer.

Member Function Documentation

◆ GetDataHandle()

const std::string& olp::dataservice::write::model::CheckDataExistsRequest::GetDataHandle ( ) const
inline

Gets the data handle that is associated with the data blob.

Returns
The data handle.

◆ GetLayerId()

const std::string& olp::dataservice::write::model::CheckDataExistsRequest::GetLayerId ( ) const
inline

Gets the layer ID to which the data blob belongs.

Returns
The layer ID.

◆ WithDataHandle() [1/2]

CheckDataExistsRequest& olp::dataservice::write::model::CheckDataExistsRequest::WithDataHandle ( const std::string &&  data_handle)
inline

Sets the data handle that is associated with the data blob.

Include it in the callback of VersionedLayerClient::PublishToBatch(). if the operation is successful.

Parameters
data_handleThe rvalue reference to the data handle.

◆ WithDataHandle() [2/2]

CheckDataExistsRequest& olp::dataservice::write::model::CheckDataExistsRequest::WithDataHandle ( const std::string &  data_handle)
inline

Sets the data handle that is associated with the data blob.

Include it in the callback of VersionedLayerClient::PublishToBatch(). if the operation is successful.

Parameters
data_handleThe data handle.

◆ WithLayerId() [1/2]

CheckDataExistsRequest& olp::dataservice::write::model::CheckDataExistsRequest::WithLayerId ( const std::string &  layer_id)
inline

Sets the layer ID to which the data blob belongs.

Parameters
layer_idThe layer ID.

◆ WithLayerId() [2/2]

CheckDataExistsRequest& olp::dataservice::write::model::CheckDataExistsRequest::WithLayerId ( std::string &&  layer_id)
inline

Sets the layer ID to which the data blob belongs.

Parameters
layer_idThe rvalue reference to the layer ID.

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