AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCampaignDateRangeKpiRequest.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 "GetCampaignDateRangeKpi"; }
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 GetCampaignDateRangeKpiRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
54 inline GetCampaignDateRangeKpiRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
56
58
61 inline const Aws::String& GetCampaignId() const{ return m_campaignId; }
62 inline bool CampaignIdHasBeenSet() const { return m_campaignIdHasBeenSet; }
63 inline void SetCampaignId(const Aws::String& value) { m_campaignIdHasBeenSet = true; m_campaignId = value; }
64 inline void SetCampaignId(Aws::String&& value) { m_campaignIdHasBeenSet = true; m_campaignId = std::move(value); }
65 inline void SetCampaignId(const char* value) { m_campaignIdHasBeenSet = true; m_campaignId.assign(value); }
66 inline GetCampaignDateRangeKpiRequest& WithCampaignId(const Aws::String& value) { SetCampaignId(value); return *this;}
67 inline GetCampaignDateRangeKpiRequest& WithCampaignId(Aws::String&& value) { SetCampaignId(std::move(value)); return *this;}
68 inline GetCampaignDateRangeKpiRequest& WithCampaignId(const char* value) { SetCampaignId(value); return *this;}
70
72
78 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
79 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
80 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
81 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
82 inline GetCampaignDateRangeKpiRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
83 inline GetCampaignDateRangeKpiRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(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 GetCampaignDateRangeKpiRequest& WithKpiName(const Aws::String& value) { SetKpiName(value); return *this;}
102 inline GetCampaignDateRangeKpiRequest& WithKpiName(Aws::String&& value) { SetKpiName(std::move(value)); return *this;}
103 inline GetCampaignDateRangeKpiRequest& 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 GetCampaignDateRangeKpiRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
118 inline GetCampaignDateRangeKpiRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
119 inline GetCampaignDateRangeKpiRequest& 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 GetCampaignDateRangeKpiRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;}
134 inline GetCampaignDateRangeKpiRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;}
135 inline GetCampaignDateRangeKpiRequest& 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 GetCampaignDateRangeKpiRequest& 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::String m_campaignId;
159 bool m_campaignIdHasBeenSet = false;
160
161 Aws::Utils::DateTime m_endTime;
162 bool m_endTimeHasBeenSet = 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
GetCampaignDateRangeKpiRequest & WithKpiName(Aws::String &&value)
GetCampaignDateRangeKpiRequest & WithPageSize(const Aws::String &value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
GetCampaignDateRangeKpiRequest & WithKpiName(const char *value)
GetCampaignDateRangeKpiRequest & WithPageSize(const char *value)
GetCampaignDateRangeKpiRequest & WithCampaignId(const Aws::String &value)
GetCampaignDateRangeKpiRequest & WithCampaignId(const char *value)
GetCampaignDateRangeKpiRequest & WithApplicationId(const char *value)
GetCampaignDateRangeKpiRequest & WithPageSize(Aws::String &&value)
GetCampaignDateRangeKpiRequest & WithStartTime(Aws::Utils::DateTime &&value)
GetCampaignDateRangeKpiRequest & WithNextToken(const char *value)
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetCampaignDateRangeKpiRequest & WithApplicationId(Aws::String &&value)
GetCampaignDateRangeKpiRequest & WithEndTime(const Aws::Utils::DateTime &value)
GetCampaignDateRangeKpiRequest & WithApplicationId(const Aws::String &value)
GetCampaignDateRangeKpiRequest & WithStartTime(const Aws::Utils::DateTime &value)
GetCampaignDateRangeKpiRequest & WithNextToken(const Aws::String &value)
GetCampaignDateRangeKpiRequest & WithNextToken(Aws::String &&value)
GetCampaignDateRangeKpiRequest & WithKpiName(const Aws::String &value)
GetCampaignDateRangeKpiRequest & WithEndTime(Aws::Utils::DateTime &&value)
GetCampaignDateRangeKpiRequest & WithCampaignId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String