AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
50 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
51 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
53 inline JourneyRunExecutionMetricsResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
54 inline JourneyRunExecutionMetricsResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
56
58
61 inline const Aws::String& GetJourneyId() const{ return m_journeyId; }
62 inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; }
63 inline void SetJourneyId(const Aws::String& value) { m_journeyIdHasBeenSet = true; m_journeyId = value; }
64 inline void SetJourneyId(Aws::String&& value) { m_journeyIdHasBeenSet = true; m_journeyId = std::move(value); }
65 inline void SetJourneyId(const char* value) { m_journeyIdHasBeenSet = true; m_journeyId.assign(value); }
66 inline JourneyRunExecutionMetricsResponse& WithJourneyId(const Aws::String& value) { SetJourneyId(value); return *this;}
67 inline JourneyRunExecutionMetricsResponse& WithJourneyId(Aws::String&& value) { SetJourneyId(std::move(value)); return *this;}
68 inline JourneyRunExecutionMetricsResponse& WithJourneyId(const char* value) { SetJourneyId(value); return *this;}
70
72
76 inline const Aws::String& GetLastEvaluatedTime() const{ return m_lastEvaluatedTime; }
77 inline bool LastEvaluatedTimeHasBeenSet() const { return m_lastEvaluatedTimeHasBeenSet; }
78 inline void SetLastEvaluatedTime(const Aws::String& value) { m_lastEvaluatedTimeHasBeenSet = true; m_lastEvaluatedTime = value; }
79 inline void SetLastEvaluatedTime(Aws::String&& value) { m_lastEvaluatedTimeHasBeenSet = true; m_lastEvaluatedTime = std::move(value); }
80 inline void SetLastEvaluatedTime(const char* value) { m_lastEvaluatedTimeHasBeenSet = true; m_lastEvaluatedTime.assign(value); }
83 inline JourneyRunExecutionMetricsResponse& WithLastEvaluatedTime(const char* value) { SetLastEvaluatedTime(value); return *this;}
85
87
94 inline const Aws::Map<Aws::String, Aws::String>& GetMetrics() const{ return m_metrics; }
95 inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; }
96 inline void SetMetrics(const Aws::Map<Aws::String, Aws::String>& value) { m_metricsHasBeenSet = true; m_metrics = value; }
97 inline void SetMetrics(Aws::Map<Aws::String, Aws::String>&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); }
100 inline JourneyRunExecutionMetricsResponse& AddMetrics(const Aws::String& key, const Aws::String& value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, value); return *this; }
101 inline JourneyRunExecutionMetricsResponse& AddMetrics(Aws::String&& key, const Aws::String& value) { m_metricsHasBeenSet = true; m_metrics.emplace(std::move(key), value); return *this; }
102 inline JourneyRunExecutionMetricsResponse& AddMetrics(const Aws::String& key, Aws::String&& value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, std::move(value)); return *this; }
103 inline JourneyRunExecutionMetricsResponse& AddMetrics(Aws::String&& key, Aws::String&& value) { m_metricsHasBeenSet = true; m_metrics.emplace(std::move(key), std::move(value)); return *this; }
104 inline JourneyRunExecutionMetricsResponse& AddMetrics(const char* key, Aws::String&& value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, std::move(value)); return *this; }
105 inline JourneyRunExecutionMetricsResponse& AddMetrics(Aws::String&& key, const char* value) { m_metricsHasBeenSet = true; m_metrics.emplace(std::move(key), value); return *this; }
106 inline JourneyRunExecutionMetricsResponse& AddMetrics(const char* key, const char* value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, value); return *this; }
108
110
113 inline const Aws::String& GetRunId() const{ return m_runId; }
114 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
115 inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; }
116 inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); }
117 inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); }
118 inline JourneyRunExecutionMetricsResponse& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
119 inline JourneyRunExecutionMetricsResponse& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
120 inline JourneyRunExecutionMetricsResponse& WithRunId(const char* value) { SetRunId(value); return *this;}
122 private:
123
124 Aws::String m_applicationId;
125 bool m_applicationIdHasBeenSet = false;
126
127 Aws::String m_journeyId;
128 bool m_journeyIdHasBeenSet = false;
129
130 Aws::String m_lastEvaluatedTime;
131 bool m_lastEvaluatedTimeHasBeenSet = false;
132
134 bool m_metricsHasBeenSet = false;
135
136 Aws::String m_runId;
137 bool m_runIdHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace Pinpoint
142} // namespace Aws
JourneyRunExecutionMetricsResponse & WithJourneyId(Aws::String &&value)
JourneyRunExecutionMetricsResponse & AddMetrics(const char *key, const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
JourneyRunExecutionMetricsResponse & WithRunId(const char *value)
AWS_PINPOINT_API JourneyRunExecutionMetricsResponse(Aws::Utils::Json::JsonView jsonValue)
JourneyRunExecutionMetricsResponse & AddMetrics(Aws::String &&key, const Aws::String &value)
void SetMetrics(Aws::Map< Aws::String, Aws::String > &&value)
JourneyRunExecutionMetricsResponse & WithJourneyId(const Aws::String &value)
JourneyRunExecutionMetricsResponse & AddMetrics(Aws::String &&key, const char *value)
JourneyRunExecutionMetricsResponse & WithRunId(Aws::String &&value)
JourneyRunExecutionMetricsResponse & WithApplicationId(const Aws::String &value)
JourneyRunExecutionMetricsResponse & WithMetrics(Aws::Map< Aws::String, Aws::String > &&value)
JourneyRunExecutionMetricsResponse & WithJourneyId(const char *value)
JourneyRunExecutionMetricsResponse & WithApplicationId(Aws::String &&value)
JourneyRunExecutionMetricsResponse & WithLastEvaluatedTime(Aws::String &&value)
AWS_PINPOINT_API JourneyRunExecutionMetricsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
JourneyRunExecutionMetricsResponse & WithLastEvaluatedTime(const Aws::String &value)
JourneyRunExecutionMetricsResponse & WithApplicationId(const char *value)
void SetMetrics(const Aws::Map< Aws::String, Aws::String > &value)
JourneyRunExecutionMetricsResponse & AddMetrics(Aws::String &&key, Aws::String &&value)
JourneyRunExecutionMetricsResponse & WithMetrics(const Aws::Map< Aws::String, Aws::String > &value)
JourneyRunExecutionMetricsResponse & WithLastEvaluatedTime(const char *value)
JourneyRunExecutionMetricsResponse & WithRunId(const Aws::String &value)
JourneyRunExecutionMetricsResponse & AddMetrics(const Aws::String &key, Aws::String &&value)
JourneyRunExecutionMetricsResponse & AddMetrics(const char *key, Aws::String &&value)
JourneyRunExecutionMetricsResponse & AddMetrics(const Aws::String &key, const Aws::String &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