AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GenericClientConfiguration.h
1
6#pragma once
7
8#include <aws/core/Core_EXPORTS.h>
9#include <aws/core/client/ClientConfiguration.h>
10
11namespace Aws
12{
13 namespace Client
14 {
19 {
21 : ClientConfiguration(configuration)
22 {}
23
30 GenericClientConfiguration(const char* inputProfileName, bool shouldDisableIMDS = false)
31 : ClientConfiguration(inputProfileName, shouldDisableIMDS)
32 {}
33
40 explicit GenericClientConfiguration(bool useSmartDefaults, const char* defaultMode = "legacy", bool shouldDisableIMDS = false)
41 : ClientConfiguration(useSmartDefaults, defaultMode, shouldDisableIMDS)
42 {}
43
45 : ClientConfiguration(config)
46 {}
47 };
48
49#if 0
53 template <bool EndpointDiscoveryDefaultValT = false>
54 struct AWS_CORE_API GenericClientConfiguration<EndpointDiscoveryDefaultValT, true> : public ClientConfiguration
55 {
56 static const bool EndpointDiscoverySupported = true;
57 static const bool EndpointDiscoveryDefaultValue = EndpointDiscoveryDefaultValT;
58
59 GenericClientConfiguration(const ClientConfigurationInitValues &configuration = {});
60 GenericClientConfiguration(const char* profileName, bool shouldDisableIMDS = false);
61 explicit GenericClientConfiguration(bool useSmartDefaults, const char* defaultMode = "legacy", bool shouldDisableIMDS = false);
62 GenericClientConfiguration(const ClientConfiguration& config);
63 GenericClientConfiguration(const GenericClientConfiguration&);
64 GenericClientConfiguration& operator=(const GenericClientConfiguration&);
65
66
72 bool& enableHostPrefixInjection;
73
83 Aws::Crt::Optional<bool>& enableEndpointDiscovery;
84 };
85#endif
86 } // namespace Client
87} // namespace Aws
GenericClientConfiguration(const ClientConfiguration &config)
GenericClientConfiguration(const char *inputProfileName, bool shouldDisableIMDS=false)
GenericClientConfiguration(const ClientConfigurationInitValues &configuration={})
GenericClientConfiguration(bool useSmartDefaults, const char *defaultMode="legacy", bool shouldDisableIMDS=false)