AWSCognitoRecordValue Class Reference

Inherits from NSObject
Declared in AWSCognitoRecord.h
AWSCognitoRecord.m

Overview

An object that encapsulates the record value.

  type

The type of the record value.

@property (nonatomic, readonly) AWSCognitoRecordValueType type

Discussion

The record value datatypes.

  • AWSCognitoRecordValueTypeUnknown - Unknown type.
  • AWSCognitoRecordValueTypeString - The string value.
  • AWSCognitoRecordValueTypeDeleted - A deleted value.

Declared In

AWSCognitoRecord.h

– initWithString:

Initializes a AWSCognitoRecordValue with the given string value. The type property is automatically set to AWSCognitoRecordValueTypeString.

- (instancetype)initWithString:(NSString *)value

Parameters

value

The string value of the AWSCognitoRecordValue.

Return Value

The initialized instance

Declared In

AWSCognitoRecord.h

– string

Returns the string value.

- (NSString *)string

Return Value

The string value stored by the record value object.

Declared In

AWSCognitoRecord.h