25 #include <olp/dataservice/write/DataServiceWriteApi.h>
28 namespace dataservice {
50 : direct_(direct), hrn_(std::move(hrn)), version_(version) {}
77 void SetDirect(
const bool& value) { this->direct_ = value; }
84 const std::string&
GetHrn()
const {
return hrn_; }
98 void SetHrn(
const std::string& value) { this->hrn_ = value; }
119 void SetVersion(
const int64_t& value) { this->version_ = value; }
Represents catalog and version dependencies.
Definition: VersionDependency.h:33
int64_t & GetMutableVersion()
Gets a mutable reference to the catalog version.
Definition: VersionDependency.h:112
const bool & GetDirect() const
Gets the direct dependency status.
Definition: VersionDependency.h:63
void SetHrn(const std::string &value)
Sets the catalog HRN.
Definition: VersionDependency.h:98
bool & GetMutableDirect()
Gets a mutable reference to the direct dependency status.
Definition: VersionDependency.h:70
void SetDirect(const bool &value)
Sets the direct dependency status.
Definition: VersionDependency.h:77
void SetVersion(const int64_t &value)
Sets the catalog version.
Definition: VersionDependency.h:119
const int64_t & GetVersion() const
Gets the catalog version.
Definition: VersionDependency.h:105
const std::string & GetHrn() const
Gets the catalog HRN.
Definition: VersionDependency.h:84
std::string & GetMutableHrn()
Gets a mutable reference to the catalog HRN.
Definition: VersionDependency.h:91
VersionDependency(bool direct, std::string hrn, int64_t version)
Creates the VersionDependency instance.
Definition: VersionDependency.h:49
Rules all the other namespaces.
Definition: AppleSignInProperties.h:24