00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #import <Foundation/Foundation.h>
00017
00018 #import "../AmazonClientException.h"
00019
00020 #define kS3RegionUSWest1 @"us-west-1"
00021 #define kS3RegionEU @"EU"
00022 #define kS3RegionAPSoutheast1 @"ap-southeast-1"
00023
00036 @interface S3Region : NSObject {
00037 NSString *stringValue;
00038 }
00039
00041 -(id)initWithStringValue:(NSString *)value;
00042
00057 +(S3Region *)USStandard;
00058
00074 +(S3Region *)USWest;
00075
00085 +(S3Region *)EUIreland;
00086
00097 +(S3Region *)APSingapore;
00098
00105 +(S3Region *)regionWithString:(NSString *)regionName;
00106
00107 @end