AWSPinpointTargetingTreatmentResource
Objective-C
@interface AWSPinpointTargetingTreatmentResource
Swift
class 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 delivery configuration settings for sending the treatment through a custom channel. This object is required if the MessageConfiguration object for the treatment specifies a CustomMessage object.
Declaration
Objective-C
@property (nonatomic, strong) AWSPinpointTargetingCustomDeliveryConfiguration *_Nullable customDeliveryConfiguration;
Swift
var customDeliveryConfiguration: AWSPinpointTargetingCustomDeliveryConfiguration? { get set }
-
The unique identifier for the treatment.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable identifier;
Swift
var identifier: String? { get set }
-
The message configuration settings for the treatment.
Declaration
Objective-C
@property (nonatomic, strong) AWSPinpointTargetingMessageConfiguration *_Nullable messageConfiguration;
Swift
var messageConfiguration: AWSPinpointTargetingMessageConfiguration? { get set }
-
The schedule settings for the treatment.
Declaration
Objective-C
@property (nonatomic, strong) 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 (nonatomic, strong) NSNumber *_Nullable sizePercent;
Swift
var sizePercent: NSNumber? { get set }
-
The current status of the treatment.
Declaration
Objective-C
@property (nonatomic, strong) AWSPinpointTargetingCampaignState *_Nullable state;
Swift
var state: AWSPinpointTargetingCampaignState? { get set }
-
The message template to use for the treatment.
Declaration
Objective-C
@property (nonatomic, strong) AWSPinpointTargetingTemplateConfiguration *_Nullable templateConfiguration;
Swift
var templateConfiguration: AWSPinpointTargetingTemplateConfiguration? { get set }
-
The custom description of the treatment.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable treatmentDescription;
Swift
var treatmentDescription: String? { get set }
-
The custom name of the treatment.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable treatmentName;
Swift
var treatmentName: String? { get set }