AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCampaignActivitiesRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Pinpoint
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_PINPOINT_API GetCampaignActivitiesRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetCampaignActivities"; }
35
36 AWS_PINPOINT_API Aws::String SerializePayload() const override;
37
38 AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
46 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
47 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
48 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
49 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
50 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
51 inline GetCampaignActivitiesRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
52 inline GetCampaignActivitiesRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
53 inline GetCampaignActivitiesRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
55
57
60 inline const Aws::String& GetCampaignId() const{ return m_campaignId; }
61 inline bool CampaignIdHasBeenSet() const { return m_campaignIdHasBeenSet; }
62 inline void SetCampaignId(const Aws::String& value) { m_campaignIdHasBeenSet = true; m_campaignId = value; }
63 inline void SetCampaignId(Aws::String&& value) { m_campaignIdHasBeenSet = true; m_campaignId = std::move(value); }
64 inline void SetCampaignId(const char* value) { m_campaignIdHasBeenSet = true; m_campaignId.assign(value); }
65 inline GetCampaignActivitiesRequest& WithCampaignId(const Aws::String& value) { SetCampaignId(value); return *this;}
66 inline GetCampaignActivitiesRequest& WithCampaignId(Aws::String&& value) { SetCampaignId(std::move(value)); return *this;}
67 inline GetCampaignActivitiesRequest& WithCampaignId(const char* value) { SetCampaignId(value); return *this;}
69
71
76 inline const Aws::String& GetPageSize() const{ return m_pageSize; }
77 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
78 inline void SetPageSize(const Aws::String& value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
79 inline void SetPageSize(Aws::String&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::move(value); }
80 inline void SetPageSize(const char* value) { m_pageSizeHasBeenSet = true; m_pageSize.assign(value); }
81 inline GetCampaignActivitiesRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;}
82 inline GetCampaignActivitiesRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;}
83 inline GetCampaignActivitiesRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;}
85
87
91 inline const Aws::String& GetToken() const{ return m_token; }
92 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
93 inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; }
94 inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); }
95 inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); }
96 inline GetCampaignActivitiesRequest& WithToken(const Aws::String& value) { SetToken(value); return *this;}
97 inline GetCampaignActivitiesRequest& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
98 inline GetCampaignActivitiesRequest& WithToken(const char* value) { SetToken(value); return *this;}
100 private:
101
102 Aws::String m_applicationId;
103 bool m_applicationIdHasBeenSet = false;
104
105 Aws::String m_campaignId;
106 bool m_campaignIdHasBeenSet = false;
107
108 Aws::String m_pageSize;
109 bool m_pageSizeHasBeenSet = false;
110
111 Aws::String m_token;
112 bool m_tokenHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Pinpoint
117} // namespace Aws
GetCampaignActivitiesRequest & WithCampaignId(const char *value)
GetCampaignActivitiesRequest & WithToken(const Aws::String &value)
GetCampaignActivitiesRequest & WithToken(const char *value)
GetCampaignActivitiesRequest & WithPageSize(Aws::String &&value)
GetCampaignActivitiesRequest & WithCampaignId(const Aws::String &value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
GetCampaignActivitiesRequest & WithApplicationId(const Aws::String &value)
GetCampaignActivitiesRequest & WithCampaignId(Aws::String &&value)
GetCampaignActivitiesRequest & WithApplicationId(Aws::String &&value)
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetCampaignActivitiesRequest & WithToken(Aws::String &&value)
GetCampaignActivitiesRequest & WithApplicationId(const char *value)
GetCampaignActivitiesRequest & WithPageSize(const Aws::String &value)
GetCampaignActivitiesRequest & WithPageSize(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String