s3_client_utils.cpp
Go to the documentation of this file.
1 /*
2  * Copyright 2020 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  */
16 
18 #include <aws/core/utils/logging/LogMacros.h>
19 
20 #include <file_uploader_msgs/UploadFilesAction.h>
21 
22 #include <recorder_msgs/RollingRecorderAction.h>
23 
26 
27 namespace Aws
28 {
29 namespace Rosbag
30 {
31 namespace Utils
32 {
33 
34 file_uploader_msgs::UploadFilesGoal ConstructRosBagUploaderGoal(std::string destination,
35  std::vector<std::string> & ros_bags_to_upload)
36 {
37  AWS_LOG_INFO(__func__, "Constructing Uploader Goal.");
38  file_uploader_msgs::UploadFilesGoal file_uploader_goal;
39  file_uploader_goal.files = ros_bags_to_upload;
40  file_uploader_goal.upload_location = std::move(destination);
41  return file_uploader_goal;
42 }
43 
44 } // namespace Utils
45 } // namespace Rosbag
46 } // namespace Aws
file_uploader_msgs::UploadFilesGoal ConstructRosBagUploaderGoal(std::string destination, std::vector< std::string > &ros_bags_to_upload)


rosbag_cloud_recorders
Author(s): AWS RoboMaker
autogenerated on Tue Jun 1 2021 02:51:27