AWSCognitoRecord
Objective-C
@interface AWSCognitoRecord : AWSCognitoRecordMetadata
/**
The data for the record.
*/
@property (nonatomic, strong) AWSCognitoRecordValue *data;
/**
Initializes a AWSCognitoRecord with the given recordID, given data, and a dirtyCount and recordVersion of 0.
@param recordId The record ID of the AWSCognitoRecord
@param data the initial data that the AWSCognitoRecord will contain
*/
- (instancetype)initWithId:(NSString *)recordId
data:(AWSCognitoRecordValue *)data;
/**
Returns true if this record has been deleted
@return YES if the record is deleted, NO otherwise
*/
- (BOOL)isDeleted;
@end
Swift
class AWSCognitoRecord : AWSCognitoRecordMetadata
Undocumented
-
The data for the record.
Declaration
Objective-C
@property (nonatomic, strong) AWSCognitoRecordValue *data;
Swift
var data: AWSCognitoRecordValue! { get set }
-
Initializes a AWSCognitoRecord with the given recordID, given data, and a dirtyCount and recordVersion of 0.
Declaration
Objective-C
- (instancetype)initWithId:(NSString *)recordId data:(AWSCognitoRecordValue *)data;
Swift
init!(id recordId: String!, data: AWSCognitoRecordValue!)
Parameters
recordId
The record ID of the AWSCognitoRecord
data
the initial data that the AWSCognitoRecord will contain
-
Returns true if this record has been deleted
Declaration
Objective-C
- (BOOL)isDeleted;
Swift
func isDeleted() -> Bool
Return Value
YES if the record is deleted, NO otherwise