单军华
2018-07-31 21d3023a9b7b6aff68c1170e345951396b1c6cfd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//
//  ASIS3ServiceRequest.h
//  Part of ASIHTTPRequest -> http://allseeing-i.com/ASIHTTPRequest
//
//  Created by Ben Copsey on 16/03/2010.
//  Copyright 2010 All-Seeing Interactive. All rights reserved.
//
//  Create an ASIS3ServiceRequest to obtain a list of your buckets
 
#import <Foundation/Foundation.h>
#import "ASIS3Request.h"
 
@class ASIS3Bucket;
 
@interface ASIS3ServiceRequest : ASIS3Request {
    
    // Internally used while parsing the response
    ASIS3Bucket *currentBucket;
    NSString *ownerName;
    NSString *ownerID;
    
    // A list of the buckets stored on S3 for this account
    NSMutableArray *buckets;
}
 
// Perform a GET request on the S3 service
// This will fetch a list of the buckets attached to the S3 account
+ (id)serviceRequest;
 
@property (retain, readonly) NSMutableArray *buckets;
@end