AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 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); }
53 inline GetApplicationDateRangeKpiRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
54 inline GetApplicationDateRangeKpiRequest& 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); }
69 inline GetApplicationDateRangeKpiRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
71
73
82 inline const Aws::String& GetKpiName() const{ return m_kpiName; }
83 inline bool KpiNameHasBeenSet() const { return m_kpiNameHasBeenSet; }
84 inline void SetKpiName(const Aws::String& value) { m_kpiNameHasBeenSet = true; m_kpiName = value; }
85 inline void SetKpiName(Aws::String&& value) { m_kpiNameHasBeenSet = true; m_kpiName = std::move(value); }
86 inline void SetKpiName(const char* value) { m_kpiNameHasBeenSet = true; m_kpiName.assign(value); }
87 inline GetApplicationDateRangeKpiRequest& WithKpiName(const Aws::String& value) { SetKpiName(value); return *this;}
88 inline GetApplicationDateRangeKpiRequest& WithKpiName(Aws::String&& value) { SetKpiName(std::move(value)); return *this;}
89 inline GetApplicationDateRangeKpiRequest& WithKpiName(const char* value) { SetKpiName(value); return *this;}
91
93
98 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
99 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
100 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
101 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
102 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
103 inline GetApplicationDateRangeKpiRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
104 inline GetApplicationDateRangeKpiRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
105 inline GetApplicationDateRangeKpiRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107
109
114 inline const Aws::String& GetPageSize() const{ return m_pageSize; }
115 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
116 inline void SetPageSize(const Aws::String& value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
117 inline void SetPageSize(Aws::String&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::move(value); }
118 inline void SetPageSize(const char* value) { m_pageSizeHasBeenSet = true; m_pageSize.assign(value); }
119 inline GetApplicationDateRangeKpiRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;}
120 inline GetApplicationDateRangeKpiRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;}
121 inline GetApplicationDateRangeKpiRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;}
123
125
132 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
133 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
134 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
135 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
137 inline GetApplicationDateRangeKpiRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
139 private:
140
141 Aws::String m_applicationId;
142 bool m_applicationIdHasBeenSet = false;
143
144 Aws::Utils::DateTime m_endTime;
145 bool m_endTimeHasBeenSet = false;
146
147 Aws::String m_kpiName;
148 bool m_kpiNameHasBeenSet = false;
149
150 Aws::String m_nextToken;
151 bool m_nextTokenHasBeenSet = false;
152
153 Aws::String m_pageSize;
154 bool m_pageSizeHasBeenSet = false;
155
156 Aws::Utils::DateTime m_startTime;
157 bool m_startTimeHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace Pinpoint
162} // namespace Aws
GetApplicationDateRangeKpiRequest & WithKpiName(const Aws::String &value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetApplicationDateRangeKpiRequest & WithApplicationId(const char *value)
GetApplicationDateRangeKpiRequest & WithStartTime(Aws::Utils::DateTime &&value)
GetApplicationDateRangeKpiRequest & WithApplicationId(Aws::String &&value)
GetApplicationDateRangeKpiRequest & WithEndTime(const Aws::Utils::DateTime &value)
GetApplicationDateRangeKpiRequest & WithPageSize(const Aws::String &value)
GetApplicationDateRangeKpiRequest & WithNextToken(const char *value)
GetApplicationDateRangeKpiRequest & WithKpiName(Aws::String &&value)
GetApplicationDateRangeKpiRequest & WithApplicationId(const Aws::String &value)
GetApplicationDateRangeKpiRequest & WithKpiName(const char *value)
GetApplicationDateRangeKpiRequest & WithStartTime(const Aws::Utils::DateTime &value)
GetApplicationDateRangeKpiRequest & WithEndTime(Aws::Utils::DateTime &&value)
GetApplicationDateRangeKpiRequest & WithPageSize(const char *value)
GetApplicationDateRangeKpiRequest & WithPageSize(Aws::String &&value)
GetApplicationDateRangeKpiRequest & WithNextToken(Aws::String &&value)
GetApplicationDateRangeKpiRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String