| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Pinpoint::ConditionalSplitActivity; | ||
| 3 | use Moose; | ||
| 4 | has Condition => (is => 'ro', isa => 'Paws::Pinpoint::Condition'); | ||
| 5 | has EvaluationWaitTime => (is => 'ro', isa => 'Paws::Pinpoint::WaitTime'); | ||
| 6 | has FalseActivity => (is => 'ro', isa => 'Str'); | ||
| 7 | has TrueActivity => (is => 'ro', isa => 'Str'); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::Pinpoint::ConditionalSplitActivity | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::Pinpoint::ConditionalSplitActivity object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { Condition => $value, ..., TrueActivity => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::ConditionalSplitActivity object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->Condition | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Specifies the settings for a yes/no split activity in a journey. This | ||
| 40 | type of activity sends participants down one of two paths in a journey, | ||
| 41 | based on conditions that you specify. | ||
| 42 | |||
| 43 | To create yes/no split activities that send participants down different | ||
| 44 | paths based on push notification events (such as Open or Received | ||
| 45 | events), your mobile app has to specify the User ID and Endpoint ID | ||
| 46 | values. For more information, see Integrating Amazon Pinpoint with your | ||
| 47 | application | ||
| 48 | (https://docs.aws.amazon.com/pinpoint/latest/developerguide/integrate.html) | ||
| 49 | in the I<Amazon Pinpoint Developer Guide>. | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 Condition => L<Paws::Pinpoint::Condition> | ||
| 55 | |||
| 56 | The conditions that define the paths for the activity, and the | ||
| 57 | relationship between the conditions. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 EvaluationWaitTime => L<Paws::Pinpoint::WaitTime> | ||
| 61 | |||
| 62 | The amount of time to wait before determining whether the conditions | ||
| 63 | are met, or the date and time when Amazon Pinpoint determines whether | ||
| 64 | the conditions are met. | ||
| 65 | |||
| 66 | |||
| 67 | =head2 FalseActivity => Str | ||
| 68 | |||
| 69 | The unique identifier for the activity to perform if the conditions | ||
| 70 | aren't met. | ||
| 71 | |||
| 72 | |||
| 73 | =head2 TrueActivity => Str | ||
| 74 | |||
| 75 | The unique identifier for the activity to perform if the conditions are | ||
| 76 | met. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head1 SEE ALSO | ||
| 81 | |||
| 82 | This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint> | ||
| 83 | |||
| 84 | =head1 BUGS and CONTRIBUTIONS | ||
| 85 | |||
| 86 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 87 | |||
| 88 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 89 | |||
| 90 | =cut | ||
| 91 |