Inherits from AmazonServiceRequestConfig : NSObject
Declared in SimpleDBPutAttributesRequest.h

Overview

Put Attributes Request

Tasks

  •   domainName

    The name of the domain in which to perform the operation.

    property
  •   itemName

    The name of the item.

    property
  •   attributes

    The list of attributes.

    property
  •   expected

    The update condition which, if specified, determines whether the specified attributes will be updated or not. The update condition must be satisfied in order for this request to be processed and the attributes to be updated.

    property
  • – init

    Default constructor for a new PutAttributesRequest object. Callers should use the property methods to initialize this object after creating it.

  • – initWithDomainName:andItemName:andAttributes:

    Constructs a new PutAttributesRequest object. Callers should use properties to initialize any additional object members.

  • – initWithDomainName:andItemName:andAttributes:andExpected:

    Constructs a new PutAttributesRequest object. Callers should use properties to initialize any additional object members.

  • – addAttribute:

    Adds a single object to attributes. This function will alloc and init attributes if not already done.

  • – description

    Returns a string representation of this object; useful for testing and debugging.

Properties

attributes

The list of attributes.

@property (nonatomic, retain) NSMutableArray *attributes

Discussion

The list of attributes.

Declared In

SimpleDBPutAttributesRequest.h

domainName

The name of the domain in which to perform the operation.

@property (nonatomic, retain) NSString *domainName

Discussion

The name of the domain in which to perform the operation.

Declared In

SimpleDBPutAttributesRequest.h

expected

The update condition which, if specified, determines whether the specified attributes will be updated or not. The update condition must be satisfied in order for this request to be processed and the attributes to be updated.

@property (nonatomic, retain) SimpleDBUpdateCondition *expected

Discussion

The update condition which, if specified, determines whether the specified attributes will be updated or not. The update condition must be satisfied in order for this request to be processed and the attributes to be updated.

Declared In

SimpleDBPutAttributesRequest.h

itemName

The name of the item.

@property (nonatomic, retain) NSString *itemName

Discussion

The name of the item.

Declared In

SimpleDBPutAttributesRequest.h

Instance Methods

addAttribute:

Adds a single object to attributes. This function will alloc and init attributes if not already done.

- (void)addAttribute:(SimpleDBReplaceableAttribute *)attributeObject

Discussion

Adds a single object to attributes. This function will alloc and init attributes if not already done.

Declared In

SimpleDBPutAttributesRequest.h

description

Returns a string representation of this object; useful for testing and debugging.

- (NSString *)description

Return Value

A string representation of this object.

Discussion

Returns a string representation of this object; useful for testing and debugging.

Declared In

SimpleDBPutAttributesRequest.h

init

Default constructor for a new PutAttributesRequest object. Callers should use the property methods to initialize this object after creating it.

- (id)init

Discussion

Default constructor for a new PutAttributesRequest object. Callers should use the property methods to initialize this object after creating it.

Declared In

SimpleDBPutAttributesRequest.h

initWithDomainName:andItemName:andAttributes:

Constructs a new PutAttributesRequest object. Callers should use properties to initialize any additional object members.

- (id)initWithDomainName:(NSString *)theDomainName andItemName:(NSString *)theItemName andAttributes:(NSMutableArray *)theAttributes

Parameters

theDomainName

The name of the domain in which to perform the operation.

theItemName

The name of the item.

theAttributes

The list of attributes.

Discussion

Constructs a new PutAttributesRequest object. Callers should use properties to initialize any additional object members.

Declared In

SimpleDBPutAttributesRequest.h

initWithDomainName:andItemName:andAttributes:andExpected:

Constructs a new PutAttributesRequest object. Callers should use properties to initialize any additional object members.

- (id)initWithDomainName:(NSString *)theDomainName andItemName:(NSString *)theItemName andAttributes:(NSMutableArray *)theAttributes andExpected:(SimpleDBUpdateCondition *)theExpected

Parameters

theDomainName

The name of the domain in which to perform the operation.

theItemName

The name of the item.

theAttributes

The list of attributes.

theExpected

The update condition which, if specified, determines whether the specified attributes will be updated or not. The update condition must be satisfied in order for this request to be processed and the attributes to be updated.

Discussion

Constructs a new PutAttributesRequest object. Callers should use properties to initialize any additional object members.

Declared In

SimpleDBPutAttributesRequest.h