AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JourneyExecutionActivityMetricsResponse.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); }
66 inline JourneyExecutionActivityMetricsResponse& WithActivityType(Aws::String&& value) { SetActivityType(std::move(value)); return *this;}
67 inline JourneyExecutionActivityMetricsResponse& 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 JourneyExecutionActivityMetricsResponse& 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 JourneyExecutionActivityMetricsResponse& WithJourneyId(Aws::String&& value) { SetJourneyId(std::move(value)); return *this;}
109 inline JourneyExecutionActivityMetricsResponse& WithJourneyId(const char* value) { SetJourneyId(value); return *this;}
111
113
117 inline const Aws::String& GetLastEvaluatedTime() const{ return m_lastEvaluatedTime; }
118 inline bool LastEvaluatedTimeHasBeenSet() const { return m_lastEvaluatedTimeHasBeenSet; }
119 inline void SetLastEvaluatedTime(const Aws::String& value) { m_lastEvaluatedTimeHasBeenSet = true; m_lastEvaluatedTime = value; }
120 inline void SetLastEvaluatedTime(Aws::String&& value) { m_lastEvaluatedTimeHasBeenSet = true; m_lastEvaluatedTime = std::move(value); }
121 inline void SetLastEvaluatedTime(const char* value) { m_lastEvaluatedTimeHasBeenSet = true; m_lastEvaluatedTime.assign(value); }
126
128
135 inline const Aws::Map<Aws::String, Aws::String>& GetMetrics() const{ return m_metrics; }
136 inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; }
137 inline void SetMetrics(const Aws::Map<Aws::String, Aws::String>& value) { m_metricsHasBeenSet = true; m_metrics = value; }
138 inline void SetMetrics(Aws::Map<Aws::String, Aws::String>&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); }
141 inline JourneyExecutionActivityMetricsResponse& AddMetrics(const Aws::String& key, const Aws::String& value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, value); return *this; }
142 inline JourneyExecutionActivityMetricsResponse& AddMetrics(Aws::String&& key, const Aws::String& value) { m_metricsHasBeenSet = true; m_metrics.emplace(std::move(key), value); return *this; }
143 inline JourneyExecutionActivityMetricsResponse& AddMetrics(const Aws::String& key, Aws::String&& value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, std::move(value)); return *this; }
144 inline JourneyExecutionActivityMetricsResponse& AddMetrics(Aws::String&& key, Aws::String&& value) { m_metricsHasBeenSet = true; m_metrics.emplace(std::move(key), std::move(value)); return *this; }
145 inline JourneyExecutionActivityMetricsResponse& AddMetrics(const char* key, Aws::String&& value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, std::move(value)); return *this; }
146 inline JourneyExecutionActivityMetricsResponse& AddMetrics(Aws::String&& key, const char* value) { m_metricsHasBeenSet = true; m_metrics.emplace(std::move(key), value); return *this; }
147 inline JourneyExecutionActivityMetricsResponse& AddMetrics(const char* key, const char* value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, value); return *this; }
149 private:
150
151 Aws::String m_activityType;
152 bool m_activityTypeHasBeenSet = false;
153
154 Aws::String m_applicationId;
155 bool m_applicationIdHasBeenSet = false;
156
157 Aws::String m_journeyActivityId;
158 bool m_journeyActivityIdHasBeenSet = false;
159
160 Aws::String m_journeyId;
161 bool m_journeyIdHasBeenSet = false;
162
163 Aws::String m_lastEvaluatedTime;
164 bool m_lastEvaluatedTimeHasBeenSet = false;
165
167 bool m_metricsHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace Pinpoint
172} // namespace Aws
JourneyExecutionActivityMetricsResponse & WithApplicationId(Aws::String &&value)
AWS_PINPOINT_API JourneyExecutionActivityMetricsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
JourneyExecutionActivityMetricsResponse & WithApplicationId(const char *value)
JourneyExecutionActivityMetricsResponse & WithJourneyId(const char *value)
JourneyExecutionActivityMetricsResponse & WithJourneyActivityId(Aws::String &&value)
JourneyExecutionActivityMetricsResponse & WithJourneyId(const Aws::String &value)
JourneyExecutionActivityMetricsResponse & AddMetrics(const Aws::String &key, Aws::String &&value)
JourneyExecutionActivityMetricsResponse & AddMetrics(const char *key, Aws::String &&value)
JourneyExecutionActivityMetricsResponse & WithMetrics(const Aws::Map< Aws::String, Aws::String > &value)
JourneyExecutionActivityMetricsResponse & WithActivityType(Aws::String &&value)
JourneyExecutionActivityMetricsResponse & AddMetrics(Aws::String &&key, Aws::String &&value)
JourneyExecutionActivityMetricsResponse & WithMetrics(Aws::Map< Aws::String, Aws::String > &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
JourneyExecutionActivityMetricsResponse & WithLastEvaluatedTime(const char *value)
JourneyExecutionActivityMetricsResponse & AddMetrics(const Aws::String &key, const Aws::String &value)
JourneyExecutionActivityMetricsResponse & WithJourneyId(Aws::String &&value)
JourneyExecutionActivityMetricsResponse & AddMetrics(Aws::String &&key, const char *value)
JourneyExecutionActivityMetricsResponse & WithLastEvaluatedTime(Aws::String &&value)
JourneyExecutionActivityMetricsResponse & WithJourneyActivityId(const char *value)
JourneyExecutionActivityMetricsResponse & WithActivityType(const char *value)
AWS_PINPOINT_API JourneyExecutionActivityMetricsResponse(Aws::Utils::Json::JsonView jsonValue)
JourneyExecutionActivityMetricsResponse & WithJourneyActivityId(const Aws::String &value)
JourneyExecutionActivityMetricsResponse & AddMetrics(Aws::String &&key, const Aws::String &value)
JourneyExecutionActivityMetricsResponse & WithApplicationId(const Aws::String &value)
JourneyExecutionActivityMetricsResponse & WithActivityType(const Aws::String &value)
JourneyExecutionActivityMetricsResponse & AddMetrics(const char *key, const char *value)
JourneyExecutionActivityMetricsResponse & WithLastEvaluatedTime(const Aws::String &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