AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
29 AWS_PINPOINT_API GetJourneyDateRangeKpiRequest() = default;
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 template<typename ApplicationIdT = Aws::String>
50 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
51 template<typename ApplicationIdT = Aws::String>
52 GetJourneyDateRangeKpiRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
54
56
62 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
63 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
64 template<typename EndTimeT = Aws::Utils::DateTime>
65 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
66 template<typename EndTimeT = Aws::Utils::DateTime>
67 GetJourneyDateRangeKpiRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
69
71
74 inline const Aws::String& GetJourneyId() const { return m_journeyId; }
75 inline bool JourneyIdHasBeenSet() const { return m_journeyIdHasBeenSet; }
76 template<typename JourneyIdT = Aws::String>
77 void SetJourneyId(JourneyIdT&& value) { m_journeyIdHasBeenSet = true; m_journeyId = std::forward<JourneyIdT>(value); }
78 template<typename JourneyIdT = Aws::String>
79 GetJourneyDateRangeKpiRequest& WithJourneyId(JourneyIdT&& value) { SetJourneyId(std::forward<JourneyIdT>(value)); return *this;}
81
83
92 inline const Aws::String& GetKpiName() const { return m_kpiName; }
93 inline bool KpiNameHasBeenSet() const { return m_kpiNameHasBeenSet; }
94 template<typename KpiNameT = Aws::String>
95 void SetKpiName(KpiNameT&& value) { m_kpiNameHasBeenSet = true; m_kpiName = std::forward<KpiNameT>(value); }
96 template<typename KpiNameT = Aws::String>
97 GetJourneyDateRangeKpiRequest& WithKpiName(KpiNameT&& value) { SetKpiName(std::forward<KpiNameT>(value)); return *this;}
99
101
106 inline const Aws::String& GetNextToken() const { return m_nextToken; }
107 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
108 template<typename NextTokenT = Aws::String>
109 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
110 template<typename NextTokenT = Aws::String>
111 GetJourneyDateRangeKpiRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
113
115
120 inline const Aws::String& GetPageSize() const { return m_pageSize; }
121 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
122 template<typename PageSizeT = Aws::String>
123 void SetPageSize(PageSizeT&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::forward<PageSizeT>(value); }
124 template<typename PageSizeT = Aws::String>
125 GetJourneyDateRangeKpiRequest& WithPageSize(PageSizeT&& value) { SetPageSize(std::forward<PageSizeT>(value)); return *this;}
127
129
136 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
137 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
138 template<typename StartTimeT = Aws::Utils::DateTime>
139 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
140 template<typename StartTimeT = Aws::Utils::DateTime>
141 GetJourneyDateRangeKpiRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
143 private:
144
145 Aws::String m_applicationId;
146 bool m_applicationIdHasBeenSet = false;
147
148 Aws::Utils::DateTime m_endTime{};
149 bool m_endTimeHasBeenSet = false;
150
151 Aws::String m_journeyId;
152 bool m_journeyIdHasBeenSet = false;
153
154 Aws::String m_kpiName;
155 bool m_kpiNameHasBeenSet = false;
156
157 Aws::String m_nextToken;
158 bool m_nextTokenHasBeenSet = false;
159
160 Aws::String m_pageSize;
161 bool m_pageSizeHasBeenSet = false;
162
163 Aws::Utils::DateTime m_startTime{};
164 bool m_startTimeHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace Pinpoint
169} // namespace Aws
GetJourneyDateRangeKpiRequest & WithPageSize(PageSizeT &&value)
GetJourneyDateRangeKpiRequest & WithJourneyId(JourneyIdT &&value)
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetJourneyDateRangeKpiRequest & WithStartTime(StartTimeT &&value)
GetJourneyDateRangeKpiRequest & WithKpiName(KpiNameT &&value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
GetJourneyDateRangeKpiRequest & WithApplicationId(ApplicationIdT &&value)
GetJourneyDateRangeKpiRequest & WithEndTime(EndTimeT &&value)
AWS_PINPOINT_API GetJourneyDateRangeKpiRequest()=default
GetJourneyDateRangeKpiRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String