AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetJourneyDateRangeKpiRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Pinpoint
20{
21namespace Model
22{
23
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetJourneyDateRangeKpi"; }
36
37 AWS_PINPOINT_API Aws::String SerializePayload() const override;
38
39 AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
47 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
48 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
49 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
50 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
51 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
52 inline GetJourneyDateRangeKpiRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
53 inline GetJourneyDateRangeKpiRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
54 inline GetJourneyDateRangeKpiRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
56
58
64 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
65 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
66 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
67 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
68 inline GetJourneyDateRangeKpiRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
69 inline GetJourneyDateRangeKpiRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
71
73
76 inline const Aws::String& GetJourneyId() const{ return m_journeyId; }
77 inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; }
78 inline void SetJourneyId(const Aws::String& value) { m_journeyIdHasBeenSet = true; m_journeyId = value; }
79 inline void SetJourneyId(Aws::String&& value) { m_journeyIdHasBeenSet = true; m_journeyId = std::move(value); }
80 inline void SetJourneyId(const char* value) { m_journeyIdHasBeenSet = true; m_journeyId.assign(value); }
81 inline GetJourneyDateRangeKpiRequest& WithJourneyId(const Aws::String& value) { SetJourneyId(value); return *this;}
82 inline GetJourneyDateRangeKpiRequest& WithJourneyId(Aws::String&& value) { SetJourneyId(std::move(value)); return *this;}
83 inline GetJourneyDateRangeKpiRequest& WithJourneyId(const char* value) { SetJourneyId(value); return *this;}
85
87
96 inline const Aws::String& GetKpiName() const{ return m_kpiName; }
97 inline bool KpiNameHasBeenSet() const { return m_kpiNameHasBeenSet; }
98 inline void SetKpiName(const Aws::String& value) { m_kpiNameHasBeenSet = true; m_kpiName = value; }
99 inline void SetKpiName(Aws::String&& value) { m_kpiNameHasBeenSet = true; m_kpiName = std::move(value); }
100 inline void SetKpiName(const char* value) { m_kpiNameHasBeenSet = true; m_kpiName.assign(value); }
101 inline GetJourneyDateRangeKpiRequest& WithKpiName(const Aws::String& value) { SetKpiName(value); return *this;}
102 inline GetJourneyDateRangeKpiRequest& WithKpiName(Aws::String&& value) { SetKpiName(std::move(value)); return *this;}
103 inline GetJourneyDateRangeKpiRequest& WithKpiName(const char* value) { SetKpiName(value); return *this;}
105
107
112 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
113 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
114 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
115 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
116 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
117 inline GetJourneyDateRangeKpiRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
118 inline GetJourneyDateRangeKpiRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
119 inline GetJourneyDateRangeKpiRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121
123
128 inline const Aws::String& GetPageSize() const{ return m_pageSize; }
129 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
130 inline void SetPageSize(const Aws::String& value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
131 inline void SetPageSize(Aws::String&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::move(value); }
132 inline void SetPageSize(const char* value) { m_pageSizeHasBeenSet = true; m_pageSize.assign(value); }
133 inline GetJourneyDateRangeKpiRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;}
134 inline GetJourneyDateRangeKpiRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;}
135 inline GetJourneyDateRangeKpiRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;}
137
139
146 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
147 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
148 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
149 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
151 inline GetJourneyDateRangeKpiRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
153 private:
154
155 Aws::String m_applicationId;
156 bool m_applicationIdHasBeenSet = false;
157
158 Aws::Utils::DateTime m_endTime;
159 bool m_endTimeHasBeenSet = false;
160
161 Aws::String m_journeyId;
162 bool m_journeyIdHasBeenSet = false;
163
164 Aws::String m_kpiName;
165 bool m_kpiNameHasBeenSet = false;
166
167 Aws::String m_nextToken;
168 bool m_nextTokenHasBeenSet = false;
169
170 Aws::String m_pageSize;
171 bool m_pageSizeHasBeenSet = false;
172
173 Aws::Utils::DateTime m_startTime;
174 bool m_startTimeHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace Pinpoint
179} // namespace Aws
GetJourneyDateRangeKpiRequest & WithEndTime(const Aws::Utils::DateTime &value)
GetJourneyDateRangeKpiRequest & WithApplicationId(const Aws::String &value)
GetJourneyDateRangeKpiRequest & WithKpiName(Aws::String &&value)
GetJourneyDateRangeKpiRequest & WithEndTime(Aws::Utils::DateTime &&value)
GetJourneyDateRangeKpiRequest & WithJourneyId(Aws::String &&value)
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetJourneyDateRangeKpiRequest & WithKpiName(const char *value)
GetJourneyDateRangeKpiRequest & WithNextToken(const char *value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
GetJourneyDateRangeKpiRequest & WithPageSize(const Aws::String &value)
GetJourneyDateRangeKpiRequest & WithPageSize(Aws::String &&value)
GetJourneyDateRangeKpiRequest & WithStartTime(Aws::Utils::DateTime &&value)
GetJourneyDateRangeKpiRequest & WithApplicationId(Aws::String &&value)
GetJourneyDateRangeKpiRequest & WithJourneyId(const Aws::String &value)
GetJourneyDateRangeKpiRequest & WithKpiName(const Aws::String &value)
GetJourneyDateRangeKpiRequest & WithPageSize(const char *value)
GetJourneyDateRangeKpiRequest & WithStartTime(const Aws::Utils::DateTime &value)
GetJourneyDateRangeKpiRequest & WithNextToken(const Aws::String &value)
GetJourneyDateRangeKpiRequest & WithJourneyId(const char *value)
GetJourneyDateRangeKpiRequest & WithApplicationId(const char *value)
GetJourneyDateRangeKpiRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String