AWS SDK for C++  1.9.40
AWS SDK for C++
GetCampaignVersionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Pinpoint
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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 "GetCampaignVersions"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
45  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
46 
51  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
52 
57  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
58 
63  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
64 
69  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
70 
75  inline GetCampaignVersionsRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
76 
81  inline GetCampaignVersionsRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
82 
87  inline GetCampaignVersionsRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
88 
89 
93  inline const Aws::String& GetCampaignId() const{ return m_campaignId; }
94 
98  inline bool CampaignIdHasBeenSet() const { return m_campaignIdHasBeenSet; }
99 
103  inline void SetCampaignId(const Aws::String& value) { m_campaignIdHasBeenSet = true; m_campaignId = value; }
104 
108  inline void SetCampaignId(Aws::String&& value) { m_campaignIdHasBeenSet = true; m_campaignId = std::move(value); }
109 
113  inline void SetCampaignId(const char* value) { m_campaignIdHasBeenSet = true; m_campaignId.assign(value); }
114 
118  inline GetCampaignVersionsRequest& WithCampaignId(const Aws::String& value) { SetCampaignId(value); return *this;}
119 
123  inline GetCampaignVersionsRequest& WithCampaignId(Aws::String&& value) { SetCampaignId(std::move(value)); return *this;}
124 
128  inline GetCampaignVersionsRequest& WithCampaignId(const char* value) { SetCampaignId(value); return *this;}
129 
130 
136  inline const Aws::String& GetPageSize() const{ return m_pageSize; }
137 
143  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
144 
150  inline void SetPageSize(const Aws::String& value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
151 
157  inline void SetPageSize(Aws::String&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::move(value); }
158 
164  inline void SetPageSize(const char* value) { m_pageSizeHasBeenSet = true; m_pageSize.assign(value); }
165 
171  inline GetCampaignVersionsRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;}
172 
178  inline GetCampaignVersionsRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;}
179 
185  inline GetCampaignVersionsRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;}
186 
187 
192  inline const Aws::String& GetToken() const{ return m_token; }
193 
198  inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
199 
204  inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; }
205 
210  inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); }
211 
216  inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); }
217 
222  inline GetCampaignVersionsRequest& WithToken(const Aws::String& value) { SetToken(value); return *this;}
223 
228  inline GetCampaignVersionsRequest& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
229 
234  inline GetCampaignVersionsRequest& WithToken(const char* value) { SetToken(value); return *this;}
235 
236  private:
237 
238  Aws::String m_applicationId;
239  bool m_applicationIdHasBeenSet;
240 
241  Aws::String m_campaignId;
242  bool m_campaignIdHasBeenSet;
243 
244  Aws::String m_pageSize;
245  bool m_pageSizeHasBeenSet;
246 
247  Aws::String m_token;
248  bool m_tokenHasBeenSet;
249  };
250 
251 } // namespace Model
252 } // namespace Pinpoint
253 } // namespace Aws
Aws::Pinpoint::Model::GetCampaignVersionsRequest::SetCampaignId
void SetCampaignId(const Aws::String &value)
Definition: GetCampaignVersionsRequest.h:103
Aws::Pinpoint::Model::GetCampaignVersionsRequest::SetCampaignId
void SetCampaignId(Aws::String &&value)
Definition: GetCampaignVersionsRequest.h:108
Aws::Http::URI
Definition: URI.h:32
Aws::Pinpoint::Model::GetCampaignVersionsRequest::WithApplicationId
GetCampaignVersionsRequest & WithApplicationId(const Aws::String &value)
Definition: GetCampaignVersionsRequest.h:75
Aws::Pinpoint::Model::GetCampaignVersionsRequest::WithCampaignId
GetCampaignVersionsRequest & WithCampaignId(const char *value)
Definition: GetCampaignVersionsRequest.h:128
Aws::Pinpoint::Model::GetCampaignVersionsRequest::WithToken
GetCampaignVersionsRequest & WithToken(Aws::String &&value)
Definition: GetCampaignVersionsRequest.h:228
Aws::Pinpoint::Model::GetCampaignVersionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_PINPOINT_API
#define AWS_PINPOINT_API
Definition: Pinpoint_EXPORTS.h:28
Aws::Pinpoint::Model::GetCampaignVersionsRequest::SetPageSize
void SetPageSize(const Aws::String &value)
Definition: GetCampaignVersionsRequest.h:150
Aws::Pinpoint::Model::GetCampaignVersionsRequest::SetToken
void SetToken(Aws::String &&value)
Definition: GetCampaignVersionsRequest.h:210
Aws::Pinpoint::Model::GetCampaignVersionsRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: GetCampaignVersionsRequest.h:45
Aws::Pinpoint::Model::GetCampaignVersionsRequest::GetCampaignId
const Aws::String & GetCampaignId() const
Definition: GetCampaignVersionsRequest.h:93
Aws::Pinpoint::Model::GetCampaignVersionsRequest::WithCampaignId
GetCampaignVersionsRequest & WithCampaignId(const Aws::String &value)
Definition: GetCampaignVersionsRequest.h:118
Aws::Pinpoint::Model::GetCampaignVersionsRequest::TokenHasBeenSet
bool TokenHasBeenSet() const
Definition: GetCampaignVersionsRequest.h:198
Aws::Pinpoint::Model::GetCampaignVersionsRequest::SetToken
void SetToken(const char *value)
Definition: GetCampaignVersionsRequest.h:216
Aws::Pinpoint::Model::GetCampaignVersionsRequest::WithCampaignId
GetCampaignVersionsRequest & WithCampaignId(Aws::String &&value)
Definition: GetCampaignVersionsRequest.h:123
Aws::Pinpoint::Model::GetCampaignVersionsRequest::GetPageSize
const Aws::String & GetPageSize() const
Definition: GetCampaignVersionsRequest.h:136
Aws::Pinpoint::Model::GetCampaignVersionsRequest::GetCampaignVersionsRequest
GetCampaignVersionsRequest()
Aws::Pinpoint::Model::GetCampaignVersionsRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: GetCampaignVersionsRequest.h:57
Aws::Pinpoint::Model::GetCampaignVersionsRequest::WithPageSize
GetCampaignVersionsRequest & WithPageSize(Aws::String &&value)
Definition: GetCampaignVersionsRequest.h:178
Aws::Pinpoint::Model::GetCampaignVersionsRequest::WithApplicationId
GetCampaignVersionsRequest & WithApplicationId(const char *value)
Definition: GetCampaignVersionsRequest.h:87
Pinpoint_EXPORTS.h
Aws::Pinpoint::Model::GetCampaignVersionsRequest::WithPageSize
GetCampaignVersionsRequest & WithPageSize(const char *value)
Definition: GetCampaignVersionsRequest.h:185
Aws::Pinpoint::Model::GetCampaignVersionsRequest::CampaignIdHasBeenSet
bool CampaignIdHasBeenSet() const
Definition: GetCampaignVersionsRequest.h:98
Aws::Pinpoint::Model::GetCampaignVersionsRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: GetCampaignVersionsRequest.h:69
Aws::Pinpoint::Model::GetCampaignVersionsRequest::GetToken
const Aws::String & GetToken() const
Definition: GetCampaignVersionsRequest.h:192
Aws::Pinpoint::Model::GetCampaignVersionsRequest::SetCampaignId
void SetCampaignId(const char *value)
Definition: GetCampaignVersionsRequest.h:113
AWSString.h
Aws::Pinpoint::Model::GetCampaignVersionsRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: GetCampaignVersionsRequest.h:51
Aws::Pinpoint::Model::GetCampaignVersionsRequest::WithPageSize
GetCampaignVersionsRequest & WithPageSize(const Aws::String &value)
Definition: GetCampaignVersionsRequest.h:171
Aws::Pinpoint::PinpointRequest
Definition: PinpointRequest.h:17
Aws::Pinpoint::Model::GetCampaignVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Pinpoint::Model::GetCampaignVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetCampaignVersionsRequest.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::Pinpoint::Model::GetCampaignVersionsRequest::SetPageSize
void SetPageSize(const char *value)
Definition: GetCampaignVersionsRequest.h:164
Aws::Pinpoint::Model::GetCampaignVersionsRequest::SetPageSize
void SetPageSize(Aws::String &&value)
Definition: GetCampaignVersionsRequest.h:157
Aws::Pinpoint::Model::GetCampaignVersionsRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: GetCampaignVersionsRequest.h:143
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Pinpoint::Model::GetCampaignVersionsRequest::WithApplicationId
GetCampaignVersionsRequest & WithApplicationId(Aws::String &&value)
Definition: GetCampaignVersionsRequest.h:81
Aws::Pinpoint::Model::GetCampaignVersionsRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: GetCampaignVersionsRequest.h:63
Aws::Pinpoint::Model::GetCampaignVersionsRequest::WithToken
GetCampaignVersionsRequest & WithToken(const char *value)
Definition: GetCampaignVersionsRequest.h:234
PinpointRequest.h
Aws::Pinpoint::Model::GetCampaignVersionsRequest
Definition: GetCampaignVersionsRequest.h:26
Aws::Pinpoint::Model::GetCampaignVersionsRequest::SetToken
void SetToken(const Aws::String &value)
Definition: GetCampaignVersionsRequest.h:204
Aws::Pinpoint::Model::GetCampaignVersionsRequest::WithToken
GetCampaignVersionsRequest & WithToken(const Aws::String &value)
Definition: GetCampaignVersionsRequest.h:222