Rename s3_operations.h/cc
Change-Id: I96951eb3e52f7dd625b3e07954e359e79dd7c9b3
Signed-off-by: James Kuszmaul <james.kuszmaul@bluerivertech.com>
diff --git a/aos/events/logging/s3_file_operations.h b/aos/events/logging/s3_file_operations.h
new file mode 100644
index 0000000..ae94f62
--- /dev/null
+++ b/aos/events/logging/s3_file_operations.h
@@ -0,0 +1,22 @@
+#ifndef AOS_EVENTS_LOGGING_S3_FILE_OPERATIONS_H_
+#define AOS_EVENTS_LOGGING_S3_FILE_OPERATIONS_H_
+
+#include "aos/events/logging/file_operations.h"
+
+namespace aos::logger::internal {
+
+class S3FileOperations final : public FileOperations {
+ public:
+ explicit S3FileOperations(std::string_view url);
+
+ bool Exists() final { return !object_urls_.empty(); }
+
+ void FindLogs(std::vector<std::string> *files) final;
+
+ private:
+ const std::vector<std::string> object_urls_;
+};
+
+} // namespace aos::logger::internal
+
+#endif // AOS_EVENTS_LOGGING_S3_FILE_OPERATIONS_H_