Skip to content

Commit 7aebfff

Browse files
committed
updating client config
1 parent 6d3d5f0 commit 7aebfff

1 file changed

Lines changed: 22 additions & 10 deletions

File tree

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,30 @@
11
/**
2-
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
* SPDX-License-Identifier: Apache-2.0.
44
*/
5+
56
#pragma once
6-
#include <aws/s3-transfer/S3Transfer_EXPORTS.h>
77

8+
#include <aws/core/client/GenericClientConfiguration.h>
9+
#include <aws/s3-transfer/S3Transfer_EXPORTS.h>
810

911
namespace Aws {
10-
namespace S3 {
11-
namespace Transfer {
12-
class AWS_S3_TRANSFER_API S3TransferManagerConfiguration {
13-
//need to fill in class definition later
14-
};
15-
}
16-
}
17-
}
12+
namespace S3 {
13+
namespace Transfer {
14+
struct AWS_S3_TRANSFER_API S3TransferManagerConfiguration : public Aws::Client::GenericClientConfiguration {
15+
using BaseClientConfigClass = Aws::Client::GenericClientConfiguration;
16+
17+
S3TransferManagerConfiguration(const Aws::Client::ClientConfigurationInitValues& configuration = {});
18+
19+
S3TransferManagerConfiguration(const char* profileName, bool shouldDisableIMDS = false);
20+
21+
S3TransferManagerConfiguration(bool useSmartDefaults, const char* defaultMode = "legacy", bool shouldDisableIMDS = false);
22+
23+
S3TransferManagerConfiguration(const Aws::Client::ClientConfiguration& config);
1824

25+
private:
26+
void LoadS3TransferManagerSpecificConfig(const Aws::String& profileName);
27+
};
28+
} // namespace Transfer
29+
} // namespace S3
30+
} // namespace Aws

0 commit comments

Comments
 (0)