AWSPinpointTargetingSegmentGroup

Objective-C

@interface AWSPinpointTargetingSegmentGroup

Swift

class AWSPinpointTargetingSegmentGroup

Specifies the base segments and dimensions for a segment, and the relationships between these base segments and dimensions.

  • An array that defines the dimensions for the segment.

    Declaration

    Objective-C

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

    Swift

    var dimensions: [AWSPinpointTargetingSegmentDimensions]? { get set }
  • The base segment to build the segment on. A base segment, also referred to as a source segment, defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify.

    You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSPinpointTargetingSegmentReference *> *_Nullable sourceSegments;

    Swift

    var sourceSegments: [AWSPinpointTargetingSegmentReference]? { get set }
  • Specifies how to handle multiple base segments for the segment. For example, if you specify three base segments for the segment, whether the resulting segment is based on all, any, or none of the base segments.

    Declaration

    Objective-C

    @property (nonatomic) AWSPinpointTargetingSourceType sourceType;

    Swift

    var sourceType: AWSPinpointTargetingSourceType { get set }
  • Specifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions for the segment, whether the resulting segment includes endpoints that match all, any, or none of the dimensions.

    Declaration

    Objective-C

    @property (nonatomic) AWSPinpointTargetingTypes types;

    Swift

    var types: AWSPinpointTargetingTypes { get set }