AWS SDK for C++  1.9.102
AWS SDK for C++
GetCampaignDateRangeKpiRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace Pinpoint
20 {
21 namespace 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::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
46  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
47 
52  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
53 
58  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
59 
64  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
65 
70  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
71 
76  inline GetCampaignDateRangeKpiRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
77 
82  inline GetCampaignDateRangeKpiRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
83 
88  inline GetCampaignDateRangeKpiRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
89 
90 
94  inline const Aws::String& GetCampaignId() const{ return m_campaignId; }
95 
99  inline bool CampaignIdHasBeenSet() const { return m_campaignIdHasBeenSet; }
100 
104  inline void SetCampaignId(const Aws::String& value) { m_campaignIdHasBeenSet = true; m_campaignId = value; }
105 
109  inline void SetCampaignId(Aws::String&& value) { m_campaignIdHasBeenSet = true; m_campaignId = std::move(value); }
110 
114  inline void SetCampaignId(const char* value) { m_campaignIdHasBeenSet = true; m_campaignId.assign(value); }
115 
119  inline GetCampaignDateRangeKpiRequest& WithCampaignId(const Aws::String& value) { SetCampaignId(value); return *this;}
120 
124  inline GetCampaignDateRangeKpiRequest& WithCampaignId(Aws::String&& value) { SetCampaignId(std::move(value)); return *this;}
125 
129  inline GetCampaignDateRangeKpiRequest& WithCampaignId(const char* value) { SetCampaignId(value); return *this;}
130 
131 
138  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
139 
146  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
147 
154  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
155 
162  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
163 
170  inline GetCampaignDateRangeKpiRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
171 
178  inline GetCampaignDateRangeKpiRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
179 
180 
190  inline const Aws::String& GetKpiName() const{ return m_kpiName; }
191 
201  inline bool KpiNameHasBeenSet() const { return m_kpiNameHasBeenSet; }
202 
212  inline void SetKpiName(const Aws::String& value) { m_kpiNameHasBeenSet = true; m_kpiName = value; }
213 
223  inline void SetKpiName(Aws::String&& value) { m_kpiNameHasBeenSet = true; m_kpiName = std::move(value); }
224 
234  inline void SetKpiName(const char* value) { m_kpiNameHasBeenSet = true; m_kpiName.assign(value); }
235 
245  inline GetCampaignDateRangeKpiRequest& WithKpiName(const Aws::String& value) { SetKpiName(value); return *this;}
246 
256  inline GetCampaignDateRangeKpiRequest& WithKpiName(Aws::String&& value) { SetKpiName(std::move(value)); return *this;}
257 
267  inline GetCampaignDateRangeKpiRequest& WithKpiName(const char* value) { SetKpiName(value); return *this;}
268 
269 
275  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
276 
282  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
283 
289  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
290 
296  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
297 
303  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
304 
310  inline GetCampaignDateRangeKpiRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
311 
317  inline GetCampaignDateRangeKpiRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
318 
324  inline GetCampaignDateRangeKpiRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
325 
326 
332  inline const Aws::String& GetPageSize() const{ return m_pageSize; }
333 
339  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
340 
346  inline void SetPageSize(const Aws::String& value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
347 
353  inline void SetPageSize(Aws::String&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::move(value); }
354 
360  inline void SetPageSize(const char* value) { m_pageSizeHasBeenSet = true; m_pageSize.assign(value); }
361 
367  inline GetCampaignDateRangeKpiRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;}
368 
374  inline GetCampaignDateRangeKpiRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;}
375 
381  inline GetCampaignDateRangeKpiRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;}
382 
383 
391  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
392 
400  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
401 
409  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
410 
418  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
419 
427  inline GetCampaignDateRangeKpiRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
428 
436  inline GetCampaignDateRangeKpiRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
437 
438  private:
439 
440  Aws::String m_applicationId;
441  bool m_applicationIdHasBeenSet;
442 
443  Aws::String m_campaignId;
444  bool m_campaignIdHasBeenSet;
445 
446  Aws::Utils::DateTime m_endTime;
447  bool m_endTimeHasBeenSet;
448 
449  Aws::String m_kpiName;
450  bool m_kpiNameHasBeenSet;
451 
452  Aws::String m_nextToken;
453  bool m_nextTokenHasBeenSet;
454 
455  Aws::String m_pageSize;
456  bool m_pageSizeHasBeenSet;
457 
458  Aws::Utils::DateTime m_startTime;
459  bool m_startTimeHasBeenSet;
460  };
461 
462 } // namespace Model
463 } // namespace Pinpoint
464 } // namespace Aws
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: GetCampaignDateRangeKpiRequest.h:70
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: GetCampaignDateRangeKpiRequest.h:162
Aws::Http::URI
Definition: URI.h:32
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithApplicationId
GetCampaignDateRangeKpiRequest & WithApplicationId(Aws::String &&value)
Definition: GetCampaignDateRangeKpiRequest.h:82
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: GetCampaignDateRangeKpiRequest.h:409
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetKpiName
void SetKpiName(Aws::String &&value)
Definition: GetCampaignDateRangeKpiRequest.h:223
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithCampaignId
GetCampaignDateRangeKpiRequest & WithCampaignId(const Aws::String &value)
Definition: GetCampaignDateRangeKpiRequest.h:119
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithApplicationId
GetCampaignDateRangeKpiRequest & WithApplicationId(const Aws::String &value)
Definition: GetCampaignDateRangeKpiRequest.h:76
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::GetPageSize
const Aws::String & GetPageSize() const
Definition: GetCampaignDateRangeKpiRequest.h:332
AWS_PINPOINT_API
#define AWS_PINPOINT_API
Definition: Pinpoint_EXPORTS.h:28
DateTime.h
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetKpiName
void SetKpiName(const Aws::String &value)
Definition: GetCampaignDateRangeKpiRequest.h:212
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetCampaignDateRangeKpiRequest.h:296
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::GetCampaignDateRangeKpiRequest
GetCampaignDateRangeKpiRequest()
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithKpiName
GetCampaignDateRangeKpiRequest & WithKpiName(const char *value)
Definition: GetCampaignDateRangeKpiRequest.h:267
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithEndTime
GetCampaignDateRangeKpiRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: GetCampaignDateRangeKpiRequest.h:178
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::CampaignIdHasBeenSet
bool CampaignIdHasBeenSet() const
Definition: GetCampaignDateRangeKpiRequest.h:99
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetCampaignId
void SetCampaignId(Aws::String &&value)
Definition: GetCampaignDateRangeKpiRequest.h:109
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithCampaignId
GetCampaignDateRangeKpiRequest & WithCampaignId(const char *value)
Definition: GetCampaignDateRangeKpiRequest.h:129
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::GetCampaignId
const Aws::String & GetCampaignId() const
Definition: GetCampaignDateRangeKpiRequest.h:94
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: GetCampaignDateRangeKpiRequest.h:391
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: GetCampaignDateRangeKpiRequest.h:64
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetKpiName
void SetKpiName(const char *value)
Definition: GetCampaignDateRangeKpiRequest.h:234
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetCampaignDateRangeKpiRequest.h:275
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithCampaignId
GetCampaignDateRangeKpiRequest & WithCampaignId(Aws::String &&value)
Definition: GetCampaignDateRangeKpiRequest.h:124
Pinpoint_EXPORTS.h
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithPageSize
GetCampaignDateRangeKpiRequest & WithPageSize(Aws::String &&value)
Definition: GetCampaignDateRangeKpiRequest.h:374
AWSString.h
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: GetCampaignDateRangeKpiRequest.h:138
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: GetCampaignDateRangeKpiRequest.h:339
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetPageSize
void SetPageSize(Aws::String &&value)
Definition: GetCampaignDateRangeKpiRequest.h:353
Aws::Pinpoint::PinpointRequest
Definition: PinpointRequest.h:17
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithPageSize
GetCampaignDateRangeKpiRequest & WithPageSize(const char *value)
Definition: GetCampaignDateRangeKpiRequest.h:381
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetCampaignDateRangeKpiRequest.h:289
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: GetCampaignDateRangeKpiRequest.h:418
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: GetCampaignDateRangeKpiRequest.h:52
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: GetCampaignDateRangeKpiRequest.h:154
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithApplicationId
GetCampaignDateRangeKpiRequest & WithApplicationId(const char *value)
Definition: GetCampaignDateRangeKpiRequest.h:88
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithEndTime
GetCampaignDateRangeKpiRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: GetCampaignDateRangeKpiRequest.h:170
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetCampaignDateRangeKpiRequest.h:303
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithNextToken
GetCampaignDateRangeKpiRequest & WithNextToken(const Aws::String &value)
Definition: GetCampaignDateRangeKpiRequest.h:310
Aws
Definition: AccessManagementClient.h:15
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithNextToken
GetCampaignDateRangeKpiRequest & WithNextToken(const char *value)
Definition: GetCampaignDateRangeKpiRequest.h:324
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetCampaignDateRangeKpiRequest.h:282
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithPageSize
GetCampaignDateRangeKpiRequest & WithPageSize(const Aws::String &value)
Definition: GetCampaignDateRangeKpiRequest.h:367
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::KpiNameHasBeenSet
bool KpiNameHasBeenSet() const
Definition: GetCampaignDateRangeKpiRequest.h:201
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithStartTime
GetCampaignDateRangeKpiRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: GetCampaignDateRangeKpiRequest.h:436
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetPageSize
void SetPageSize(const Aws::String &value)
Definition: GetCampaignDateRangeKpiRequest.h:346
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetPageSize
void SetPageSize(const char *value)
Definition: GetCampaignDateRangeKpiRequest.h:360
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithKpiName
GetCampaignDateRangeKpiRequest & WithKpiName(const Aws::String &value)
Definition: GetCampaignDateRangeKpiRequest.h:245
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: GetCampaignDateRangeKpiRequest.h:400
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest
Definition: GetCampaignDateRangeKpiRequest.h:27
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithKpiName
GetCampaignDateRangeKpiRequest & WithKpiName(Aws::String &&value)
Definition: GetCampaignDateRangeKpiRequest.h:256
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithNextToken
GetCampaignDateRangeKpiRequest & WithNextToken(Aws::String &&value)
Definition: GetCampaignDateRangeKpiRequest.h:317
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetCampaignId
void SetCampaignId(const char *value)
Definition: GetCampaignDateRangeKpiRequest.h:114
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetCampaignDateRangeKpiRequest.h:35
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: GetCampaignDateRangeKpiRequest.h:58
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::SetCampaignId
void SetCampaignId(const Aws::String &value)
Definition: GetCampaignDateRangeKpiRequest.h:104
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: GetCampaignDateRangeKpiRequest.h:146
PinpointRequest.h
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::GetKpiName
const Aws::String & GetKpiName() const
Definition: GetCampaignDateRangeKpiRequest.h:190
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::WithStartTime
GetCampaignDateRangeKpiRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: GetCampaignDateRangeKpiRequest.h:427
Aws::Pinpoint::Model::GetCampaignDateRangeKpiRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: GetCampaignDateRangeKpiRequest.h:46