AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetApplicationDateRangeKpiRequest.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 GetApplicationDateRangeKpiRequest() = 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 "GetApplicationDateRangeKpi"; }
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 GetApplicationDateRangeKpiRequest& 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 GetApplicationDateRangeKpiRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
69
71
80 inline const Aws::String& GetKpiName() const { return m_kpiName; }
81 inline bool KpiNameHasBeenSet() const { return m_kpiNameHasBeenSet; }
82 template<typename KpiNameT = Aws::String>
83 void SetKpiName(KpiNameT&& value) { m_kpiNameHasBeenSet = true; m_kpiName = std::forward<KpiNameT>(value); }
84 template<typename KpiNameT = Aws::String>
85 GetApplicationDateRangeKpiRequest& WithKpiName(KpiNameT&& value) { SetKpiName(std::forward<KpiNameT>(value)); return *this;}
87
89
94 inline const Aws::String& GetNextToken() const { return m_nextToken; }
95 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
96 template<typename NextTokenT = Aws::String>
97 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
98 template<typename NextTokenT = Aws::String>
99 GetApplicationDateRangeKpiRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
101
103
108 inline const Aws::String& GetPageSize() const { return m_pageSize; }
109 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
110 template<typename PageSizeT = Aws::String>
111 void SetPageSize(PageSizeT&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::forward<PageSizeT>(value); }
112 template<typename PageSizeT = Aws::String>
113 GetApplicationDateRangeKpiRequest& WithPageSize(PageSizeT&& value) { SetPageSize(std::forward<PageSizeT>(value)); return *this;}
115
117
124 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
125 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
126 template<typename StartTimeT = Aws::Utils::DateTime>
127 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
128 template<typename StartTimeT = Aws::Utils::DateTime>
129 GetApplicationDateRangeKpiRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
131 private:
132
133 Aws::String m_applicationId;
134 bool m_applicationIdHasBeenSet = false;
135
136 Aws::Utils::DateTime m_endTime{};
137 bool m_endTimeHasBeenSet = false;
138
139 Aws::String m_kpiName;
140 bool m_kpiNameHasBeenSet = false;
141
142 Aws::String m_nextToken;
143 bool m_nextTokenHasBeenSet = false;
144
145 Aws::String m_pageSize;
146 bool m_pageSizeHasBeenSet = false;
147
148 Aws::Utils::DateTime m_startTime{};
149 bool m_startTimeHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace Pinpoint
154} // namespace Aws
GetApplicationDateRangeKpiRequest & WithStartTime(StartTimeT &&value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetApplicationDateRangeKpiRequest & WithPageSize(PageSizeT &&value)
GetApplicationDateRangeKpiRequest & WithNextToken(NextTokenT &&value)
AWS_PINPOINT_API GetApplicationDateRangeKpiRequest()=default
GetApplicationDateRangeKpiRequest & WithApplicationId(ApplicationIdT &&value)
GetApplicationDateRangeKpiRequest & WithKpiName(KpiNameT &&value)
GetApplicationDateRangeKpiRequest & WithEndTime(EndTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String