AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
JourneyDateRangeKpiResponse.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/DateTime.h>
10#include <aws/pinpoint/model/BaseKpiResult.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Pinpoint
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_PINPOINT_API JourneyDateRangeKpiResponse() = default;
41 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
49 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
50 template<typename ApplicationIdT = Aws::String>
51 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
52 template<typename ApplicationIdT = Aws::String>
53 JourneyDateRangeKpiResponse& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
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) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
65 template<typename EndTimeT = Aws::Utils::DateTime>
66 JourneyDateRangeKpiResponse& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
68
70
73 inline const Aws::String& GetJourneyId() const { return m_journeyId; }
74 inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; }
75 template<typename JourneyIdT = Aws::String>
76 void SetJourneyId(JourneyIdT&& value) { m_journeyIdHasBeenSet = true; m_journeyId = std::forward<JourneyIdT>(value); }
77 template<typename JourneyIdT = Aws::String>
78 JourneyDateRangeKpiResponse& WithJourneyId(JourneyIdT&& value) { SetJourneyId(std::forward<JourneyIdT>(value)); return *this;}
80
82
91 inline const Aws::String& GetKpiName() const { return m_kpiName; }
92 inline bool KpiNameHasBeenSet() const { return m_kpiNameHasBeenSet; }
93 template<typename KpiNameT = Aws::String>
94 void SetKpiName(KpiNameT&& value) { m_kpiNameHasBeenSet = true; m_kpiName = std::forward<KpiNameT>(value); }
95 template<typename KpiNameT = Aws::String>
96 JourneyDateRangeKpiResponse& WithKpiName(KpiNameT&& value) { SetKpiName(std::forward<KpiNameT>(value)); return *this;}
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) { m_kpiResultHasBeenSet = true; m_kpiResult = std::forward<KpiResultT>(value); }
108 template<typename KpiResultT = BaseKpiResult>
109 JourneyDateRangeKpiResponse& WithKpiResult(KpiResultT&& value) { SetKpiResult(std::forward<KpiResultT>(value)); return *this;}
111
113
118 inline const Aws::String& GetNextToken() const { return m_nextToken; }
119 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
120 template<typename NextTokenT = Aws::String>
121 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
122 template<typename NextTokenT = Aws::String>
123 JourneyDateRangeKpiResponse& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
125
127
131 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
132 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
133 template<typename StartTimeT = Aws::Utils::DateTime>
134 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
135 template<typename StartTimeT = Aws::Utils::DateTime>
136 JourneyDateRangeKpiResponse& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
138 private:
139
140 Aws::String m_applicationId;
141 bool m_applicationIdHasBeenSet = false;
142
143 Aws::Utils::DateTime m_endTime{};
144 bool m_endTimeHasBeenSet = false;
145
146 Aws::String m_journeyId;
147 bool m_journeyIdHasBeenSet = false;
148
149 Aws::String m_kpiName;
150 bool m_kpiNameHasBeenSet = false;
151
152 BaseKpiResult m_kpiResult;
153 bool m_kpiResultHasBeenSet = false;
154
155 Aws::String m_nextToken;
156 bool m_nextTokenHasBeenSet = false;
157
158 Aws::Utils::DateTime m_startTime{};
159 bool m_startTimeHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace Pinpoint
164} // 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