5 #ifndef INCLUDE_CBE_PUBLISH_H_
6 #define INCLUDE_CBE_PUBLISH_H_
10 #include "cbe/Types.h"
14 using PublishPtr = std::shared_ptr<CBI::Publish>;
113 explicit operator bool()
const;
116 std::shared_ptr<Impl> pImpl{};
120 Publish(CBI::PublishPtr cbiPeerPtr);
121 CBI::Publish& getCbiPeer()
const;
The session that holds the connection with the cloud.
Definition: CloudBackend.h:47
A set made up of Container and Object.
Definition: Item.h:36
Managing a published Item.
Definition: Publish.h:23
void setPassword(const std::string &password)
Set the Password of this publication.
cbe::PublishId getPublishId() const
cbe::PublishVisibility getPrivacy() const
void setTitle(const std::string &title)
Set the Title of this publication.
std::string getTitle() const
Publish(cbe::DefaultCtor)
Default constructor.
std::string getDescription() const
void setDescription(const std::string &description)
Set the Description of this publication.
void setSecurity(cbe::PublishAccess security)
Set the Security of this publication.
cbe::PublishAccess getSecurity() const
std::string getPassword() const
void setPrivacy(cbe::PublishVisibility privacy)
Set the Privacy of this publication.
Root namespace for the CloudBackend SDK API.
Definition: Account.h:22
DefaultCtor
Default constructor marker.
Definition: Types.h:204
PublishVisibility
Definition: Types.h:357
PublishAccess
Definition: Types.h:342
std::uint64_t PublishId
Id of a subscribed cbe::Container or cbe::Object.
Definition: Types.h:104