AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
S3ClientConfiguration.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <aws/s3/S3_EXPORTS.h>
11
12
13namespace Aws
14{
15 namespace S3
16 {
18 {
19 NOT_SET,
20 LEGACY, //stands for using global endpoint for us-east-1,
21 REGIONAL //stands for using regional endpoint for us-east-1
22 };
23
24 struct AWS_S3_API S3ClientConfiguration : public Aws::Client::GenericClientConfiguration</*EndpointDiscoverySupported*/true>
25 {
26 using BaseClientConfigClass = Aws::Client::GenericClientConfiguration</*EndpointDiscoverySupported*/true>;
27
29
34 S3ClientConfiguration(const char* profileName);
35
41 S3ClientConfiguration(bool useSmartDefaults, const char* defaultMode = "legacy");
42
47 Client::AWSAuthV4Signer::PayloadSigningPolicy iPayloadSigningPolicy = Client::AWSAuthV4Signer::PayloadSigningPolicy::Never,
48 bool iUseVirtualAddressing = true,
49 US_EAST_1_REGIONAL_ENDPOINT_OPTION iUseUSEast1RegionalEndPointOption = US_EAST_1_REGIONAL_ENDPOINT_OPTION::NOT_SET);
50
51 bool useVirtualAddressing = true;
52 US_EAST_1_REGIONAL_ENDPOINT_OPTION useUSEast1RegionalEndPointOption = US_EAST_1_REGIONAL_ENDPOINT_OPTION::NOT_SET;
53 bool disableMultiRegionAccessPoints = false;
54 bool useArnRegion = false;
55 Client::AWSAuthV4Signer::PayloadSigningPolicy payloadSigningPolicy = Client::AWSAuthV4Signer::PayloadSigningPolicy::RequestDependent;
56 private:
57 void LoadS3SpecificConfig(const Aws::String& profileName);
58 };
59 }
60}
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
US_EAST_1_REGIONAL_ENDPOINT_OPTION
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
S3ClientConfiguration(const Client::ClientConfiguration &config, Client::AWSAuthV4Signer::PayloadSigningPolicy iPayloadSigningPolicy=Client::AWSAuthV4Signer::PayloadSigningPolicy::Never, bool iUseVirtualAddressing=true, US_EAST_1_REGIONAL_ENDPOINT_OPTION iUseUSEast1RegionalEndPointOption=US_EAST_1_REGIONAL_ENDPOINT_OPTION::NOT_SET)
S3ClientConfiguration(const char *profileName)
S3ClientConfiguration(bool useSmartDefaults, const char *defaultMode="legacy")