AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
JourneyDateRangeKpiResponse.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
10#include <aws/pinpoint/model/BaseKpiResult.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Pinpoint {
22namespace Model {
23
32 public:
33 AWS_PINPOINT_API JourneyDateRangeKpiResponse() = default;
36 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
43 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
44 template <typename ApplicationIdT = Aws::String>
45 void SetApplicationId(ApplicationIdT&& value) {
46 m_applicationIdHasBeenSet = true;
47 m_applicationId = std::forward<ApplicationIdT>(value);
48 }
49 template <typename ApplicationIdT = Aws::String>
51 SetApplicationId(std::forward<ApplicationIdT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
62 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
63 template <typename EndTimeT = Aws::Utils::DateTime>
64 void SetEndTime(EndTimeT&& value) {
65 m_endTimeHasBeenSet = true;
66 m_endTime = std::forward<EndTimeT>(value);
67 }
68 template <typename EndTimeT = Aws::Utils::DateTime>
70 SetEndTime(std::forward<EndTimeT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetJourneyId() const { return m_journeyId; }
80 inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; }
81 template <typename JourneyIdT = Aws::String>
82 void SetJourneyId(JourneyIdT&& value) {
83 m_journeyIdHasBeenSet = true;
84 m_journeyId = std::forward<JourneyIdT>(value);
85 }
86 template <typename JourneyIdT = Aws::String>
88 SetJourneyId(std::forward<JourneyIdT>(value));
89 return *this;
90 }
92
94
103 inline const Aws::String& GetKpiName() const { return m_kpiName; }
104 inline bool KpiNameHasBeenSet() const { return m_kpiNameHasBeenSet; }
105 template <typename KpiNameT = Aws::String>
106 void SetKpiName(KpiNameT&& value) {
107 m_kpiNameHasBeenSet = true;
108 m_kpiName = std::forward<KpiNameT>(value);
109 }
110 template <typename KpiNameT = Aws::String>
112 SetKpiName(std::forward<KpiNameT>(value));
113 return *this;
114 }
116
118
122 inline const BaseKpiResult& GetKpiResult() const { return m_kpiResult; }
123 inline bool KpiResultHasBeenSet() const { return m_kpiResultHasBeenSet; }
124 template <typename KpiResultT = BaseKpiResult>
125 void SetKpiResult(KpiResultT&& value) {
126 m_kpiResultHasBeenSet = true;
127 m_kpiResult = std::forward<KpiResultT>(value);
128 }
129 template <typename KpiResultT = BaseKpiResult>
131 SetKpiResult(std::forward<KpiResultT>(value));
132 return *this;
133 }
135
137
142 inline const Aws::String& GetNextToken() const { return m_nextToken; }
143 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
144 template <typename NextTokenT = Aws::String>
145 void SetNextToken(NextTokenT&& value) {
146 m_nextTokenHasBeenSet = true;
147 m_nextToken = std::forward<NextTokenT>(value);
148 }
149 template <typename NextTokenT = Aws::String>
151 SetNextToken(std::forward<NextTokenT>(value));
152 return *this;
153 }
155
157
161 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
162 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
163 template <typename StartTimeT = Aws::Utils::DateTime>
164 void SetStartTime(StartTimeT&& value) {
165 m_startTimeHasBeenSet = true;
166 m_startTime = std::forward<StartTimeT>(value);
167 }
168 template <typename StartTimeT = Aws::Utils::DateTime>
170 SetStartTime(std::forward<StartTimeT>(value));
171 return *this;
172 }
174 private:
175 Aws::String m_applicationId;
176 bool m_applicationIdHasBeenSet = false;
177
178 Aws::Utils::DateTime m_endTime{};
179 bool m_endTimeHasBeenSet = false;
180
181 Aws::String m_journeyId;
182 bool m_journeyIdHasBeenSet = false;
183
184 Aws::String m_kpiName;
185 bool m_kpiNameHasBeenSet = false;
186
187 BaseKpiResult m_kpiResult;
188 bool m_kpiResultHasBeenSet = false;
189
190 Aws::String m_nextToken;
191 bool m_nextTokenHasBeenSet = false;
192
193 Aws::Utils::DateTime m_startTime{};
194 bool m_startTimeHasBeenSet = false;
195};
196
197} // namespace Model
198} // namespace Pinpoint
199} // namespace Aws
AWS_PINPOINT_API JourneyDateRangeKpiResponse(Aws::Utils::Json::JsonView jsonValue)
JourneyDateRangeKpiResponse & WithEndTime(EndTimeT &&value)
JourneyDateRangeKpiResponse & WithKpiName(KpiNameT &&value)
AWS_PINPOINT_API JourneyDateRangeKpiResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
JourneyDateRangeKpiResponse & WithJourneyId(JourneyIdT &&value)
AWS_PINPOINT_API JourneyDateRangeKpiResponse()=default
JourneyDateRangeKpiResponse & WithNextToken(NextTokenT &&value)
JourneyDateRangeKpiResponse & WithKpiResult(KpiResultT &&value)
JourneyDateRangeKpiResponse & WithApplicationId(ApplicationIdT &&value)
JourneyDateRangeKpiResponse & WithStartTime(StartTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue