s3_file_uploader.h
Go to the documentation of this file.
1 /*
2  * Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #pragma once
17 
19 #include <ros/ros.h>
21 #include <file_uploader_msgs/UploadFilesAction.h>
23 
24 namespace Aws {
25 namespace S3 {
26 
28 
33 {
34 public:
35  explicit S3FileUploader(std::unique_ptr<S3UploadManager> upload_manager = nullptr);
36  ~S3FileUploader() = default;
37  void Spin();
38 
39 private:
42  std::unique_ptr<S3UploadManager> upload_manager_;
43  std::shared_ptr<Aws::Client::Ros1NodeParameterReader> parameter_reader_;
44  std::string bucket_;
45 };
46 
47 } // namespace S3
48 } // namespace Aws
UploadFilesActionServer action_server_
std::unique_ptr< S3UploadManager > upload_manager_
ros::NodeHandle node_handle_
std::shared_ptr< Aws::Client::Ros1NodeParameterReader > parameter_reader_
S3FileUploader(std::unique_ptr< S3UploadManager > upload_manager=nullptr)


s3_file_uploader
Author(s): AWS RoboMaker
autogenerated on Tue Jun 1 2021 02:51:30