AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
JourneyRunExecutionMetricsResponse.h
1
6#pragma once
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>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Pinpoint
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_PINPOINT_API JourneyRunExecutionMetricsResponse() = default;
40 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
48 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
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>
52 JourneyRunExecutionMetricsResponse& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetJourneyId() const { return m_journeyId; }
60 inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; }
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>
64 JourneyRunExecutionMetricsResponse& WithJourneyId(JourneyIdT&& value) { SetJourneyId(std::forward<JourneyIdT>(value)); return *this;}
66
68
72 inline const Aws::String& GetLastEvaluatedTime() const { return m_lastEvaluatedTime; }
73 inline bool LastEvaluatedTimeHasBeenSet() const { return m_lastEvaluatedTimeHasBeenSet; }
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>
77 JourneyRunExecutionMetricsResponse& WithLastEvaluatedTime(LastEvaluatedTimeT&& value) { SetLastEvaluatedTime(std::forward<LastEvaluatedTimeT>(value)); return *this;}
79
81
88 inline const Aws::Map<Aws::String, Aws::String>& GetMetrics() const { return m_metrics; }
89 inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; }
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>>
93 JourneyRunExecutionMetricsResponse& WithMetrics(MetricsT&& value) { SetMetrics(std::forward<MetricsT>(value)); return *this;}
94 template<typename MetricsKeyT = Aws::String, typename MetricsValueT = Aws::String>
95 JourneyRunExecutionMetricsResponse& AddMetrics(MetricsKeyT&& key, MetricsValueT&& value) {
96 m_metricsHasBeenSet = true; m_metrics.emplace(std::forward<MetricsKeyT>(key), std::forward<MetricsValueT>(value)); return *this;
97 }
99
101
104 inline const Aws::String& GetRunId() const { return m_runId; }
105 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
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>
109 JourneyRunExecutionMetricsResponse& WithRunId(RunIdT&& value) { SetRunId(std::forward<RunIdT>(value)); return *this;}
111 private:
112
113 Aws::String m_applicationId;
114 bool m_applicationIdHasBeenSet = false;
115
116 Aws::String m_journeyId;
117 bool m_journeyIdHasBeenSet = false;
118
119 Aws::String m_lastEvaluatedTime;
120 bool m_lastEvaluatedTimeHasBeenSet = false;
121
123 bool m_metricsHasBeenSet = false;
124
125 Aws::String m_runId;
126 bool m_runIdHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace Pinpoint
131} // namespace Aws
JourneyRunExecutionMetricsResponse & WithApplicationId(ApplicationIdT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API JourneyRunExecutionMetricsResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API JourneyRunExecutionMetricsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
JourneyRunExecutionMetricsResponse & WithMetrics(MetricsT &&value)
JourneyRunExecutionMetricsResponse & WithLastEvaluatedTime(LastEvaluatedTimeT &&value)
JourneyRunExecutionMetricsResponse & AddMetrics(MetricsKeyT &&key, MetricsValueT &&value)
JourneyRunExecutionMetricsResponse & WithJourneyId(JourneyIdT &&value)
JourneyRunExecutionMetricsResponse & WithRunId(RunIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetMetrics() 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