AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ClientConfiguration.h
Go to the documentation of this file.
1
6#pragma once
7
12#include <aws/core/Region.h>
13#include <aws/crt/io/Bootstrap.h>
14#include <aws/crt/io/TlsOptions.h>
15
16namespace Aws
17{
18 namespace S3Crt
19 {
21 {
23 partSize(5 * 1024 * 1024),
24 throughputTargetGbps(2.0) {}
25
29 std::shared_ptr<Aws::Crt::Io::ClientBootstrap> clientBootstrap;
30
34 size_t partSize = 5 * 1024 * 1024;
35
39 std::shared_ptr<Aws::Crt::Io::TlsConnectionOptions> tlsConnectionOptions;
40
41 /* Throughput target in Gbps that we are trying to reach. Normally it's the NIC's throughput */
42 double throughputTargetGbps = 2.0;
43
44 /* Callback and associated user data for when the client has completed its shutdown process. */
45 std::function<void(void*)> clientShutdownCallback;
46 void *shutdownCallbackUserData = nullptr;
47 };
48 }
49}
#define AWS_S3CRT_API
Definition: S3Crt_EXPORTS.h:28
std::shared_ptr< Aws::Crt::Io::TlsConnectionOptions > tlsConnectionOptions
std::shared_ptr< Aws::Crt::Io::ClientBootstrap > clientBootstrap
std::function< void(void *)> clientShutdownCallback