AWSPinpointTargetingTreatmentResource

@interface AWSPinpointTargetingTreatmentResource

Specifies the settings for a campaign treatment. A treatment is a variation of a campaign that’s used for A/B testing of a campaign.

Required parameters: [Id, SizePercent]

  • The unique identifier for the treatment.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable identifier;

    Swift

    var identifier: String? { get set }
  • The message configuration settings for the treatment.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSPinpointTargetingMessageConfiguration *_Nullable messageConfiguration;

    Swift

    var messageConfiguration: AWSPinpointTargetingMessageConfiguration? { get set }
  • The schedule settings for the treatment.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSPinpointTargetingSchedule *_Nullable schedule;

    Swift

    var schedule: AWSPinpointTargetingSchedule? { get set }
  • The allocated percentage of users (segment members) that the treatment is sent to.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nullable sizePercent;

    Swift

    var sizePercent: NSNumber? { get set }
  • The current status of the treatment.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSPinpointTargetingCampaignState *_Nullable state;

    Swift

    var state: AWSPinpointTargetingCampaignState? { get set }
  • The message template to use for the treatment.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSPinpointTargetingTemplateConfiguration *_Nullable templateConfiguration;

    Swift

    var templateConfiguration: AWSPinpointTargetingTemplateConfiguration? { get set }
  • The custom description of the treatment.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSString *_Nullable treatmentDescription;

    Swift

    var treatmentDescription: String? { get set }
  • The custom name of the treatment. A treatment is a variation of a campaign that’s used for A/B testing of a campaign.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable treatmentName;

    Swift

    var treatmentName: String? { get set }