• Main Page
  • Classes
  • Files
  • File List

include/SimpleDB/SimpleDBDeleteAttributesRequest.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 "SimpleDBAttribute.h"
00017 #import "SimpleDBUpdateCondition.h"
00018 
00019                
00024 @interface SimpleDBDeleteAttributesRequest : NSObject 
00025     
00026 {
00027     NSString* domainName;
00028     NSString* itemName;
00029     NSMutableArray* attributes;
00030     SimpleDBUpdateCondition* expected;
00031 
00032 }
00033 
00034 
00038 @property (nonatomic, retain) NSString* domainName;
00039 
00045 @property (nonatomic, retain) NSString* itemName;
00046 
00051 @property (nonatomic, retain) NSMutableArray* attributes;
00052 
00059 @property (nonatomic, retain) SimpleDBUpdateCondition* expected;
00060 
00061 
00066 -(id)init;
00067    
00078 -(id)initWithDomainName:(NSString*)theDomainName andItemName:(NSString*)theItemName;
00079     
00093 -(id)initWithDomainName:(NSString*)theDomainName andItemName:(NSString*)theItemName andAttributes:(NSMutableArray*)theAttributes;
00094     
00112 -(id)initWithDomainName:(NSString*)theDomainName andItemName:(NSString*)theItemName andAttributes:(NSMutableArray*)theAttributes andExpected:(SimpleDBUpdateCondition*)theExpected;
00113     
00118 -(void)addAttribute:(SimpleDBAttribute*)attribute;
00119                 
00126 -(NSString*)description;
00127     
00128 
00129 @end
00130     

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