AWSPinpointTargetingWriteSegmentRequest

Objective-C

@interface AWSPinpointTargetingWriteSegmentRequest

Swift

class AWSPinpointTargetingWriteSegmentRequest

Specifies the configuration, dimension, and other settings for a segment. A WriteSegmentRequest object can include a Dimensions object or a SegmentGroups object, but not both.

  • The criteria that define the dimensions for the segment.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSPinpointTargetingSegmentDimensions *_Nullable dimensions;

    Swift

    var dimensions: AWSPinpointTargetingSegmentDimensions? { get set }
  • The name of the segment.

    Declaration

    Objective-C

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

    Swift

    var name: String? { get set }
  • The segment group to use and the dimensions to apply to the group’s base segments in order to build the segment. A segment group can consist of zero or more base segments. Your request can include only one segment group.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSPinpointTargetingSegmentGroupList *_Nullable segmentGroups;

    Swift

    var segmentGroups: AWSPinpointTargetingSegmentGroupList? { get set }
  • A string-to-string map of key-value pairs that defines the tags to associate with the segment. Each tag consists of a required tag key and an associated tag value.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nullable tags;

    Swift

    var tags: [String : String]? { get set }