7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
49 template<
typename ApplicationIdT = Aws::String>
50 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet =
true; m_applicationId = std::forward<ApplicationIdT>(value); }
51 template<
typename ApplicationIdT = Aws::String>
61 template<
typename JourneyIdT = Aws::String>
62 void SetJourneyId(JourneyIdT&& value) { m_journeyIdHasBeenSet =
true; m_journeyId = std::forward<JourneyIdT>(value); }
63 template<
typename JourneyIdT = Aws::String>
74 template<
typename LastEvaluatedTimeT = Aws::String>
75 void SetLastEvaluatedTime(LastEvaluatedTimeT&& value) { m_lastEvaluatedTimeHasBeenSet =
true; m_lastEvaluatedTime = std::forward<LastEvaluatedTimeT>(value); }
76 template<
typename LastEvaluatedTimeT = Aws::String>
90 template<
typename MetricsT = Aws::Map<Aws::String, Aws::String>>
91 void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet =
true; m_metrics = std::forward<MetricsT>(value); }
92 template<
typename MetricsT = Aws::Map<Aws::String, Aws::String>>
94 template<
typename MetricsKeyT = Aws::String,
typename MetricsValueT = Aws::String>
96 m_metricsHasBeenSet =
true; m_metrics.emplace(std::forward<MetricsKeyT>(key), std::forward<MetricsValueT>(value));
return *
this;
106 template<
typename RunIdT = Aws::String>
107 void SetRunId(RunIdT&& value) { m_runIdHasBeenSet =
true; m_runId = std::forward<RunIdT>(value); }
108 template<
typename RunIdT = Aws::String>
114 bool m_applicationIdHasBeenSet =
false;
117 bool m_journeyIdHasBeenSet =
false;
120 bool m_lastEvaluatedTimeHasBeenSet =
false;
123 bool m_metricsHasBeenSet =
false;
126 bool m_runIdHasBeenSet =
false;
JourneyRunExecutionMetricsResponse & WithApplicationId(ApplicationIdT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API JourneyRunExecutionMetricsResponse(Aws::Utils::Json::JsonView jsonValue)
void SetJourneyId(JourneyIdT &&value)
bool JourneyIdHasBeenSet() const
AWS_PINPOINT_API JourneyRunExecutionMetricsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastEvaluatedTime(LastEvaluatedTimeT &&value)
bool ApplicationIdHasBeenSet() const
JourneyRunExecutionMetricsResponse & WithMetrics(MetricsT &&value)
bool MetricsHasBeenSet() const
bool LastEvaluatedTimeHasBeenSet() const
JourneyRunExecutionMetricsResponse & WithLastEvaluatedTime(LastEvaluatedTimeT &&value)
void SetApplicationId(ApplicationIdT &&value)
bool RunIdHasBeenSet() const
void SetMetrics(MetricsT &&value)
const Aws::String & GetJourneyId() const
AWS_PINPOINT_API JourneyRunExecutionMetricsResponse()=default
JourneyRunExecutionMetricsResponse & AddMetrics(MetricsKeyT &&key, MetricsValueT &&value)
void SetRunId(RunIdT &&value)
JourneyRunExecutionMetricsResponse & WithJourneyId(JourneyIdT &&value)
JourneyRunExecutionMetricsResponse & WithRunId(RunIdT &&value)
const Aws::String & GetLastEvaluatedTime() const
const Aws::Map< Aws::String, Aws::String > & GetMetrics() const
const Aws::String & GetApplicationId() const
const Aws::String & GetRunId() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue