AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JourneyRunExecutionActivityMetricsResponse.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:
40 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
60 inline const Aws::String& GetActivityType() const{ return m_activityType; }
61 inline bool ActivityTypeHasBeenSet() const { return m_activityTypeHasBeenSet; }
62 inline void SetActivityType(const Aws::String& value) { m_activityTypeHasBeenSet = true; m_activityType = value; }
63 inline void SetActivityType(Aws::String&& value) { m_activityTypeHasBeenSet = true; m_activityType = std::move(value); }
64 inline void SetActivityType(const char* value) { m_activityTypeHasBeenSet = true; m_activityType.assign(value); }
67 inline JourneyRunExecutionActivityMetricsResponse& WithActivityType(const char* value) { SetActivityType(value); return *this;}
69
71
74 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
75 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
76 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
77 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
78 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
81 inline JourneyRunExecutionActivityMetricsResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
83
85
88 inline const Aws::String& GetJourneyActivityId() const{ return m_journeyActivityId; }
89 inline bool JourneyActivityIdHasBeenSet() const { return m_journeyActivityIdHasBeenSet; }
90 inline void SetJourneyActivityId(const Aws::String& value) { m_journeyActivityIdHasBeenSet = true; m_journeyActivityId = value; }
91 inline void SetJourneyActivityId(Aws::String&& value) { m_journeyActivityIdHasBeenSet = true; m_journeyActivityId = std::move(value); }
92 inline void SetJourneyActivityId(const char* value) { m_journeyActivityIdHasBeenSet = true; m_journeyActivityId.assign(value); }
97
99
102 inline const Aws::String& GetJourneyId() const{ return m_journeyId; }
103 inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; }
104 inline void SetJourneyId(const Aws::String& value) { m_journeyIdHasBeenSet = true; m_journeyId = value; }
105 inline void SetJourneyId(Aws::String&& value) { m_journeyIdHasBeenSet = true; m_journeyId = std::move(value); }
106 inline void SetJourneyId(const char* value) { m_journeyIdHasBeenSet = true; m_journeyId.assign(value); }
108 inline JourneyRunExecutionActivityMetricsResponse& WithJourneyId(Aws::String&& value) { SetJourneyId(std::move(value)); return *this;}
109 inline JourneyRunExecutionActivityMetricsResponse& WithJourneyId(const char* value) { SetJourneyId(value); return *this;}
111
113
118 inline const Aws::String& GetLastEvaluatedTime() const{ return m_lastEvaluatedTime; }
119 inline bool LastEvaluatedTimeHasBeenSet() const { return m_lastEvaluatedTimeHasBeenSet; }
120 inline void SetLastEvaluatedTime(const Aws::String& value) { m_lastEvaluatedTimeHasBeenSet = true; m_lastEvaluatedTime = value; }
121 inline void SetLastEvaluatedTime(Aws::String&& value) { m_lastEvaluatedTimeHasBeenSet = true; m_lastEvaluatedTime = std::move(value); }
122 inline void SetLastEvaluatedTime(const char* value) { m_lastEvaluatedTimeHasBeenSet = true; m_lastEvaluatedTime.assign(value); }
127
129
136 inline const Aws::Map<Aws::String, Aws::String>& GetMetrics() const{ return m_metrics; }
137 inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; }
138 inline void SetMetrics(const Aws::Map<Aws::String, Aws::String>& value) { m_metricsHasBeenSet = true; m_metrics = value; }
139 inline void SetMetrics(Aws::Map<Aws::String, Aws::String>&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); }
142 inline JourneyRunExecutionActivityMetricsResponse& AddMetrics(const Aws::String& key, const Aws::String& value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, value); return *this; }
143 inline JourneyRunExecutionActivityMetricsResponse& AddMetrics(Aws::String&& key, const Aws::String& value) { m_metricsHasBeenSet = true; m_metrics.emplace(std::move(key), value); return *this; }
144 inline JourneyRunExecutionActivityMetricsResponse& AddMetrics(const Aws::String& key, Aws::String&& value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, std::move(value)); return *this; }
145 inline JourneyRunExecutionActivityMetricsResponse& AddMetrics(Aws::String&& key, Aws::String&& value) { m_metricsHasBeenSet = true; m_metrics.emplace(std::move(key), std::move(value)); return *this; }
146 inline JourneyRunExecutionActivityMetricsResponse& AddMetrics(const char* key, Aws::String&& value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, std::move(value)); return *this; }
147 inline JourneyRunExecutionActivityMetricsResponse& AddMetrics(Aws::String&& key, const char* value) { m_metricsHasBeenSet = true; m_metrics.emplace(std::move(key), value); return *this; }
148 inline JourneyRunExecutionActivityMetricsResponse& AddMetrics(const char* key, const char* value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, value); return *this; }
150
152
155 inline const Aws::String& GetRunId() const{ return m_runId; }
156 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
157 inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; }
158 inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); }
159 inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); }
160 inline JourneyRunExecutionActivityMetricsResponse& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
161 inline JourneyRunExecutionActivityMetricsResponse& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
162 inline JourneyRunExecutionActivityMetricsResponse& WithRunId(const char* value) { SetRunId(value); return *this;}
164 private:
165
166 Aws::String m_activityType;
167 bool m_activityTypeHasBeenSet = false;
168
169 Aws::String m_applicationId;
170 bool m_applicationIdHasBeenSet = false;
171
172 Aws::String m_journeyActivityId;
173 bool m_journeyActivityIdHasBeenSet = false;
174
175 Aws::String m_journeyId;
176 bool m_journeyIdHasBeenSet = false;
177
178 Aws::String m_lastEvaluatedTime;
179 bool m_lastEvaluatedTimeHasBeenSet = false;
180
182 bool m_metricsHasBeenSet = false;
183
184 Aws::String m_runId;
185 bool m_runIdHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace Pinpoint
190} // namespace Aws
JourneyRunExecutionActivityMetricsResponse & WithJourneyActivityId(const char *value)
JourneyRunExecutionActivityMetricsResponse & AddMetrics(const Aws::String &key, const Aws::String &value)
JourneyRunExecutionActivityMetricsResponse & WithRunId(const Aws::String &value)
JourneyRunExecutionActivityMetricsResponse & AddMetrics(const char *key, const char *value)
JourneyRunExecutionActivityMetricsResponse & WithJourneyId(Aws::String &&value)
JourneyRunExecutionActivityMetricsResponse & WithApplicationId(const char *value)
JourneyRunExecutionActivityMetricsResponse & WithApplicationId(Aws::String &&value)
JourneyRunExecutionActivityMetricsResponse & WithRunId(Aws::String &&value)
JourneyRunExecutionActivityMetricsResponse & AddMetrics(const char *key, Aws::String &&value)
JourneyRunExecutionActivityMetricsResponse & WithJourneyId(const Aws::String &value)
JourneyRunExecutionActivityMetricsResponse & WithActivityType(const Aws::String &value)
JourneyRunExecutionActivityMetricsResponse & AddMetrics(Aws::String &&key, Aws::String &&value)
JourneyRunExecutionActivityMetricsResponse & WithLastEvaluatedTime(Aws::String &&value)
JourneyRunExecutionActivityMetricsResponse & WithActivityType(const char *value)
JourneyRunExecutionActivityMetricsResponse & WithJourneyId(const char *value)
JourneyRunExecutionActivityMetricsResponse & WithRunId(const char *value)
JourneyRunExecutionActivityMetricsResponse & AddMetrics(Aws::String &&key, const Aws::String &value)
JourneyRunExecutionActivityMetricsResponse & WithLastEvaluatedTime(const Aws::String &value)
AWS_PINPOINT_API JourneyRunExecutionActivityMetricsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
JourneyRunExecutionActivityMetricsResponse & WithLastEvaluatedTime(const char *value)
AWS_PINPOINT_API JourneyRunExecutionActivityMetricsResponse(Aws::Utils::Json::JsonView jsonValue)
JourneyRunExecutionActivityMetricsResponse & WithApplicationId(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
JourneyRunExecutionActivityMetricsResponse & WithJourneyActivityId(Aws::String &&value)
JourneyRunExecutionActivityMetricsResponse & WithMetrics(const Aws::Map< Aws::String, Aws::String > &value)
JourneyRunExecutionActivityMetricsResponse & WithActivityType(Aws::String &&value)
JourneyRunExecutionActivityMetricsResponse & WithMetrics(Aws::Map< Aws::String, Aws::String > &&value)
JourneyRunExecutionActivityMetricsResponse & AddMetrics(const Aws::String &key, Aws::String &&value)
JourneyRunExecutionActivityMetricsResponse & WithJourneyActivityId(const Aws::String &value)
JourneyRunExecutionActivityMetricsResponse & AddMetrics(Aws::String &&key, const char *value)
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