AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
ApplicationDateRangeKpiResponse.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 ApplicationDateRangeKpiResponse() = 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
85 inline const Aws::String& GetKpiName() const { return m_kpiName; }
86 inline bool KpiNameHasBeenSet() const { return m_kpiNameHasBeenSet; }
87 template <typename KpiNameT = Aws::String>
88 void SetKpiName(KpiNameT&& value) {
89 m_kpiNameHasBeenSet = true;
90 m_kpiName = std::forward<KpiNameT>(value);
91 }
92 template <typename KpiNameT = Aws::String>
94 SetKpiName(std::forward<KpiNameT>(value));
95 return *this;
96 }
98
100
104 inline const BaseKpiResult& GetKpiResult() const { return m_kpiResult; }
105 inline bool KpiResultHasBeenSet() const { return m_kpiResultHasBeenSet; }
106 template <typename KpiResultT = BaseKpiResult>
107 void SetKpiResult(KpiResultT&& value) {
108 m_kpiResultHasBeenSet = true;
109 m_kpiResult = std::forward<KpiResultT>(value);
110 }
111 template <typename KpiResultT = BaseKpiResult>
113 SetKpiResult(std::forward<KpiResultT>(value));
114 return *this;
115 }
117
119
124 inline const Aws::String& GetNextToken() const { return m_nextToken; }
125 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
126 template <typename NextTokenT = Aws::String>
127 void SetNextToken(NextTokenT&& value) {
128 m_nextTokenHasBeenSet = true;
129 m_nextToken = std::forward<NextTokenT>(value);
130 }
131 template <typename NextTokenT = Aws::String>
133 SetNextToken(std::forward<NextTokenT>(value));
134 return *this;
135 }
137
139
143 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
144 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
145 template <typename StartTimeT = Aws::Utils::DateTime>
146 void SetStartTime(StartTimeT&& value) {
147 m_startTimeHasBeenSet = true;
148 m_startTime = std::forward<StartTimeT>(value);
149 }
150 template <typename StartTimeT = Aws::Utils::DateTime>
152 SetStartTime(std::forward<StartTimeT>(value));
153 return *this;
154 }
156 private:
157 Aws::String m_applicationId;
158 bool m_applicationIdHasBeenSet = false;
159
160 Aws::Utils::DateTime m_endTime{};
161 bool m_endTimeHasBeenSet = false;
162
163 Aws::String m_kpiName;
164 bool m_kpiNameHasBeenSet = false;
165
166 BaseKpiResult m_kpiResult;
167 bool m_kpiResultHasBeenSet = false;
168
169 Aws::String m_nextToken;
170 bool m_nextTokenHasBeenSet = false;
171
172 Aws::Utils::DateTime m_startTime{};
173 bool m_startTimeHasBeenSet = false;
174};
175
176} // namespace Model
177} // namespace Pinpoint
178} // namespace Aws
AWS_PINPOINT_API ApplicationDateRangeKpiResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationDateRangeKpiResponse & WithEndTime(EndTimeT &&value)
ApplicationDateRangeKpiResponse & WithNextToken(NextTokenT &&value)
ApplicationDateRangeKpiResponse & WithKpiResult(KpiResultT &&value)
ApplicationDateRangeKpiResponse & WithApplicationId(ApplicationIdT &&value)
AWS_PINPOINT_API ApplicationDateRangeKpiResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API ApplicationDateRangeKpiResponse()=default
ApplicationDateRangeKpiResponse & WithKpiName(KpiNameT &&value)
ApplicationDateRangeKpiResponse & WithStartTime(StartTimeT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue