AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JourneyExecutionMetricsResponse.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 JourneyExecutionMetricsResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
54 inline JourneyExecutionMetricsResponse& 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 JourneyExecutionMetricsResponse& WithJourneyId(const Aws::String& value) { SetJourneyId(value); return *this;}
67 inline JourneyExecutionMetricsResponse& WithJourneyId(Aws::String&& value) { SetJourneyId(std::move(value)); return *this;}
68 inline JourneyExecutionMetricsResponse& 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 JourneyExecutionMetricsResponse& WithLastEvaluatedTime(const char* value) { SetLastEvaluatedTime(value); return *this;}
85
87
93 inline const Aws::Map<Aws::String, Aws::String>& GetMetrics() const{ return m_metrics; }
94 inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; }
95 inline void SetMetrics(const Aws::Map<Aws::String, Aws::String>& value) { m_metricsHasBeenSet = true; m_metrics = value; }
96 inline void SetMetrics(Aws::Map<Aws::String, Aws::String>&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); }
99 inline JourneyExecutionMetricsResponse& AddMetrics(const Aws::String& key, const Aws::String& value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, value); return *this; }
100 inline JourneyExecutionMetricsResponse& AddMetrics(Aws::String&& key, const Aws::String& value) { m_metricsHasBeenSet = true; m_metrics.emplace(std::move(key), value); return *this; }
101 inline JourneyExecutionMetricsResponse& AddMetrics(const Aws::String& key, Aws::String&& value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, std::move(value)); return *this; }
102 inline JourneyExecutionMetricsResponse& AddMetrics(Aws::String&& key, Aws::String&& value) { m_metricsHasBeenSet = true; m_metrics.emplace(std::move(key), std::move(value)); return *this; }
103 inline JourneyExecutionMetricsResponse& AddMetrics(const char* key, Aws::String&& value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, std::move(value)); return *this; }
104 inline JourneyExecutionMetricsResponse& AddMetrics(Aws::String&& key, const char* value) { m_metricsHasBeenSet = true; m_metrics.emplace(std::move(key), value); return *this; }
105 inline JourneyExecutionMetricsResponse& AddMetrics(const char* key, const char* value) { m_metricsHasBeenSet = true; m_metrics.emplace(key, value); return *this; }
107 private:
108
109 Aws::String m_applicationId;
110 bool m_applicationIdHasBeenSet = false;
111
112 Aws::String m_journeyId;
113 bool m_journeyIdHasBeenSet = false;
114
115 Aws::String m_lastEvaluatedTime;
116 bool m_lastEvaluatedTimeHasBeenSet = false;
117
119 bool m_metricsHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace Pinpoint
124} // namespace Aws
JourneyExecutionMetricsResponse & WithLastEvaluatedTime(const Aws::String &value)
JourneyExecutionMetricsResponse & AddMetrics(const Aws::String &key, const Aws::String &value)
JourneyExecutionMetricsResponse & AddMetrics(Aws::String &&key, Aws::String &&value)
void SetMetrics(Aws::Map< Aws::String, Aws::String > &&value)
JourneyExecutionMetricsResponse & WithJourneyId(const char *value)
JourneyExecutionMetricsResponse & WithApplicationId(Aws::String &&value)
JourneyExecutionMetricsResponse & AddMetrics(const Aws::String &key, Aws::String &&value)
JourneyExecutionMetricsResponse & AddMetrics(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetMetrics() const
JourneyExecutionMetricsResponse & WithLastEvaluatedTime(const char *value)
JourneyExecutionMetricsResponse & AddMetrics(const char *key, Aws::String &&value)
JourneyExecutionMetricsResponse & WithApplicationId(const char *value)
JourneyExecutionMetricsResponse & WithJourneyId(const Aws::String &value)
JourneyExecutionMetricsResponse & WithMetrics(Aws::Map< Aws::String, Aws::String > &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
JourneyExecutionMetricsResponse & WithApplicationId(const Aws::String &value)
JourneyExecutionMetricsResponse & WithLastEvaluatedTime(Aws::String &&value)
AWS_PINPOINT_API JourneyExecutionMetricsResponse(Aws::Utils::Json::JsonView jsonValue)
JourneyExecutionMetricsResponse & AddMetrics(const char *key, const char *value)
JourneyExecutionMetricsResponse & AddMetrics(Aws::String &&key, const char *value)
JourneyExecutionMetricsResponse & WithJourneyId(Aws::String &&value)
AWS_PINPOINT_API JourneyExecutionMetricsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
JourneyExecutionMetricsResponse & WithMetrics(const Aws::Map< Aws::String, Aws::String > &value)
void SetMetrics(const Aws::Map< Aws::String, 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