AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
APNSMessage.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/Action.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Pinpoint
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_PINPOINT_API APNSMessage();
40 AWS_PINPOINT_API APNSMessage(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PINPOINT_API APNSMessage& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
66 inline const Aws::String& GetAPNSPushType() const{ return m_aPNSPushType; }
67 inline bool APNSPushTypeHasBeenSet() const { return m_aPNSPushTypeHasBeenSet; }
68 inline void SetAPNSPushType(const Aws::String& value) { m_aPNSPushTypeHasBeenSet = true; m_aPNSPushType = value; }
69 inline void SetAPNSPushType(Aws::String&& value) { m_aPNSPushTypeHasBeenSet = true; m_aPNSPushType = std::move(value); }
70 inline void SetAPNSPushType(const char* value) { m_aPNSPushTypeHasBeenSet = true; m_aPNSPushType.assign(value); }
71 inline APNSMessage& WithAPNSPushType(const Aws::String& value) { SetAPNSPushType(value); return *this;}
72 inline APNSMessage& WithAPNSPushType(Aws::String&& value) { SetAPNSPushType(std::move(value)); return *this;}
73 inline APNSMessage& WithAPNSPushType(const char* value) { SetAPNSPushType(value); return *this;}
75
77
86 inline const Action& GetAction() const{ return m_action; }
87 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
88 inline void SetAction(const Action& value) { m_actionHasBeenSet = true; m_action = value; }
89 inline void SetAction(Action&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
90 inline APNSMessage& WithAction(const Action& value) { SetAction(value); return *this;}
91 inline APNSMessage& WithAction(Action&& value) { SetAction(std::move(value)); return *this;}
93
95
101 inline int GetBadge() const{ return m_badge; }
102 inline bool BadgeHasBeenSet() const { return m_badgeHasBeenSet; }
103 inline void SetBadge(int value) { m_badgeHasBeenSet = true; m_badge = value; }
104 inline APNSMessage& WithBadge(int value) { SetBadge(value); return *this;}
106
108
111 inline const Aws::String& GetBody() const{ return m_body; }
112 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
113 inline void SetBody(const Aws::String& value) { m_bodyHasBeenSet = true; m_body = value; }
114 inline void SetBody(Aws::String&& value) { m_bodyHasBeenSet = true; m_body = std::move(value); }
115 inline void SetBody(const char* value) { m_bodyHasBeenSet = true; m_body.assign(value); }
116 inline APNSMessage& WithBody(const Aws::String& value) { SetBody(value); return *this;}
117 inline APNSMessage& WithBody(Aws::String&& value) { SetBody(std::move(value)); return *this;}
118 inline APNSMessage& WithBody(const char* value) { SetBody(value); return *this;}
120
122
127 inline const Aws::String& GetCategory() const{ return m_category; }
128 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
129 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
130 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
131 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
132 inline APNSMessage& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
133 inline APNSMessage& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
134 inline APNSMessage& WithCategory(const char* value) { SetCategory(value); return *this;}
136
138
145 inline const Aws::String& GetCollapseId() const{ return m_collapseId; }
146 inline bool CollapseIdHasBeenSet() const { return m_collapseIdHasBeenSet; }
147 inline void SetCollapseId(const Aws::String& value) { m_collapseIdHasBeenSet = true; m_collapseId = value; }
148 inline void SetCollapseId(Aws::String&& value) { m_collapseIdHasBeenSet = true; m_collapseId = std::move(value); }
149 inline void SetCollapseId(const char* value) { m_collapseIdHasBeenSet = true; m_collapseId.assign(value); }
150 inline APNSMessage& WithCollapseId(const Aws::String& value) { SetCollapseId(value); return *this;}
151 inline APNSMessage& WithCollapseId(Aws::String&& value) { SetCollapseId(std::move(value)); return *this;}
152 inline APNSMessage& WithCollapseId(const char* value) { SetCollapseId(value); return *this;}
154
156
160 inline const Aws::Map<Aws::String, Aws::String>& GetData() const{ return m_data; }
161 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
162 inline void SetData(const Aws::Map<Aws::String, Aws::String>& value) { m_dataHasBeenSet = true; m_data = value; }
163 inline void SetData(Aws::Map<Aws::String, Aws::String>&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
164 inline APNSMessage& WithData(const Aws::Map<Aws::String, Aws::String>& value) { SetData(value); return *this;}
165 inline APNSMessage& WithData(Aws::Map<Aws::String, Aws::String>&& value) { SetData(std::move(value)); return *this;}
166 inline APNSMessage& AddData(const Aws::String& key, const Aws::String& value) { m_dataHasBeenSet = true; m_data.emplace(key, value); return *this; }
167 inline APNSMessage& AddData(Aws::String&& key, const Aws::String& value) { m_dataHasBeenSet = true; m_data.emplace(std::move(key), value); return *this; }
168 inline APNSMessage& AddData(const Aws::String& key, Aws::String&& value) { m_dataHasBeenSet = true; m_data.emplace(key, std::move(value)); return *this; }
169 inline APNSMessage& AddData(Aws::String&& key, Aws::String&& value) { m_dataHasBeenSet = true; m_data.emplace(std::move(key), std::move(value)); return *this; }
170 inline APNSMessage& AddData(const char* key, Aws::String&& value) { m_dataHasBeenSet = true; m_data.emplace(key, std::move(value)); return *this; }
171 inline APNSMessage& AddData(Aws::String&& key, const char* value) { m_dataHasBeenSet = true; m_data.emplace(std::move(key), value); return *this; }
172 inline APNSMessage& AddData(const char* key, const char* value) { m_dataHasBeenSet = true; m_data.emplace(key, value); return *this; }
174
176
179 inline const Aws::String& GetMediaUrl() const{ return m_mediaUrl; }
180 inline bool MediaUrlHasBeenSet() const { return m_mediaUrlHasBeenSet; }
181 inline void SetMediaUrl(const Aws::String& value) { m_mediaUrlHasBeenSet = true; m_mediaUrl = value; }
182 inline void SetMediaUrl(Aws::String&& value) { m_mediaUrlHasBeenSet = true; m_mediaUrl = std::move(value); }
183 inline void SetMediaUrl(const char* value) { m_mediaUrlHasBeenSet = true; m_mediaUrl.assign(value); }
184 inline APNSMessage& WithMediaUrl(const Aws::String& value) { SetMediaUrl(value); return *this;}
185 inline APNSMessage& WithMediaUrl(Aws::String&& value) { SetMediaUrl(std::move(value)); return *this;}
186 inline APNSMessage& WithMediaUrl(const char* value) { SetMediaUrl(value); return *this;}
188
190
194 inline const Aws::String& GetPreferredAuthenticationMethod() const{ return m_preferredAuthenticationMethod; }
195 inline bool PreferredAuthenticationMethodHasBeenSet() const { return m_preferredAuthenticationMethodHasBeenSet; }
196 inline void SetPreferredAuthenticationMethod(const Aws::String& value) { m_preferredAuthenticationMethodHasBeenSet = true; m_preferredAuthenticationMethod = value; }
197 inline void SetPreferredAuthenticationMethod(Aws::String&& value) { m_preferredAuthenticationMethodHasBeenSet = true; m_preferredAuthenticationMethod = std::move(value); }
198 inline void SetPreferredAuthenticationMethod(const char* value) { m_preferredAuthenticationMethodHasBeenSet = true; m_preferredAuthenticationMethod.assign(value); }
201 inline APNSMessage& WithPreferredAuthenticationMethod(const char* value) { SetPreferredAuthenticationMethod(value); return *this;}
203
205
217 inline const Aws::String& GetPriority() const{ return m_priority; }
218 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
219 inline void SetPriority(const Aws::String& value) { m_priorityHasBeenSet = true; m_priority = value; }
220 inline void SetPriority(Aws::String&& value) { m_priorityHasBeenSet = true; m_priority = std::move(value); }
221 inline void SetPriority(const char* value) { m_priorityHasBeenSet = true; m_priority.assign(value); }
222 inline APNSMessage& WithPriority(const Aws::String& value) { SetPriority(value); return *this;}
223 inline APNSMessage& WithPriority(Aws::String&& value) { SetPriority(std::move(value)); return *this;}
224 inline APNSMessage& WithPriority(const char* value) { SetPriority(value); return *this;}
226
228
243 inline const Aws::String& GetRawContent() const{ return m_rawContent; }
244 inline bool RawContentHasBeenSet() const { return m_rawContentHasBeenSet; }
245 inline void SetRawContent(const Aws::String& value) { m_rawContentHasBeenSet = true; m_rawContent = value; }
246 inline void SetRawContent(Aws::String&& value) { m_rawContentHasBeenSet = true; m_rawContent = std::move(value); }
247 inline void SetRawContent(const char* value) { m_rawContentHasBeenSet = true; m_rawContent.assign(value); }
248 inline APNSMessage& WithRawContent(const Aws::String& value) { SetRawContent(value); return *this;}
249 inline APNSMessage& WithRawContent(Aws::String&& value) { SetRawContent(std::move(value)); return *this;}
250 inline APNSMessage& WithRawContent(const char* value) { SetRawContent(value); return *this;}
252
254
276 inline bool GetSilentPush() const{ return m_silentPush; }
277 inline bool SilentPushHasBeenSet() const { return m_silentPushHasBeenSet; }
278 inline void SetSilentPush(bool value) { m_silentPushHasBeenSet = true; m_silentPush = value; }
279 inline APNSMessage& WithSilentPush(bool value) { SetSilentPush(value); return *this;}
281
283
290 inline const Aws::String& GetSound() const{ return m_sound; }
291 inline bool SoundHasBeenSet() const { return m_soundHasBeenSet; }
292 inline void SetSound(const Aws::String& value) { m_soundHasBeenSet = true; m_sound = value; }
293 inline void SetSound(Aws::String&& value) { m_soundHasBeenSet = true; m_sound = std::move(value); }
294 inline void SetSound(const char* value) { m_soundHasBeenSet = true; m_sound.assign(value); }
295 inline APNSMessage& WithSound(const Aws::String& value) { SetSound(value); return *this;}
296 inline APNSMessage& WithSound(Aws::String&& value) { SetSound(std::move(value)); return *this;}
297 inline APNSMessage& WithSound(const char* value) { SetSound(value); return *this;}
299
301
305 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetSubstitutions() const{ return m_substitutions; }
306 inline bool SubstitutionsHasBeenSet() const { return m_substitutionsHasBeenSet; }
307 inline void SetSubstitutions(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_substitutionsHasBeenSet = true; m_substitutions = value; }
308 inline void SetSubstitutions(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_substitutionsHasBeenSet = true; m_substitutions = std::move(value); }
310 inline APNSMessage& WithSubstitutions(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { SetSubstitutions(std::move(value)); return *this;}
311 inline APNSMessage& AddSubstitutions(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_substitutionsHasBeenSet = true; m_substitutions.emplace(key, value); return *this; }
312 inline APNSMessage& AddSubstitutions(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_substitutionsHasBeenSet = true; m_substitutions.emplace(std::move(key), value); return *this; }
313 inline APNSMessage& AddSubstitutions(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_substitutionsHasBeenSet = true; m_substitutions.emplace(key, std::move(value)); return *this; }
314 inline APNSMessage& AddSubstitutions(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_substitutionsHasBeenSet = true; m_substitutions.emplace(std::move(key), std::move(value)); return *this; }
315 inline APNSMessage& AddSubstitutions(const char* key, Aws::Vector<Aws::String>&& value) { m_substitutionsHasBeenSet = true; m_substitutions.emplace(key, std::move(value)); return *this; }
316 inline APNSMessage& AddSubstitutions(const char* key, const Aws::Vector<Aws::String>& value) { m_substitutionsHasBeenSet = true; m_substitutions.emplace(key, value); return *this; }
318
320
325 inline const Aws::String& GetThreadId() const{ return m_threadId; }
326 inline bool ThreadIdHasBeenSet() const { return m_threadIdHasBeenSet; }
327 inline void SetThreadId(const Aws::String& value) { m_threadIdHasBeenSet = true; m_threadId = value; }
328 inline void SetThreadId(Aws::String&& value) { m_threadIdHasBeenSet = true; m_threadId = std::move(value); }
329 inline void SetThreadId(const char* value) { m_threadIdHasBeenSet = true; m_threadId.assign(value); }
330 inline APNSMessage& WithThreadId(const Aws::String& value) { SetThreadId(value); return *this;}
331 inline APNSMessage& WithThreadId(Aws::String&& value) { SetThreadId(std::move(value)); return *this;}
332 inline APNSMessage& WithThreadId(const char* value) { SetThreadId(value); return *this;}
334
336
344 inline int GetTimeToLive() const{ return m_timeToLive; }
345 inline bool TimeToLiveHasBeenSet() const { return m_timeToLiveHasBeenSet; }
346 inline void SetTimeToLive(int value) { m_timeToLiveHasBeenSet = true; m_timeToLive = value; }
347 inline APNSMessage& WithTimeToLive(int value) { SetTimeToLive(value); return *this;}
349
351
355 inline const Aws::String& GetTitle() const{ return m_title; }
356 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
357 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
358 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
359 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
360 inline APNSMessage& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
361 inline APNSMessage& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
362 inline APNSMessage& WithTitle(const char* value) { SetTitle(value); return *this;}
364
366
370 inline const Aws::String& GetUrl() const{ return m_url; }
371 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
372 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
373 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
374 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
375 inline APNSMessage& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
376 inline APNSMessage& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
377 inline APNSMessage& WithUrl(const char* value) { SetUrl(value); return *this;}
379 private:
380
381 Aws::String m_aPNSPushType;
382 bool m_aPNSPushTypeHasBeenSet = false;
383
384 Action m_action;
385 bool m_actionHasBeenSet = false;
386
387 int m_badge;
388 bool m_badgeHasBeenSet = false;
389
390 Aws::String m_body;
391 bool m_bodyHasBeenSet = false;
392
393 Aws::String m_category;
394 bool m_categoryHasBeenSet = false;
395
396 Aws::String m_collapseId;
397 bool m_collapseIdHasBeenSet = false;
398
400 bool m_dataHasBeenSet = false;
401
402 Aws::String m_mediaUrl;
403 bool m_mediaUrlHasBeenSet = false;
404
405 Aws::String m_preferredAuthenticationMethod;
406 bool m_preferredAuthenticationMethodHasBeenSet = false;
407
408 Aws::String m_priority;
409 bool m_priorityHasBeenSet = false;
410
411 Aws::String m_rawContent;
412 bool m_rawContentHasBeenSet = false;
413
414 bool m_silentPush;
415 bool m_silentPushHasBeenSet = false;
416
417 Aws::String m_sound;
418 bool m_soundHasBeenSet = false;
419
421 bool m_substitutionsHasBeenSet = false;
422
423 Aws::String m_threadId;
424 bool m_threadIdHasBeenSet = false;
425
426 int m_timeToLive;
427 bool m_timeToLiveHasBeenSet = false;
428
429 Aws::String m_title;
430 bool m_titleHasBeenSet = false;
431
432 Aws::String m_url;
433 bool m_urlHasBeenSet = false;
434 };
435
436} // namespace Model
437} // namespace Pinpoint
438} // namespace Aws
void SetRawContent(Aws::String &&value)
APNSMessage & WithBody(const char *value)
void SetPreferredAuthenticationMethod(const Aws::String &value)
APNSMessage & WithPriority(const Aws::String &value)
APNSMessage & WithAPNSPushType(const Aws::String &value)
Definition APNSMessage.h:71
void SetPreferredAuthenticationMethod(const char *value)
APNSMessage & WithUrl(Aws::String &&value)
void SetUrl(const Aws::String &value)
APNSMessage & WithThreadId(const Aws::String &value)
APNSMessage & WithPreferredAuthenticationMethod(Aws::String &&value)
void SetBody(const char *value)
APNSMessage & WithSound(Aws::String &&value)
AWS_PINPOINT_API APNSMessage(Aws::Utils::Json::JsonView jsonValue)
APNSMessage & WithAction(Action &&value)
Definition APNSMessage.h:91
void SetPreferredAuthenticationMethod(Aws::String &&value)
void SetAPNSPushType(const Aws::String &value)
Definition APNSMessage.h:68
void SetData(const Aws::Map< Aws::String, Aws::String > &value)
APNSMessage & WithData(const Aws::Map< Aws::String, Aws::String > &value)
APNSMessage & AddData(const char *key, const char *value)
void SetPriority(Aws::String &&value)
APNSMessage & AddSubstitutions(const char *key, Aws::Vector< Aws::String > &&value)
APNSMessage & WithRawContent(Aws::String &&value)
APNSMessage & AddData(const Aws::String &key, Aws::String &&value)
APNSMessage & WithBadge(int value)
APNSMessage & AddData(const Aws::String &key, const Aws::String &value)
void SetCollapseId(const Aws::String &value)
void SetSound(const char *value)
APNSMessage & WithCollapseId(const char *value)
APNSMessage & AddData(Aws::String &&key, const char *value)
APNSMessage & WithPreferredAuthenticationMethod(const char *value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
APNSMessage & WithCollapseId(Aws::String &&value)
void SetBody(Aws::String &&value)
const Aws::String & GetThreadId() const
void SetMediaUrl(Aws::String &&value)
APNSMessage & WithUrl(const char *value)
APNSMessage & WithTitle(Aws::String &&value)
void SetCollapseId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetData() const
APNSMessage & WithTitle(const char *value)
void SetSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetAPNSPushType(const char *value)
Definition APNSMessage.h:70
AWS_PINPOINT_API APNSMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
APNSMessage & AddSubstitutions(Aws::String &&key, const Aws::Vector< Aws::String > &value)
APNSMessage & AddSubstitutions(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetAPNSPushType(Aws::String &&value)
Definition APNSMessage.h:69
APNSMessage & WithAPNSPushType(Aws::String &&value)
Definition APNSMessage.h:72
APNSMessage & AddSubstitutions(const Aws::String &key, const Aws::Vector< Aws::String > &value)
APNSMessage & WithSound(const Aws::String &value)
APNSMessage & WithTimeToLive(int value)
void SetSound(Aws::String &&value)
APNSMessage & AddData(const char *key, Aws::String &&value)
APNSMessage & WithCategory(Aws::String &&value)
APNSMessage & WithSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetUrl(Aws::String &&value)
const Aws::String & GetPriority() const
void SetCategory(Aws::String &&value)
const Aws::String & GetAPNSPushType() const
Definition APNSMessage.h:66
APNSMessage & WithCategory(const Aws::String &value)
APNSMessage & WithAction(const Action &value)
Definition APNSMessage.h:90
APNSMessage & WithRawContent(const Aws::String &value)
void SetTitle(Aws::String &&value)
void SetRawContent(const Aws::String &value)
void SetThreadId(const Aws::String &value)
void SetSound(const Aws::String &value)
APNSMessage & WithUrl(const Aws::String &value)
APNSMessage & WithData(Aws::Map< Aws::String, Aws::String > &&value)
APNSMessage & WithSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
const Action & GetAction() const
Definition APNSMessage.h:86
APNSMessage & WithSound(const char *value)
APNSMessage & WithPriority(Aws::String &&value)
APNSMessage & WithMediaUrl(const Aws::String &value)
APNSMessage & WithThreadId(Aws::String &&value)
void SetPriority(const char *value)
APNSMessage & WithBody(Aws::String &&value)
void SetTitle(const char *value)
const Aws::String & GetPreferredAuthenticationMethod() const
APNSMessage & WithCategory(const char *value)
void SetThreadId(Aws::String &&value)
APNSMessage & WithRawContent(const char *value)
const Aws::String & GetBody() const
APNSMessage & AddSubstitutions(Aws::String &&key, Aws::Vector< Aws::String > &&value)
APNSMessage & AddSubstitutions(const char *key, const Aws::Vector< Aws::String > &value)
const Aws::String & GetCategory() const
void SetAction(Action &&value)
Definition APNSMessage.h:89
bool PreferredAuthenticationMethodHasBeenSet() const
void SetRawContent(const char *value)
APNSMessage & AddData(Aws::String &&key, Aws::String &&value)
APNSMessage & WithMediaUrl(Aws::String &&value)
const Aws::String & GetTitle() const
void SetCategory(const Aws::String &value)
void SetThreadId(const char *value)
void SetMediaUrl(const Aws::String &value)
APNSMessage & WithPriority(const char *value)
void SetCategory(const char *value)
APNSMessage & AddData(Aws::String &&key, const Aws::String &value)
const Aws::String & GetUrl() const
APNSMessage & WithCollapseId(const Aws::String &value)
const Aws::String & GetCollapseId() const
APNSMessage & WithPreferredAuthenticationMethod(const Aws::String &value)
void SetPriority(const Aws::String &value)
void SetTitle(const Aws::String &value)
const Aws::String & GetMediaUrl() const
void SetAction(const Action &value)
Definition APNSMessage.h:88
APNSMessage & WithBody(const Aws::String &value)
void SetBody(const Aws::String &value)
APNSMessage & WithMediaUrl(const char *value)
void SetSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
APNSMessage & WithAPNSPushType(const char *value)
Definition APNSMessage.h:73
APNSMessage & WithTitle(const Aws::String &value)
void SetCollapseId(Aws::String &&value)
void SetMediaUrl(const char *value)
void SetUrl(const char *value)
APNSMessage & WithSilentPush(bool value)
const Aws::String & GetSound() const
void SetData(Aws::Map< Aws::String, Aws::String > &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
APNSMessage & WithThreadId(const char *value)
const Aws::String & GetRawContent() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue