/* * 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 { /// /// Provides the results of a query that retrieved the data for a standard execution metric /// that applies to a journey activity for a particular journey run, and provides information /// about that query. /// public partial class JourneyRunExecutionActivityMetricsResponse { private string _activityType; private string _applicationId; private string _journeyActivityId; private string _journeyId; private string _lastEvaluatedTime; private Dictionary _metrics = new Dictionary(); private string _runId; /// /// Gets and sets the property ActivityType. /// /// The type of activity that the metric applies to. Possible values are: /// ///
  • /// /// CONDITIONAL_SPLIT – For a yes/no split activity, which is an activity that sends participants /// down one of two paths in a journey. /// ///
  • /// /// HOLDOUT – For a holdout activity, which is an activity that stops a journey for a /// specified percentage of participants. /// ///
  • /// /// MESSAGE – For an email activity, which is an activity that sends an email message /// to participants. /// ///
  • /// /// MULTI_CONDITIONAL_SPLIT – For a multivariate split activity, which is an activity /// that sends participants down one of as many as five paths in a journey. /// ///
  • /// /// RANDOM_SPLIT – For a random split activity, which is an activity that sends specified /// percentages of participants down one of as many as five paths in a journey. /// ///
  • /// /// WAIT – For a wait activity, which is an activity that waits for a certain amount of /// time or until a specific date and time before moving participants to the next activity /// in a journey. /// ///
///
[AWSProperty(Required=true)] public string ActivityType { get { return this._activityType; } set { this._activityType = value; } } // Check to see if ActivityType property is set internal bool IsSetActivityType() { return this._activityType != null; } /// /// Gets and sets the property ApplicationId. /// /// The unique identifier for the application that the metric applies to. /// /// [AWSProperty(Required=true)] public string ApplicationId { get { return this._applicationId; } set { this._applicationId = value; } } // Check to see if ApplicationId property is set internal bool IsSetApplicationId() { return this._applicationId != null; } /// /// Gets and sets the property JourneyActivityId. /// /// The unique identifier for the activity that the metric applies to. /// /// [AWSProperty(Required=true)] public string JourneyActivityId { get { return this._journeyActivityId; } set { this._journeyActivityId = value; } } // Check to see if JourneyActivityId property is set internal bool IsSetJourneyActivityId() { return this._journeyActivityId != null; } /// /// Gets and sets the property JourneyId. /// /// The unique identifier for the journey that the metric applies to. /// /// [AWSProperty(Required=true)] public string JourneyId { get { return this._journeyId; } set { this._journeyId = value; } } // Check to see if JourneyId property is set internal bool IsSetJourneyId() { return this._journeyId != null; } /// /// Gets and sets the property LastEvaluatedTime. /// /// The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the execution /// status of the activity for this journey run and updated the data for the metric. /// /// [AWSProperty(Required=true)] public string LastEvaluatedTime { get { return this._lastEvaluatedTime; } set { this._lastEvaluatedTime = value; } } // Check to see if LastEvaluatedTime property is set internal bool IsSetLastEvaluatedTime() { return this._lastEvaluatedTime != null; } /// /// Gets and sets the property Metrics. /// /// A JSON object that contains the results of the query. For information about the structure /// and contents of the results, see see Standard /// Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer Guide. /// /// [AWSProperty(Required=true)] public Dictionary Metrics { get { return this._metrics; } set { this._metrics = value; } } // Check to see if Metrics property is set internal bool IsSetMetrics() { return this._metrics != null && this._metrics.Count > 0; } /// /// Gets and sets the property RunId. /// /// The unique identifier for the journey run that the metric applies to. /// /// [AWSProperty(Required=true)] public string RunId { get { return this._runId; } set { this._runId = value; } } // Check to see if RunId property is set internal bool IsSetRunId() { return this._runId != null; } } }