15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_QUERY_OPTIONS_H
16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_QUERY_OPTIONS_H
18 #include "google/cloud/spanner/request_priority.h"
19 #include "google/cloud/spanner/version.h"
20 #include "google/cloud/optional.h"
21 #include "absl/types/optional.h"
46 return optimizer_version_;
55 optimizer_version_ = std::move(version);
61 return optimizer_statistics_package_;
69 absl::optional<std::string> stats_package) {
70 optimizer_statistics_package_ = std::move(stats_package);
76 return request_priority_;
81 request_priority_ = std::move(priority);
92 request_tag_ = std::move(tag);
97 return a.request_priority_ == b.request_priority_ &&
98 a.request_tag_ == b.request_tag_ &&
99 a.optimizer_version_ == b.optimizer_version_ &&
100 a.optimizer_statistics_package_ == b.optimizer_statistics_package_;
110 absl::optional<std::string> optimizer_version_;
111 absl::optional<std::string> optimizer_statistics_package_;
113 absl::optional<std::string> request_tag_;