26 #include <boost/optional.hpp>
28 #include <olp/dataservice/write/DataServiceWriteApi.h>
29 #include <olp/dataservice/write/generated/model/VersionDependency.h>
32 namespace dataservice {
52 layers_ = std::move(layers);
61 inline const boost::optional<std::vector<std::string>>&
GetLayers()
const {
71 std::vector<VersionDependency> versionDependencies) {
72 versionDependencies_ = std::move(versionDependencies);
81 inline const boost::optional<std::vector<VersionDependency>>&
83 return versionDependencies_;
108 billing_tag_ = std::move(billing_tag);
113 boost::optional<std::vector<std::string>> layers_;
114 boost::optional<std::vector<VersionDependency>> versionDependencies_;
115 boost::optional<std::string> billing_tag_;
Starts a versioned batch operation.
Definition: StartBatchRequest.h:37
StartBatchRequest & WithBillingTag(std::string billing_tag)
Sets the billing tag for the request.
Definition: StartBatchRequest.h:107
const boost::optional< std::vector< VersionDependency > > & GetVersionDependencies() const
Gets the version dependencies used in the batch operation.
Definition: StartBatchRequest.h:82
const boost::optional< std::vector< std::string > > & GetLayers() const
Gets the layers used in the batch operation.
Definition: StartBatchRequest.h:61
const boost::optional< std::string > & GetBillingTag() const
Gets the billing tag to group billing records together.
Definition: StartBatchRequest.h:96
StartBatchRequest & WithVersionDependencies(std::vector< VersionDependency > versionDependencies)
Sets the version dependencies used in the batch operation.
Definition: StartBatchRequest.h:70
StartBatchRequest & WithLayers(std::vector< std::string > layers)
Sets the layers used in the batch operation.
Definition: StartBatchRequest.h:51
Rules all the other namespaces.
Definition: AppleSignInProperties.h:24