15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_DOWNLOAD_OPTIONS_H
16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_DOWNLOAD_OPTIONS_H
18 #include "google/cloud/storage/internal/complex_option.h"
39 struct ReadRange :
public internal::ComplexOption<ReadRange, ReadRangeData> {
41 explicit ReadRange(std::int64_t begin, std::int64_t end)
43 static char const*
name() {
return "read-range"; }
47 return os <<
"ReadRangeData={begin=" << rhs.
begin <<
", end=" << rhs.
end
55 :
public internal::ComplexOption<ReadFromOffset, std::int64_t> {
56 using ComplexOption::ComplexOption;
60 static char const*
name() {
return "read-offset"; }
66 struct ReadLast :
public internal::ComplexOption<ReadLast, std::int64_t> {
67 using ComplexOption::ComplexOption;
71 static char const*
name() {
return "read-last"; }
79 #endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_DOWNLOAD_OPTIONS_H