/**
* 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, and provides information about that
* query.See Also:
AWS
* API Reference
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 JourneyExecutionMetricsResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *The unique identifier for the application that the metric applies to.
*/ inline JourneyExecutionMetricsResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *The unique identifier for the application that the metric applies to.
*/ inline JourneyExecutionMetricsResponse& WithApplicationId(const char* value) { SetApplicationId(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 JourneyExecutionMetricsResponse& WithJourneyId(const Aws::String& value) { SetJourneyId(value); return *this;} /** *The unique identifier for the journey that the metric applies to.
*/ inline JourneyExecutionMetricsResponse& WithJourneyId(Aws::String&& value) { SetJourneyId(std::move(value)); return *this;} /** *The unique identifier for the journey that the metric applies to.
*/ inline JourneyExecutionMetricsResponse& WithJourneyId(const char* value) { SetJourneyId(value); return *this;} /** *The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated * the journey 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 journey 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 journey 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 journey 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 journey 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 journey and updated the data for the metric.
*/ inline JourneyExecutionMetricsResponse& WithLastEvaluatedTime(const Aws::String& value) { SetLastEvaluatedTime(value); return *this;} /** *The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated * the journey and updated the data for the metric.
*/ inline JourneyExecutionMetricsResponse& WithLastEvaluatedTime(Aws::String&& value) { SetLastEvaluatedTime(std::move(value)); return *this;} /** *The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated * the journey and updated the data for the metric.
*/ inline JourneyExecutionMetricsResponse& WithLastEvaluatedTime(const char* value) { SetLastEvaluatedTime(value); return *this;} /** *A JSON object that contains the results of the query. 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. 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. 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. 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. For information about * the structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionMetricsResponse& WithMetrics(const Aws::MapA JSON object that contains the results of the query. For information about * the structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionMetricsResponse& WithMetrics(Aws::MapA JSON object that contains the results of the query. For information about * the structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionMetricsResponse& 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. For information about * the structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionMetricsResponse& 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. For information about * the structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionMetricsResponse& 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. For information about * the structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionMetricsResponse& 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. For information about * the structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionMetricsResponse& 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. For information about * the structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionMetricsResponse& 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. For information about * the structure and contents of the results, see the Amazon * Pinpoint Developer Guide.
*/ inline JourneyExecutionMetricsResponse& AddMetrics(const char* key, const char* value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, value); return *this; } private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_journeyId; bool m_journeyIdHasBeenSet = false; Aws::String m_lastEvaluatedTime; bool m_lastEvaluatedTimeHasBeenSet = false; Aws::Map