AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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:
37 AWS_PINPOINT_API JourneyExecutionMetricsResponse() = 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 JourneyExecutionMetricsResponse& 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 JourneyExecutionMetricsResponse& 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 JourneyExecutionMetricsResponse& WithLastEvaluatedTime(LastEvaluatedTimeT&& value) { SetLastEvaluatedTime(std::forward<LastEvaluatedTimeT>(value)); return *this;}
79
81
87 inline const Aws::Map<Aws::String, Aws::String>& GetMetrics() const { return m_metrics; }
88 inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; }
89 template<typename MetricsT = Aws::Map<Aws::String, Aws::String>>
90 void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet = true; m_metrics = std::forward<MetricsT>(value); }
91 template<typename MetricsT = Aws::Map<Aws::String, Aws::String>>
92 JourneyExecutionMetricsResponse& WithMetrics(MetricsT&& value) { SetMetrics(std::forward<MetricsT>(value)); return *this;}
93 template<typename MetricsKeyT = Aws::String, typename MetricsValueT = Aws::String>
94 JourneyExecutionMetricsResponse& AddMetrics(MetricsKeyT&& key, MetricsValueT&& value) {
95 m_metricsHasBeenSet = true; m_metrics.emplace(std::forward<MetricsKeyT>(key), std::forward<MetricsValueT>(value)); return *this;
96 }
98 private:
99
100 Aws::String m_applicationId;
101 bool m_applicationIdHasBeenSet = false;
102
103 Aws::String m_journeyId;
104 bool m_journeyIdHasBeenSet = false;
105
106 Aws::String m_lastEvaluatedTime;
107 bool m_lastEvaluatedTimeHasBeenSet = false;
108
110 bool m_metricsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Pinpoint
115} // namespace Aws
AWS_PINPOINT_API JourneyExecutionMetricsResponse()=default
JourneyExecutionMetricsResponse & WithJourneyId(JourneyIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetMetrics() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
JourneyExecutionMetricsResponse & WithApplicationId(ApplicationIdT &&value)
AWS_PINPOINT_API JourneyExecutionMetricsResponse(Aws::Utils::Json::JsonView jsonValue)
JourneyExecutionMetricsResponse & AddMetrics(MetricsKeyT &&key, MetricsValueT &&value)
JourneyExecutionMetricsResponse & WithMetrics(MetricsT &&value)
AWS_PINPOINT_API JourneyExecutionMetricsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
JourneyExecutionMetricsResponse & WithLastEvaluatedTime(LastEvaluatedTimeT &&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