protected GetObjectRequest ConvertToGetObjectRequest(BaseDownloadRequest request) { GetObjectRequest getRequest = new GetObjectRequest() { BucketName = request.BucketName, Key = request.Key, VersionId = request.VersionId }; getRequest.BeforeRequestEvent += this.RequestEventHandler; if (request.IsSetModifiedSinceDate()) { getRequest.ModifiedSinceDate = request.ModifiedSinceDate; } if (request.IsSetUnmodifiedSinceDate()) { getRequest.UnmodifiedSinceDate = request.UnmodifiedSinceDate; } getRequest.ServerSideEncryptionCustomerMethod = request.ServerSideEncryptionCustomerMethod; getRequest.ServerSideEncryptionCustomerProvidedKey = request.ServerSideEncryptionCustomerProvidedKey; getRequest.ServerSideEncryptionCustomerProvidedKeyMD5 = request.ServerSideEncryptionCustomerProvidedKeyMD5; return(getRequest); }
protected GetObjectRequest ConvertToGetObjectRequest(BaseDownloadRequest request) { GetObjectRequest getRequest = new GetObjectRequest() { BucketName = request.BucketName, Key = request.Key, VersionId = request.VersionId }; ((Amazon.Runtime.Internal.IAmazonWebServiceRequest)getRequest).AddBeforeRequestHandler(this.RequestEventHandler); if (request.IsSetModifiedSinceDate()) { getRequest.ModifiedSinceDate = request.ModifiedSinceDate; } if (request.IsSetUnmodifiedSinceDate()) { getRequest.UnmodifiedSinceDate = request.UnmodifiedSinceDate; } getRequest.ServerSideEncryptionCustomerMethod = request.ServerSideEncryptionCustomerMethod; getRequest.ServerSideEncryptionCustomerProvidedKey = request.ServerSideEncryptionCustomerProvidedKey; getRequest.ServerSideEncryptionCustomerProvidedKeyMD5 = request.ServerSideEncryptionCustomerProvidedKeyMD5; return getRequest; }
protected GetObjectRequest ConvertToGetObjectRequest(BaseDownloadRequest request) { GetObjectRequest getRequest = new GetObjectRequest() { BucketName = request.BucketName, Key = request.Key, VersionId = request.VersionId }; getRequest.BeforeRequestEvent += this.RequestEventHandler; if (request.IsSetModifiedSinceDate()) { getRequest.ModifiedSinceDate = request.ModifiedSinceDate; } if (request.IsSetUnmodifiedSinceDate()) { getRequest.UnmodifiedSinceDate = request.UnmodifiedSinceDate; } getRequest.ServerSideEncryptionCustomerMethod = request.ServerSideEncryptionCustomerMethod; getRequest.ServerSideEncryptionCustomerProvidedKey = request.ServerSideEncryptionCustomerProvidedKey; getRequest.ServerSideEncryptionCustomerProvidedKeyMD5 = request.ServerSideEncryptionCustomerProvidedKeyMD5; return getRequest; }
protected GetObjectRequest ConvertToGetObjectRequest(BaseDownloadRequest request) { GetObjectRequest getRequest = new GetObjectRequest() { BucketName = request.BucketName, Key = request.Key, VersionId = request.VersionId }; ((Amazon.Runtime.Internal.IAmazonWebServiceRequest)getRequest).AddBeforeRequestHandler(this.RequestEventHandler); if (request.IsSetModifiedSinceDate()) { getRequest.ModifiedSinceDate = request.ModifiedSinceDate; } if (request.IsSetUnmodifiedSinceDate()) { getRequest.UnmodifiedSinceDate = request.UnmodifiedSinceDate; } getRequest.ServerSideEncryptionCustomerMethod = request.ServerSideEncryptionCustomerMethod; getRequest.ServerSideEncryptionCustomerProvidedKey = request.ServerSideEncryptionCustomerProvidedKey; getRequest.ServerSideEncryptionCustomerProvidedKeyMD5 = request.ServerSideEncryptionCustomerProvidedKeyMD5; return(getRequest); }
protected GetObjectRequest ConvertToGetObjectRequest(BaseDownloadRequest request) { GetObjectRequest getRequest = new GetObjectRequest() .WithBucketName(request.BucketName) .WithKey(request.Key) .WithTimeout(request.Timeout) .WithVersionId(request.VersionId); if (request.IsSetModifiedSinceDate()) { getRequest.ModifiedSinceDate = request.ModifiedSinceDate; } if (request.IsSetUnmodifiedSinceDate()) { getRequest.UnmodifiedSinceDate = request.UnmodifiedSinceDate; } return getRequest; }
protected GetObjectRequest ConvertToGetObjectRequest(BaseDownloadRequest request) { GetObjectRequest getRequest = new GetObjectRequest() .WithBucketName(request.BucketName) .WithKey(request.Key) .WithTimeout(request.Timeout) .WithVersionId(request.VersionId) .WithBeforeRequestHandler(RequestEventHandler) as GetObjectRequest; if (request.IsSetModifiedSinceDate()) { getRequest.ModifiedSinceDate = request.ModifiedSinceDate; } if (request.IsSetUnmodifiedSinceDate()) { getRequest.UnmodifiedSinceDate = request.UnmodifiedSinceDate; } return(getRequest); }
protected GetObjectRequest ConvertToGetObjectRequest(BaseDownloadRequest request) { GetObjectRequest getRequest = new GetObjectRequest() { BucketName = request.BucketName, Key = request.Key, VersionId = request.VersionId }; getRequest.BeforeRequestEvent += this.RequestEventHandler; if (request.IsSetModifiedSinceDate()) { getRequest.ModifiedSinceDate = request.ModifiedSinceDate; } if (request.IsSetUnmodifiedSinceDate()) { getRequest.UnmodifiedSinceDate = request.UnmodifiedSinceDate; } return getRequest; }
protected GetObjectRequest ConvertToGetObjectRequest(BaseDownloadRequest request) { GetObjectRequest getRequest = new GetObjectRequest() { BucketName = request.BucketName, Key = request.Key, VersionId = request.VersionId }; getRequest.BeforeRequestEvent += this.RequestEventHandler; if (request.IsSetModifiedSinceDate()) { getRequest.ModifiedSinceDate = request.ModifiedSinceDate; } if (request.IsSetUnmodifiedSinceDate()) { getRequest.UnmodifiedSinceDate = request.UnmodifiedSinceDate; } return(getRequest); }