/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the results of a query that retrieved the data for a standard
* execution metric that applies to a journey activity, and provides information
* about that query.See Also:
AWS
* API Reference
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.
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.
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.
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.
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.
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.
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.
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.
The unique identifier for the application that the metric applies to.
*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *The unique identifier for the application that the metric applies to.
*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *The unique identifier for the application that the metric applies to.
*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *The unique identifier for the application that the metric applies to.
*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *The unique identifier for the application that the metric applies to.
*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *The unique identifier for the application that the metric applies to.
*/ inline JourneyExecutionActivityMetricsResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *The unique identifier for the application that the metric applies to.
*/ inline JourneyExecutionActivityMetricsResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *The unique identifier for the application that the metric applies to.
*/ inline JourneyExecutionActivityMetricsResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *The unique identifier for the activity that the metric applies to.
*/ inline const Aws::String& GetJourneyActivityId() const{ return m_journeyActivityId; } /** *The unique identifier for the activity that the metric applies to.
*/ inline bool JourneyActivityIdHasBeenSet() const { return m_journeyActivityIdHasBeenSet; } /** *The unique identifier for the activity that the metric applies to.
*/ inline void SetJourneyActivityId(const Aws::String& value) { m_journeyActivityIdHasBeenSet = true; m_journeyActivityId = value; } /** *The unique identifier for the activity that the metric applies to.
*/ inline void SetJourneyActivityId(Aws::String&& value) { m_journeyActivityIdHasBeenSet = true; m_journeyActivityId = std::move(value); } /** *The unique identifier for the activity that the metric applies to.
*/ inline void SetJourneyActivityId(const char* value) { m_journeyActivityIdHasBeenSet = true; m_journeyActivityId.assign(value); } /** *The unique identifier for the activity that the metric applies to.
*/ inline JourneyExecutionActivityMetricsResponse& WithJourneyActivityId(const Aws::String& value) { SetJourneyActivityId(value); return *this;} /** *The unique identifier for the activity that the metric applies to.
*/ inline JourneyExecutionActivityMetricsResponse& WithJourneyActivityId(Aws::String&& value) { SetJourneyActivityId(std::move(value)); return *this;} /** *The unique identifier for the activity that the metric applies to.
*/ inline JourneyExecutionActivityMetricsResponse& WithJourneyActivityId(const char* value) { SetJourneyActivityId(value); return *this;} /** *The unique identifier for the journey that the metric applies to.
*/ inline const Aws::String& GetJourneyId() const{ return m_journeyId; } /** *The unique identifier for the journey that the metric applies to.
*/ inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; } /** *The unique identifier for the journey that the metric applies to.
*/ inline void SetJourneyId(const Aws::String& value) { m_journeyIdHasBeenSet = true; m_journeyId = value; } /** *The unique identifier for the journey that the metric applies to.
*/ inline void SetJourneyId(Aws::String&& value) { m_journeyIdHasBeenSet = true; m_journeyId = std::move(value); } /** *The unique identifier for the journey that the metric applies to.
*/ inline void SetJourneyId(const char* value) { m_journeyIdHasBeenSet = true; m_journeyId.assign(value); } /** *The unique identifier for the journey that the metric applies to.
*/ inline JourneyExecutionActivityMetricsResponse& WithJourneyId(const Aws::String& value) { SetJourneyId(value); return *this;} /** *The unique identifier for the journey that the metric applies to.
*/ inline JourneyExecutionActivityMetricsResponse& WithJourneyId(Aws::String&& value) { SetJourneyId(std::move(value)); return *this;} /** *The unique identifier for the journey that the metric applies to.
*/ inline JourneyExecutionActivityMetricsResponse& WithJourneyId(const char* value) { SetJourneyId(value); return *this;} /** *The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated * the execution status of the activity and updated the data for the metric.
*/ inline const Aws::String& GetLastEvaluatedTime() const{ return m_lastEvaluatedTime; } /** *The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated * the execution status of the activity and updated the data for the metric.
*/ inline bool LastEvaluatedTimeHasBeenSet() const { return m_lastEvaluatedTimeHasBeenSet; } /** *The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated * the execution status of the activity and updated the data for the metric.
*/ inline void SetLastEvaluatedTime(const Aws::String& value) { m_lastEvaluatedTimeHasBeenSet = true; m_lastEvaluatedTime = value; } /** *The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated * the execution status of the activity and updated the data for the metric.
*/ inline void SetLastEvaluatedTime(Aws::String&& value) { m_lastEvaluatedTimeHasBeenSet = true; m_lastEvaluatedTime = std::move(value); } /** *The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated * the execution status of the activity and updated the data for the metric.
*/ inline void SetLastEvaluatedTime(const char* value) { m_lastEvaluatedTimeHasBeenSet = true; m_lastEvaluatedTime.assign(value); } /** *The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated * the execution status of the activity and updated the data for the metric.
*/ inline JourneyExecutionActivityMetricsResponse& WithLastEvaluatedTime(const Aws::String& value) { SetLastEvaluatedTime(value); return *this;} /** *The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated * the execution status of the activity and updated the data for the metric.
*/ inline JourneyExecutionActivityMetricsResponse& WithLastEvaluatedTime(Aws::String&& value) { SetLastEvaluatedTime(std::move(value)); return *this;} /** *The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated * the execution status of the activity and updated the data for the metric.
*/ inline JourneyExecutionActivityMetricsResponse& WithLastEvaluatedTime(const char* value) { SetLastEvaluatedTime(value); return *this;} /** *A JSON object that contains the results of the query. The results vary * depending on the type of activity (ActivityType). For information about the * structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline const Aws::MapA JSON object that contains the results of the query. The results vary * depending on the type of activity (ActivityType). For information about the * structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; } /** *A JSON object that contains the results of the query. The results vary * depending on the type of activity (ActivityType). For information about the * structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline void SetMetrics(const Aws::MapA JSON object that contains the results of the query. The results vary * depending on the type of activity (ActivityType). For information about the * structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline void SetMetrics(Aws::MapA JSON object that contains the results of the query. The results vary * depending on the type of activity (ActivityType). For information about the * structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionActivityMetricsResponse& WithMetrics(const Aws::MapA JSON object that contains the results of the query. The results vary * depending on the type of activity (ActivityType). For information about the * structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionActivityMetricsResponse& WithMetrics(Aws::MapA JSON object that contains the results of the query. The results vary * depending on the type of activity (ActivityType). For information about the * structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionActivityMetricsResponse& AddMetrics(const Aws::String& key, const Aws::String& value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, value); return *this; } /** *A JSON object that contains the results of the query. The results vary * depending on the type of activity (ActivityType). For information about the * structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionActivityMetricsResponse& AddMetrics(Aws::String&& key, const Aws::String& value) { m_metricsHasBeenSet = true; m_metrics.emplace(std::move(key), value); return *this; } /** *A JSON object that contains the results of the query. The results vary * depending on the type of activity (ActivityType). For information about the * structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionActivityMetricsResponse& AddMetrics(const Aws::String& key, Aws::String&& value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, std::move(value)); return *this; } /** *A JSON object that contains the results of the query. The results vary * depending on the type of activity (ActivityType). For information about the * structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionActivityMetricsResponse& AddMetrics(Aws::String&& key, Aws::String&& value) { m_metricsHasBeenSet = true; m_metrics.emplace(std::move(key), std::move(value)); return *this; } /** *A JSON object that contains the results of the query. The results vary * depending on the type of activity (ActivityType). For information about the * structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionActivityMetricsResponse& AddMetrics(const char* key, Aws::String&& value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, std::move(value)); return *this; } /** *A JSON object that contains the results of the query. The results vary * depending on the type of activity (ActivityType). For information about the * structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionActivityMetricsResponse& AddMetrics(Aws::String&& key, const char* value) { m_metricsHasBeenSet = true; m_metrics.emplace(std::move(key), value); return *this; } /** *A JSON object that contains the results of the query. The results vary * depending on the type of activity (ActivityType). For information about the * structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionActivityMetricsResponse& AddMetrics(const char* key, const char* value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, value); return *this; } private: Aws::String m_activityType; bool m_activityTypeHasBeenSet; Aws::String m_applicationId; bool m_applicationIdHasBeenSet; Aws::String m_journeyActivityId; bool m_journeyActivityIdHasBeenSet; Aws::String m_journeyId; bool m_journeyIdHasBeenSet; Aws::String m_lastEvaluatedTime; bool m_lastEvaluatedTimeHasBeenSet; Aws::Map