AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
51 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
52 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
53 inline JourneyDateRangeKpiResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
54 inline JourneyDateRangeKpiResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
55 inline JourneyDateRangeKpiResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
57
59
63 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
64 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
65 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
66 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
67 inline JourneyDateRangeKpiResponse& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
68 inline JourneyDateRangeKpiResponse& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetJourneyId() const{ return m_journeyId; }
76 inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; }
77 inline void SetJourneyId(const Aws::String& value) { m_journeyIdHasBeenSet = true; m_journeyId = value; }
78 inline void SetJourneyId(Aws::String&& value) { m_journeyIdHasBeenSet = true; m_journeyId = std::move(value); }
79 inline void SetJourneyId(const char* value) { m_journeyIdHasBeenSet = true; m_journeyId.assign(value); }
80 inline JourneyDateRangeKpiResponse& WithJourneyId(const Aws::String& value) { SetJourneyId(value); return *this;}
81 inline JourneyDateRangeKpiResponse& WithJourneyId(Aws::String&& value) { SetJourneyId(std::move(value)); return *this;}
82 inline JourneyDateRangeKpiResponse& WithJourneyId(const char* value) { SetJourneyId(value); return *this;}
84
86
95 inline const Aws::String& GetKpiName() const{ return m_kpiName; }
96 inline bool KpiNameHasBeenSet() const { return m_kpiNameHasBeenSet; }
97 inline void SetKpiName(const Aws::String& value) { m_kpiNameHasBeenSet = true; m_kpiName = value; }
98 inline void SetKpiName(Aws::String&& value) { m_kpiNameHasBeenSet = true; m_kpiName = std::move(value); }
99 inline void SetKpiName(const char* value) { m_kpiNameHasBeenSet = true; m_kpiName.assign(value); }
100 inline JourneyDateRangeKpiResponse& WithKpiName(const Aws::String& value) { SetKpiName(value); return *this;}
101 inline JourneyDateRangeKpiResponse& WithKpiName(Aws::String&& value) { SetKpiName(std::move(value)); return *this;}
102 inline JourneyDateRangeKpiResponse& WithKpiName(const char* value) { SetKpiName(value); return *this;}
104
106
110 inline const BaseKpiResult& GetKpiResult() const{ return m_kpiResult; }
111 inline bool KpiResultHasBeenSet() const { return m_kpiResultHasBeenSet; }
112 inline void SetKpiResult(const BaseKpiResult& value) { m_kpiResultHasBeenSet = true; m_kpiResult = value; }
113 inline void SetKpiResult(BaseKpiResult&& value) { m_kpiResultHasBeenSet = true; m_kpiResult = std::move(value); }
114 inline JourneyDateRangeKpiResponse& WithKpiResult(const BaseKpiResult& value) { SetKpiResult(value); return *this;}
115 inline JourneyDateRangeKpiResponse& WithKpiResult(BaseKpiResult&& value) { SetKpiResult(std::move(value)); return *this;}
117
119
124 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
125 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
126 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
127 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
128 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
129 inline JourneyDateRangeKpiResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
130 inline JourneyDateRangeKpiResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
131 inline JourneyDateRangeKpiResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
133
135
139 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
140 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
141 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
142 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
143 inline JourneyDateRangeKpiResponse& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
144 inline JourneyDateRangeKpiResponse& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
146 private:
147
148 Aws::String m_applicationId;
149 bool m_applicationIdHasBeenSet = false;
150
151 Aws::Utils::DateTime m_endTime;
152 bool m_endTimeHasBeenSet = false;
153
154 Aws::String m_journeyId;
155 bool m_journeyIdHasBeenSet = false;
156
157 Aws::String m_kpiName;
158 bool m_kpiNameHasBeenSet = false;
159
160 BaseKpiResult m_kpiResult;
161 bool m_kpiResultHasBeenSet = false;
162
163 Aws::String m_nextToken;
164 bool m_nextTokenHasBeenSet = false;
165
166 Aws::Utils::DateTime m_startTime;
167 bool m_startTimeHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace Pinpoint
172} // namespace Aws
JourneyDateRangeKpiResponse & WithJourneyId(const Aws::String &value)
AWS_PINPOINT_API JourneyDateRangeKpiResponse(Aws::Utils::Json::JsonView jsonValue)
JourneyDateRangeKpiResponse & WithApplicationId(const Aws::String &value)
JourneyDateRangeKpiResponse & WithJourneyId(const char *value)
JourneyDateRangeKpiResponse & WithStartTime(const Aws::Utils::DateTime &value)
AWS_PINPOINT_API JourneyDateRangeKpiResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
JourneyDateRangeKpiResponse & WithKpiName(Aws::String &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
JourneyDateRangeKpiResponse & WithNextToken(const char *value)
JourneyDateRangeKpiResponse & WithKpiName(const char *value)
JourneyDateRangeKpiResponse & WithKpiResult(BaseKpiResult &&value)
JourneyDateRangeKpiResponse & WithKpiResult(const BaseKpiResult &value)
JourneyDateRangeKpiResponse & WithJourneyId(Aws::String &&value)
JourneyDateRangeKpiResponse & WithKpiName(const Aws::String &value)
JourneyDateRangeKpiResponse & WithNextToken(const Aws::String &value)
JourneyDateRangeKpiResponse & WithEndTime(const Aws::Utils::DateTime &value)
JourneyDateRangeKpiResponse & WithStartTime(Aws::Utils::DateTime &&value)
JourneyDateRangeKpiResponse & WithEndTime(Aws::Utils::DateTime &&value)
JourneyDateRangeKpiResponse & WithNextToken(Aws::String &&value)
JourneyDateRangeKpiResponse & WithApplicationId(Aws::String &&value)
JourneyDateRangeKpiResponse & WithApplicationId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue