• Main Page
  • Classes
  • Files
  • File List

include/S3/S3CannedACL.h

00001 /*
00002  * Copyright 2010 Amazon.com, Inc. or its affiliates. All Rights Reserved.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License").
00005  * You may not use this file except in compliance with the License.
00006  * A copy of the License is located at
00007  *
00008  *  http://aws.amazon.com/apache2.0
00009  *
00010  * or in the "license" file accompanying this file. This file is distributed
00011  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
00012  * express or implied. See the License for the specific language governing
00013  * permissions and limitations under the License.
00014  */
00015 
00016 #import <Foundation/Foundation.h>
00017 
00018 #define kS3CannedAclPrivate                @"private"
00019 #define kS3CannedAclPublicRead             @"public-read"
00020 #define kS3CannedAclPublicReadWrite        @"public-read-write"
00021 #define kS3CannedAclAuthRead               @"authenticated-read"
00022 #define kS3CannedAclBucketOwnerRead        @"bucket-owner-read"
00023 #define kS3CannedAclBucketOwnerFullControl @"bucket-owner-full-control"
00024 
00029 @interface S3CannedACL : NSObject {
00030         NSString *stringValue;
00031 }
00032 
00033 -(id)initWithStringValue:(NSString *)value;
00034 
00038 +(S3CannedACL *)private;
00039 
00043 +(S3CannedACL *)publicRead;
00044 
00048 +(S3CannedACL *)publicReadWrite;
00049 
00053 +(S3CannedACL *)authenticatedRead;
00054 
00060 +(S3CannedACL *)bucketOwnerRead;
00061 
00067 +(S3CannedACL *)bucketOwnerFullControl;
00068 
00069 @end

Generated on Wed Jan 12 2011 14:21:38 for Amazon S3 by  doxygen 1.7.1