• Main Page
  • Classes
  • Files
  • File List

include/S3/S3PutObjectRequest.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 #import "../AmazonLogger.h"
00019 
00020 #import "S3AbstractPutRequest.h"
00021 #import "S3Constants.h"
00022 
00027 @interface S3PutObjectRequest : S3AbstractPutRequest {
00028         NSString *cacheControl;
00029         NSString *contentDisposition;
00030         NSString *contentEncoding;
00031         NSString *contentMD5;
00032         NSString *expect;
00033         NSString *filename;
00034         NSData   *data;
00035         
00036         NSInputStream *stream;
00037         
00038         int  expires;
00039         bool expiresSet;
00040 }
00041 
00045 @property (nonatomic, retain) NSString* cacheControl;
00046 
00050 @property (nonatomic, retain) NSString* contentDisposition;
00051 
00057 @property (nonatomic, retain) NSString* contentEncoding;
00058 
00063 @property (nonatomic, retain) NSString* contentMD5;
00064 
00068 @property (nonatomic, retain) NSString* expect;
00069 
00075 @property (nonatomic, retain) NSData* data;
00076 
00082 @property (nonatomic, retain) NSInputStream* stream;
00083 
00085 @property (nonatomic) int expires;
00086 
00094 @property(nonatomic, retain) NSString* filename;
00095 
00097 -(id)initWithKey:(NSString *)aKey inBucket:(NSString *)aBucket;
00098 
00099 @end

Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.