Main Page
Namespaces
Classes
Files
File List
File Members
include
s3_common
utils.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
#pragma once
16
17
#include <string>
18
19
std::string
GetFileName
(
const
std::string& file_path);
20
std::string
GenerateObjectKey
(
const
std::string& file_path,
const
std::string& prefix);
GetFileName
std::string GetFileName(const std::string &file_path)
Definition:
utils.cpp:4
GenerateObjectKey
std::string GenerateObjectKey(const std::string &file_path, const std::string &prefix)
Definition:
utils.cpp:14
s3_common
Author(s): AWS RoboMaker
autogenerated on Tue Jun 1 2021 02:51:29