AWSPinpointTargetingWriteTreatmentResource
Objective-C
@interface AWSPinpointTargetingWriteTreatmentResource
Swift
class AWSPinpointTargetingWriteTreatmentResource
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: [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 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) to send the treatment to.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable sizePercent;
Swift
var sizePercent: NSNumber? { 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 }
-
A custom description of the treatment.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable treatmentDescription;
Swift
var treatmentDescription: String? { get set }
-
A custom name for the treatment.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable treatmentName;
Swift
var treatmentName: String? { get set }