userver
C++ Async Framework
Loading...
Searching...
No Matches
s3api_connection_type.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/s3api/models/s3api_connection_type.hpp
4
/// @brief S3 connection type. Currently used to distinguish between http and
5
/// https. It will be removed in future versions
6
7
#
include
<
string
>
8
9
#
include
<
userver
/
formats
/
json_fwd
.
hpp
>
10
11
USERVER_NAMESPACE_BEGIN
12
13
namespace
s3api {
14
15
enum
class
S3ConnectionType {
16
kHttp,
17
kHttps,
18
};
19
20
S3ConnectionType Parse(
const
formats::
json
::Value& elem, formats::
parse
::
To
<S3ConnectionType>);
21
22
std::string ToString(S3ConnectionType connection_type);
23
std::string_view ToStringView(S3ConnectionType connection_type);
24
25
}
// namespace s3api
26
27
USERVER_NAMESPACE_END
userver
s3api
models
s3api_connection_type.hpp
Generated on Tue Nov 19 2024 11:25:38 for userver by
Doxygen
1.10.0