#pragma once #include "config.h" #if USE_AWS_S3 #include #include #include namespace DB { struct S3ObjectStorageSettings; std::unique_ptr getSettings( const Poco::Util::AbstractConfiguration & config, const String & config_prefix, ContextPtr context, const std::string & endpoint, bool validate_settings); std::unique_ptr getClient( const std::string & endpoint, const S3ObjectStorageSettings & settings, ContextPtr context, bool for_disk_s3); std::unique_ptr getClient( const S3::URI & url_, const S3ObjectStorageSettings & settings, ContextPtr context, bool for_disk_s3); } #endif