olp-cpp-sdk
1.22.0
|
Publishes data to a versioned and volatile layer. More...
#include <PublishPartitionDataRequest.h>
Public Member Functions | |
PublishPartitionDataRequest (const PublishPartitionDataRequest &)=default | |
PublishPartitionDataRequest (PublishPartitionDataRequest &&)=default | |
PublishPartitionDataRequest & | operator= (const PublishPartitionDataRequest &)=default |
PublishPartitionDataRequest & | operator= (PublishPartitionDataRequest &&)=default |
std::shared_ptr< std::vector< unsigned char > > | GetData () const |
Gets the data to be published to the HERE platform. More... | |
PublishPartitionDataRequest & | WithData (const std::shared_ptr< std::vector< unsigned char >> &data) |
Sets the data to be published to the HERE platform. More... | |
PublishPartitionDataRequest & | WithData (std::shared_ptr< std::vector< unsigned char >> &&data) |
Sets the data to be published to the HERE platform. More... | |
const std::string & | GetLayerId () const |
Gets the layer ID of the catalog where you want to store the data. More... | |
PublishPartitionDataRequest & | WithLayerId (const std::string &layer_id) |
Sets the layer ID of the catalog where you want to store the data. More... | |
PublishPartitionDataRequest & | WithLayerId (std::string &&layer_id) |
Sets the layer ID of the catalog where you want to store the data. More... | |
const boost::optional< std::string > & | GetPartitionId () const |
Gets the ID of the partition to which you want to publish data. More... | |
PublishPartitionDataRequest & | WithPartitionId (const std::string &partition_id) |
Sets the ID of the partition to which you want to publish data. More... | |
PublishPartitionDataRequest & | WithPartitionId (std::string &&partition_id) |
Sets the ID of the partition to which you want to publish data. More... | |
const boost::optional< std::string > & | GetBillingTag () const |
Gets the billing tag to group billing records together. More... | |
PublishPartitionDataRequest & | WithBillingTag (const std::string &billing_tag) |
Sets the billing tag for the request. More... | |
PublishPartitionDataRequest & | WithBillingTag (std::string &&billing_tag) |
Sets the billing tag for the request. More... | |
const boost::optional< std::string > & | GetChecksum () const |
Gets the request checksum. More... | |
PublishPartitionDataRequest & | WithChecksum (const std::string &checksum) |
Sets the request checksum. More... | |
PublishPartitionDataRequest & | WithChecksum (std::string &&checksum) |
Sets the request checksum. More... | |
Publishes data to a versioned and volatile layer.
|
inline |
Gets the billing tag to group billing records together.
The billing tag is an optional free-form tag that is used for grouping billing records together. If supplied, it must be 4–16 characters long and contain only alphanumeric ASCII characters [A-Za-z0-9].
BillingTag
string or boost::none
if the billing tag is not set.
|
inline |
Gets the request checksum.
It is an SHA-256 hash that you can provide for validation against the calculated value on the request body hash. It verifies the integrity of your request and prevents modification by a third party. If not provided, it is created by the service. The SHA-256 hash consists of 256 bits or 64 chars.
|
inline |
Gets the data to be published to the HERE platform.
|
inline |
Gets the layer ID of the catalog where you want to store the data.
|
inline |
Gets the ID of the partition to which you want to publish data.
|
inline |
Sets the billing tag for the request.
GetBillingTag()
for information on usage and format.billing_tag | The BillingTag string or boost::none . |
|
inline |
Sets the billing tag for the request.
GetBillingTag()
for information on usage and format.billing_tag | The rvalue reference to the BillingTag string or boost::none . |
|
inline |
Sets the request checksum.
GetChecksum
for information on the checksum.checksum | The request checksum. |
|
inline |
Sets the request checksum.
GetChecksum
for information on the checksum.checksum | The rvalue reference to the request checksum. |
|
inline |
Sets the data to be published to the HERE platform.
data | The data to be published. |
|
inline |
Sets the data to be published to the HERE platform.
data | The rvalue reference to the data to be published. |
|
inline |
Sets the layer ID of the catalog where you want to store the data.
Make sure the layer is of the volative or versioned type.
layer_id | The layer ID of the catalog. |
|
inline |
Sets the layer ID of the catalog where you want to store the data.
Make sure the layer is of the volative or versioned type.
layer_id | The rvalue reference to the layer ID of the catalog. |
|
inline |
Sets the ID of the partition to which you want to publish data.
partition_id | A key that specifies the partition to which the content is related. If the layer partitioning scheme is set to HERE tile, the partition key is the tile key. The maximum length of the partition key is 500 characters. |
|
inline |
Sets the ID of the partition to which you want to publish data.
partition_id | A key that specifies the partition to which the content is related. If the layer partitioning scheme is set to HERE tile, the partition key is the tile key. The maximum length of the partition key is 500 characters. |