| |
| |
| |
| |
|
|
| #pragma once |
|
|
| #include <aws/core/Core_EXPORTS.h> |
| #include <aws/core/client/ClientConfiguration.h> |
|
|
| namespace Aws |
| { |
| namespace Client |
| { |
| |
| |
| |
| struct AWS_CORE_API GenericClientConfiguration : public ClientConfiguration |
| { |
| GenericClientConfiguration(const ClientConfigurationInitValues &configuration = {}) |
| : ClientConfiguration(configuration) |
| {} |
|
|
| |
| |
| |
| |
| |
| |
| GenericClientConfiguration(const char* inputProfileName, bool shouldDisableIMDS = false) |
| : ClientConfiguration(inputProfileName, shouldDisableIMDS) |
| {} |
|
|
| |
| |
| |
| |
| |
| |
| explicit GenericClientConfiguration(bool useSmartDefaults, const char* defaultMode = "legacy", bool shouldDisableIMDS = false) |
| : ClientConfiguration(useSmartDefaults, defaultMode, shouldDisableIMDS) |
| {} |
|
|
| GenericClientConfiguration(const ClientConfiguration& config) |
| : ClientConfiguration(config) |
| {} |
| }; |
|
|
| #if 0 |
| |
| |
| |
| template <bool EndpointDiscoveryDefaultValT = false> |
| struct AWS_CORE_API GenericClientConfiguration<EndpointDiscoveryDefaultValT, true> : public ClientConfiguration |
| { |
| static const bool EndpointDiscoverySupported = true; |
| static const bool EndpointDiscoveryDefaultValue = EndpointDiscoveryDefaultValT; |
|
|
| GenericClientConfiguration(const ClientConfigurationInitValues &configuration = {}); |
| GenericClientConfiguration(const char* profileName, bool shouldDisableIMDS = false); |
| explicit GenericClientConfiguration(bool useSmartDefaults, const char* defaultMode = "legacy", bool shouldDisableIMDS = false); |
| GenericClientConfiguration(const ClientConfiguration& config); |
| GenericClientConfiguration(const GenericClientConfiguration&); |
| GenericClientConfiguration& operator=(const GenericClientConfiguration&); |
|
|
|
|
| |
| |
| |
| |
| |
| bool& enableHostPrefixInjection; |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| Aws::Crt::Optional<bool>& enableEndpointDiscovery; |
| }; |
| #endif |
| } |
| } |
|
|