/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the pinpoint-2016-12-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Pinpoint.Model
{
///
/// Specifies the settings for a yes/no split activity in a journey. This type of activity
/// sends participants down one of two paths in a journey, based on conditions that you
/// specify.
///
///
///
/// To create yes/no split activities that send participants down different paths based
/// on push notification events (such as Open or Received events), your mobile app has
/// to specify the User ID and Endpoint ID values. For more information, see Integrating
/// Amazon Pinpoint with your application in the Amazon Pinpoint Developer Guide.
///
///
///
public partial class ConditionalSplitActivity
{
private Condition _condition;
private WaitTime _evaluationWaitTime;
private string _falseActivity;
private string _trueActivity;
///
/// Gets and sets the property Condition.
///
/// The conditions that define the paths for the activity, and the relationship between
/// the conditions.
///
///
public Condition Condition
{
get { return this._condition; }
set { this._condition = value; }
}
// Check to see if Condition property is set
internal bool IsSetCondition()
{
return this._condition != null;
}
///
/// Gets and sets the property EvaluationWaitTime.
///
/// The amount of time to wait before determining whether the conditions are met, or the
/// date and time when Amazon Pinpoint determines whether the conditions are met.
///
///
public WaitTime EvaluationWaitTime
{
get { return this._evaluationWaitTime; }
set { this._evaluationWaitTime = value; }
}
// Check to see if EvaluationWaitTime property is set
internal bool IsSetEvaluationWaitTime()
{
return this._evaluationWaitTime != null;
}
///
/// Gets and sets the property FalseActivity.
///
/// The unique identifier for the activity to perform if the conditions aren't met.
///
///
public string FalseActivity
{
get { return this._falseActivity; }
set { this._falseActivity = value; }
}
// Check to see if FalseActivity property is set
internal bool IsSetFalseActivity()
{
return this._falseActivity != null;
}
///
/// Gets and sets the property TrueActivity.
///
/// The unique identifier for the activity to perform if the conditions are met.
///
///
public string TrueActivity
{
get { return this._trueActivity; }
set { this._trueActivity = value; }
}
// Check to see if TrueActivity property is set
internal bool IsSetTrueActivity()
{
return this._trueActivity != null;
}
}
}