/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Pinpoint { namespace Model { /** *

Provides the results of a query that retrieved the data for a standard * execution metric that applies to a journey run, and provides information about * that query.

See Also:

AWS * API Reference

*/ class JourneyRunExecutionMetricsResponse { public: AWS_PINPOINT_API JourneyRunExecutionMetricsResponse(); AWS_PINPOINT_API JourneyRunExecutionMetricsResponse(Aws::Utils::Json::JsonView jsonValue); AWS_PINPOINT_API JourneyRunExecutionMetricsResponse& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 JourneyRunExecutionMetricsResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The unique identifier for the application that the metric applies to.

*/ inline JourneyRunExecutionMetricsResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The unique identifier for the application that the metric applies to.

*/ inline JourneyRunExecutionMetricsResponse& 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 JourneyRunExecutionMetricsResponse& WithJourneyId(const Aws::String& value) { SetJourneyId(value); return *this;} /** *

The unique identifier for the journey that the metric applies to.

*/ inline JourneyRunExecutionMetricsResponse& WithJourneyId(Aws::String&& value) { SetJourneyId(std::move(value)); return *this;} /** *

The unique identifier for the journey that the metric applies to.

*/ inline JourneyRunExecutionMetricsResponse& WithJourneyId(const char* value) { SetJourneyId(value); return *this;} /** *

The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated * the journey run 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 run 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 run 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 run 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 run 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 run and updated the data for the metric.

*/ inline JourneyRunExecutionMetricsResponse& WithLastEvaluatedTime(const Aws::String& value) { SetLastEvaluatedTime(value); return *this;} /** *

The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated * the journey run and updated the data for the metric.

*/ inline JourneyRunExecutionMetricsResponse& 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 run and updated the data for the metric.

*/ inline JourneyRunExecutionMetricsResponse& 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 Standard * Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer * Guide.

*/ inline const Aws::Map& GetMetrics() const{ return m_metrics; } /** *

A JSON object that contains the results of the query. For information about * the structure and contents of the results, see the Standard * Amazon Pinpoint analytics metrics in 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 Standard * Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer * Guide.

*/ inline void SetMetrics(const Aws::Map& value) { m_metricsHasBeenSet = true; m_metrics = value; } /** *

A JSON object that contains the results of the query. For information about * the structure and contents of the results, see the Standard * Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer * Guide.

*/ inline void SetMetrics(Aws::Map&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); } /** *

A JSON object that contains the results of the query. For information about * the structure and contents of the results, see the Standard * Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer * Guide.

*/ inline JourneyRunExecutionMetricsResponse& WithMetrics(const Aws::Map& value) { SetMetrics(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 Standard * Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer * Guide.

*/ inline JourneyRunExecutionMetricsResponse& WithMetrics(Aws::Map&& value) { SetMetrics(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 Standard * Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer * Guide.

*/ inline JourneyRunExecutionMetricsResponse& 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 Standard * Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer * Guide.

*/ inline JourneyRunExecutionMetricsResponse& 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 Standard * Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer * Guide.

*/ inline JourneyRunExecutionMetricsResponse& 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 Standard * Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer * Guide.

*/ inline JourneyRunExecutionMetricsResponse& 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 Standard * Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer * Guide.

*/ inline JourneyRunExecutionMetricsResponse& 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 Standard * Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer * Guide.

*/ inline JourneyRunExecutionMetricsResponse& 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 Standard * Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer * Guide.

*/ inline JourneyRunExecutionMetricsResponse& AddMetrics(const char* key, const char* value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, value); return *this; } /** *

The unique identifier for the journey run that the metric applies to.

*/ inline const Aws::String& GetRunId() const{ return m_runId; } /** *

The unique identifier for the journey run that the metric applies to.

*/ inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; } /** *

The unique identifier for the journey run that the metric applies to.

*/ inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; } /** *

The unique identifier for the journey run that the metric applies to.

*/ inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); } /** *

The unique identifier for the journey run that the metric applies to.

*/ inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); } /** *

The unique identifier for the journey run that the metric applies to.

*/ inline JourneyRunExecutionMetricsResponse& WithRunId(const Aws::String& value) { SetRunId(value); return *this;} /** *

The unique identifier for the journey run that the metric applies to.

*/ inline JourneyRunExecutionMetricsResponse& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;} /** *

The unique identifier for the journey run that the metric applies to.

*/ inline JourneyRunExecutionMetricsResponse& WithRunId(const char* value) { SetRunId(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 m_metrics; bool m_metricsHasBeenSet = false; Aws::String m_runId; bool m_runIdHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws