AWSCognitoRecordValue
Objective-C
@interface AWSCognitoRecordValue : NSObject
Swift
class AWSCognitoRecordValue : NSObject
An object that encapsulates the record value.
-
The type of the record value.
The record value datatypes.
- AWSCognitoRecordValueTypeUnknown - Unknown type.
- AWSCognitoRecordValueTypeString - The string value.
- AWSCognitoRecordValueTypeDeleted - A deleted value.
Declaration
Objective-C
@property (nonatomic, readonly) AWSCognitoRecordValueType type;
Swift
var type: AWSCognitoRecordValueType { get }
-
Initializes a AWSCognitoRecordValue with the given string value. The type property is automatically set to AWSCognitoRecordValueTypeString.
Declaration
Objective-C
- (instancetype)initWithString:(NSString *)value;
Swift
init!(string value: String!)
Parameters
value
The string value of the AWSCognitoRecordValue.
Return Value
The initialized instance
-
Returns the string value.
Declaration
Objective-C
- (NSString *)string;
Swift
func string() -> String!
Return Value
The string value stored by the record value object.