AWSSimpleDBUpdateCondition

Objective-C

@interface AWSSimpleDBUpdateCondition

Swift

class AWSSimpleDBUpdateCondition

Specifies the conditions under which data should be updated. If an update condition is specified for a request, the data will only be updated if the condition is satisfied. For example, if an attribute with a specific name and value exists, or if a specific attribute doesn’t exist.

  • A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify true if the attribute must exist for the update condition to be satisfied. Specify false if the attribute should not exist in order for the update condition to be satisfied.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable exists;

    Swift

    var exists: NSNumber? { get set }
  • The name of the attribute involved in the condition.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable name;

    Swift

    var name: String? { get set }
  • The value of an attribute. This value can only be specified when the Exists parameter is equal to true.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable value;

    Swift

    var value: String? { get set }