AWS SDK for C++  1.9.15
AWS SDK for C++
ClientConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
7 
9 #include <aws/core/http/Scheme.h>
10 #include <aws/core/Region.h>
13 #include <aws/core/utils/Array.h>
14 #include <aws/crt/Optional.h>
15 #include <memory>
16 
17 namespace Aws
18 {
19  namespace Utils
20  {
21  namespace Threading
22  {
23  class Executor;
24  } // namespace Threading
25 
26  namespace RateLimits
27  {
28  class RateLimiterInterface;
29  } // namespace RateLimits
30  } // namespace Utils
31  namespace Client
32  {
33  class RetryStrategy; // forward declare
34 
42  {
43  DEFAULT,
44  ALWAYS,
45  NEVER
46  };
47 
53  {
55 
60  ClientConfiguration(const char* profileName);
61 
81  unsigned maxConnections;
110  unsigned long tcpKeepAliveIntervalMs;
115  unsigned long lowSpeedLimit;
119  std::shared_ptr<RetryStrategy> retryStrategy;
135  unsigned proxyPort;
176  std::shared_ptr<Aws::Utils::Threading::Executor> executor;
181  bool verifySSL;
197  std::shared_ptr<Aws::Utils::RateLimits::RateLimiterInterface> writeRateLimiter;
201  std::shared_ptr<Aws::Utils::RateLimits::RateLimiterInterface> readRateLimiter;
210 
221 
226 
233 
243  Aws::Crt::Optional<bool> enableEndpointDiscovery;
244 
249 
250  };
251 
252  } // namespace Client
253 } // namespace Aws
Aws::DirectoryService::Model::LDAPSType::NOT_SET
@ NOT_SET
Aws::Http::TransferLibType
TransferLibType
Definition: HttpTypes.h:37
Aws::Client::ClientConfiguration::proxySSLKeyType
Aws::String proxySSLKeyType
Definition: ClientConfiguration.h:163
Aws::Client::ClientConfiguration::profileName
Aws::String profileName
Definition: ClientConfiguration.h:248
Aws::Client::ClientConfiguration::proxyHost
Aws::String proxyHost
Definition: ClientConfiguration.h:131
AWS_CORE_API
#define AWS_CORE_API
Definition: Core_EXPORTS.h:25
Aws::Http::Scheme
Scheme
Definition: Scheme.h:20
Aws::Client::ClientConfiguration::ClientConfiguration
ClientConfiguration()
Aws::Client::ClientConfiguration::proxyPassword
Aws::String proxyPassword
Definition: ClientConfiguration.h:143
Aws::Client::ClientConfiguration::tcpKeepAliveIntervalMs
unsigned long tcpKeepAliveIntervalMs
Definition: ClientConfiguration.h:110
Aws::Client::ClientConfiguration::executor
std::shared_ptr< Aws::Utils::Threading::Executor > executor
Definition: ClientConfiguration.h:176
Aws::Client::ClientConfiguration::userAgent
Aws::String userAgent
Definition: ClientConfiguration.h:65
Aws::Client::ClientConfiguration::enableTcpKeepAlive
bool enableTcpKeepAlive
Definition: ClientConfiguration.h:104
Aws::Client::ClientConfiguration::scheme
Aws::Http::Scheme scheme
Definition: ClientConfiguration.h:69
Aws::Client::ClientConfiguration::ClientConfiguration
ClientConfiguration(const char *profileName)
Aws::Client::ClientConfiguration::httpRequestTimeoutMs
long httpRequestTimeoutMs
Definition: ClientConfiguration.h:87
Aws::Client::ClientConfiguration::proxyUserName
Aws::String proxyUserName
Definition: ClientConfiguration.h:139
Aws::Client::ClientConfiguration::region
Aws::String region
Definition: ClientConfiguration.h:73
Aws::Client::ClientConfiguration::enableClockSkewAdjustment
bool enableClockSkewAdjustment
Definition: ClientConfiguration.h:225
Aws::Client::ClientConfiguration::followRedirects
FollowRedirectsPolicy followRedirects
Definition: ClientConfiguration.h:209
Aws::Client::ClientConfiguration::enableEndpointDiscovery
Aws::Crt::Optional< bool > enableEndpointDiscovery
Definition: ClientConfiguration.h:243
Aws::Client::FollowRedirectsPolicy
FollowRedirectsPolicy
Definition: ClientConfiguration.h:42
Aws::Client::ClientConfiguration::nonProxyHosts
Aws::Utils::Array< Aws::String > nonProxyHosts
Definition: ClientConfiguration.h:172
Aws::Client::ClientConfiguration::retryStrategy
std::shared_ptr< RetryStrategy > retryStrategy
Definition: ClientConfiguration.h:119
Aws::Client::FollowRedirectsPolicy::DEFAULT
@ DEFAULT
Aws::Client::ClientConfiguration::readRateLimiter
std::shared_ptr< Aws::Utils::RateLimits::RateLimiterInterface > readRateLimiter
Definition: ClientConfiguration.h:201
Aws::Client::ClientConfiguration
Definition: ClientConfiguration.h:53
Aws::Client::ClientConfiguration::httpLibOverride
Aws::Http::TransferLibType httpLibOverride
Definition: ClientConfiguration.h:205
Aws::Client::ClientConfiguration::disableExpectHeader
bool disableExpectHeader
Definition: ClientConfiguration.h:220
Aws::Client::ClientConfiguration::writeRateLimiter
std::shared_ptr< Aws::Utils::RateLimits::RateLimiterInterface > writeRateLimiter
Definition: ClientConfiguration.h:197
Aws::Client::ClientConfiguration::proxySSLKeyPassword
Aws::String proxySSLKeyPassword
Definition: ClientConfiguration.h:168
Aws::Client::ClientConfiguration::caPath
Aws::String caPath
Definition: ClientConfiguration.h:187
Aws::Client::ClientConfiguration::enableHostPrefixInjection
bool enableHostPrefixInjection
Definition: ClientConfiguration.h:232
Aws::Client::ClientConfiguration::proxySSLCertType
Aws::String proxySSLCertType
Definition: ClientConfiguration.h:153
Aws::Client::ClientConfiguration::lowSpeedLimit
unsigned long lowSpeedLimit
Definition: ClientConfiguration.h:115
Aws::Client::ClientConfiguration::proxyPort
unsigned proxyPort
Definition: ClientConfiguration.h:135
Aws::Utils::Array< Aws::String >
AWSString.h
Aws::Client::ClientConfiguration::proxyScheme
Aws::Http::Scheme proxyScheme
Definition: ClientConfiguration.h:127
Aws::Client::ClientConfiguration::maxConnections
unsigned maxConnections
Definition: ClientConfiguration.h:81
Region.h
Aws::Client::ClientConfiguration::endpointOverride
Aws::String endpointOverride
Definition: ClientConfiguration.h:123
Aws::Client::ClientConfiguration::requestTimeoutMs
long requestTimeoutMs
Definition: ClientConfiguration.h:95
Core_EXPORTS.h
Aws::Client::ClientConfiguration::verifySSL
bool verifySSL
Definition: ClientConfiguration.h:181
Scheme.h
Aws::Client::ClientConfiguration::useDualStack
bool useDualStack
Definition: ClientConfiguration.h:77
Aws
Definition: AccessManagementClient.h:15
HttpTypes.h
Array.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Client::ClientConfiguration::proxySSLKeyPath
Aws::String proxySSLKeyPath
Definition: ClientConfiguration.h:158
Aws::Client::ClientConfiguration::connectTimeoutMs
long connectTimeoutMs
Definition: ClientConfiguration.h:99
Aws::Client::ClientConfiguration::caFile
Aws::String caFile
Definition: ClientConfiguration.h:193
Aws::Client::ClientConfiguration::proxySSLCertPath
Aws::String proxySSLCertPath
Definition: ClientConfiguration.h:148