AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GCMMessage.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/Action.h>
9#include <aws/core/utils/memory/stl/AWSString.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
38 {
39 public:
40 AWS_PINPOINT_API GCMMessage();
41 AWS_PINPOINT_API GCMMessage(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PINPOINT_API GCMMessage& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
56 inline const Action& GetAction() const{ return m_action; }
57 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
58 inline void SetAction(const Action& value) { m_actionHasBeenSet = true; m_action = value; }
59 inline void SetAction(Action&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
60 inline GCMMessage& WithAction(const Action& value) { SetAction(value); return *this;}
61 inline GCMMessage& WithAction(Action&& value) { SetAction(std::move(value)); return *this;}
63
65
68 inline const Aws::String& GetBody() const{ return m_body; }
69 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
70 inline void SetBody(const Aws::String& value) { m_bodyHasBeenSet = true; m_body = value; }
71 inline void SetBody(Aws::String&& value) { m_bodyHasBeenSet = true; m_body = std::move(value); }
72 inline void SetBody(const char* value) { m_bodyHasBeenSet = true; m_body.assign(value); }
73 inline GCMMessage& WithBody(const Aws::String& value) { SetBody(value); return *this;}
74 inline GCMMessage& WithBody(Aws::String&& value) { SetBody(std::move(value)); return *this;}
75 inline GCMMessage& WithBody(const char* value) { SetBody(value); return *this;}
77
79
87 inline const Aws::String& GetCollapseKey() const{ return m_collapseKey; }
88 inline bool CollapseKeyHasBeenSet() const { return m_collapseKeyHasBeenSet; }
89 inline void SetCollapseKey(const Aws::String& value) { m_collapseKeyHasBeenSet = true; m_collapseKey = value; }
90 inline void SetCollapseKey(Aws::String&& value) { m_collapseKeyHasBeenSet = true; m_collapseKey = std::move(value); }
91 inline void SetCollapseKey(const char* value) { m_collapseKeyHasBeenSet = true; m_collapseKey.assign(value); }
92 inline GCMMessage& WithCollapseKey(const Aws::String& value) { SetCollapseKey(value); return *this;}
93 inline GCMMessage& WithCollapseKey(Aws::String&& value) { SetCollapseKey(std::move(value)); return *this;}
94 inline GCMMessage& WithCollapseKey(const char* value) { SetCollapseKey(value); return *this;}
96
98
103 inline const Aws::Map<Aws::String, Aws::String>& GetData() const{ return m_data; }
104 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
105 inline void SetData(const Aws::Map<Aws::String, Aws::String>& value) { m_dataHasBeenSet = true; m_data = value; }
106 inline void SetData(Aws::Map<Aws::String, Aws::String>&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
107 inline GCMMessage& WithData(const Aws::Map<Aws::String, Aws::String>& value) { SetData(value); return *this;}
108 inline GCMMessage& WithData(Aws::Map<Aws::String, Aws::String>&& value) { SetData(std::move(value)); return *this;}
109 inline GCMMessage& AddData(const Aws::String& key, const Aws::String& value) { m_dataHasBeenSet = true; m_data.emplace(key, value); return *this; }
110 inline GCMMessage& AddData(Aws::String&& key, const Aws::String& value) { m_dataHasBeenSet = true; m_data.emplace(std::move(key), value); return *this; }
111 inline GCMMessage& AddData(const Aws::String& key, Aws::String&& value) { m_dataHasBeenSet = true; m_data.emplace(key, std::move(value)); return *this; }
112 inline GCMMessage& AddData(Aws::String&& key, Aws::String&& value) { m_dataHasBeenSet = true; m_data.emplace(std::move(key), std::move(value)); return *this; }
113 inline GCMMessage& AddData(const char* key, Aws::String&& value) { m_dataHasBeenSet = true; m_data.emplace(key, std::move(value)); return *this; }
114 inline GCMMessage& AddData(Aws::String&& key, const char* value) { m_dataHasBeenSet = true; m_data.emplace(std::move(key), value); return *this; }
115 inline GCMMessage& AddData(const char* key, const char* value) { m_dataHasBeenSet = true; m_data.emplace(key, value); return *this; }
117
119
122 inline const Aws::String& GetIconReference() const{ return m_iconReference; }
123 inline bool IconReferenceHasBeenSet() const { return m_iconReferenceHasBeenSet; }
124 inline void SetIconReference(const Aws::String& value) { m_iconReferenceHasBeenSet = true; m_iconReference = value; }
125 inline void SetIconReference(Aws::String&& value) { m_iconReferenceHasBeenSet = true; m_iconReference = std::move(value); }
126 inline void SetIconReference(const char* value) { m_iconReferenceHasBeenSet = true; m_iconReference.assign(value); }
127 inline GCMMessage& WithIconReference(const Aws::String& value) { SetIconReference(value); return *this;}
128 inline GCMMessage& WithIconReference(Aws::String&& value) { SetIconReference(std::move(value)); return *this;}
129 inline GCMMessage& WithIconReference(const char* value) { SetIconReference(value); return *this;}
131
133
137 inline const Aws::String& GetImageIconUrl() const{ return m_imageIconUrl; }
138 inline bool ImageIconUrlHasBeenSet() const { return m_imageIconUrlHasBeenSet; }
139 inline void SetImageIconUrl(const Aws::String& value) { m_imageIconUrlHasBeenSet = true; m_imageIconUrl = value; }
140 inline void SetImageIconUrl(Aws::String&& value) { m_imageIconUrlHasBeenSet = true; m_imageIconUrl = std::move(value); }
141 inline void SetImageIconUrl(const char* value) { m_imageIconUrlHasBeenSet = true; m_imageIconUrl.assign(value); }
142 inline GCMMessage& WithImageIconUrl(const Aws::String& value) { SetImageIconUrl(value); return *this;}
143 inline GCMMessage& WithImageIconUrl(Aws::String&& value) { SetImageIconUrl(std::move(value)); return *this;}
144 inline GCMMessage& WithImageIconUrl(const char* value) { SetImageIconUrl(value); return *this;}
146
148
151 inline const Aws::String& GetImageUrl() const{ return m_imageUrl; }
152 inline bool ImageUrlHasBeenSet() const { return m_imageUrlHasBeenSet; }
153 inline void SetImageUrl(const Aws::String& value) { m_imageUrlHasBeenSet = true; m_imageUrl = value; }
154 inline void SetImageUrl(Aws::String&& value) { m_imageUrlHasBeenSet = true; m_imageUrl = std::move(value); }
155 inline void SetImageUrl(const char* value) { m_imageUrlHasBeenSet = true; m_imageUrl.assign(value); }
156 inline GCMMessage& WithImageUrl(const Aws::String& value) { SetImageUrl(value); return *this;}
157 inline GCMMessage& WithImageUrl(Aws::String&& value) { SetImageUrl(std::move(value)); return *this;}
158 inline GCMMessage& WithImageUrl(const char* value) { SetImageUrl(value); return *this;}
160
162
166 inline const Aws::String& GetPreferredAuthenticationMethod() const{ return m_preferredAuthenticationMethod; }
167 inline bool PreferredAuthenticationMethodHasBeenSet() const { return m_preferredAuthenticationMethodHasBeenSet; }
168 inline void SetPreferredAuthenticationMethod(const Aws::String& value) { m_preferredAuthenticationMethodHasBeenSet = true; m_preferredAuthenticationMethod = value; }
169 inline void SetPreferredAuthenticationMethod(Aws::String&& value) { m_preferredAuthenticationMethodHasBeenSet = true; m_preferredAuthenticationMethod = std::move(value); }
170 inline void SetPreferredAuthenticationMethod(const char* value) { m_preferredAuthenticationMethodHasBeenSet = true; m_preferredAuthenticationMethod.assign(value); }
173 inline GCMMessage& WithPreferredAuthenticationMethod(const char* value) { SetPreferredAuthenticationMethod(value); return *this;}
175
177
188 inline const Aws::String& GetPriority() const{ return m_priority; }
189 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
190 inline void SetPriority(const Aws::String& value) { m_priorityHasBeenSet = true; m_priority = value; }
191 inline void SetPriority(Aws::String&& value) { m_priorityHasBeenSet = true; m_priority = std::move(value); }
192 inline void SetPriority(const char* value) { m_priorityHasBeenSet = true; m_priority.assign(value); }
193 inline GCMMessage& WithPriority(const Aws::String& value) { SetPriority(value); return *this;}
194 inline GCMMessage& WithPriority(Aws::String&& value) { SetPriority(std::move(value)); return *this;}
195 inline GCMMessage& WithPriority(const char* value) { SetPriority(value); return *this;}
197
199
204 inline const Aws::String& GetRawContent() const{ return m_rawContent; }
205 inline bool RawContentHasBeenSet() const { return m_rawContentHasBeenSet; }
206 inline void SetRawContent(const Aws::String& value) { m_rawContentHasBeenSet = true; m_rawContent = value; }
207 inline void SetRawContent(Aws::String&& value) { m_rawContentHasBeenSet = true; m_rawContent = std::move(value); }
208 inline void SetRawContent(const char* value) { m_rawContentHasBeenSet = true; m_rawContent.assign(value); }
209 inline GCMMessage& WithRawContent(const Aws::String& value) { SetRawContent(value); return *this;}
210 inline GCMMessage& WithRawContent(Aws::String&& value) { SetRawContent(std::move(value)); return *this;}
211 inline GCMMessage& WithRawContent(const char* value) { SetRawContent(value); return *this;}
213
215
219 inline const Aws::String& GetRestrictedPackageName() const{ return m_restrictedPackageName; }
220 inline bool RestrictedPackageNameHasBeenSet() const { return m_restrictedPackageNameHasBeenSet; }
221 inline void SetRestrictedPackageName(const Aws::String& value) { m_restrictedPackageNameHasBeenSet = true; m_restrictedPackageName = value; }
222 inline void SetRestrictedPackageName(Aws::String&& value) { m_restrictedPackageNameHasBeenSet = true; m_restrictedPackageName = std::move(value); }
223 inline void SetRestrictedPackageName(const char* value) { m_restrictedPackageNameHasBeenSet = true; m_restrictedPackageName.assign(value); }
224 inline GCMMessage& WithRestrictedPackageName(const Aws::String& value) { SetRestrictedPackageName(value); return *this;}
225 inline GCMMessage& WithRestrictedPackageName(Aws::String&& value) { SetRestrictedPackageName(std::move(value)); return *this;}
226 inline GCMMessage& WithRestrictedPackageName(const char* value) { SetRestrictedPackageName(value); return *this;}
228
230
236 inline bool GetSilentPush() const{ return m_silentPush; }
237 inline bool SilentPushHasBeenSet() const { return m_silentPushHasBeenSet; }
238 inline void SetSilentPush(bool value) { m_silentPushHasBeenSet = true; m_silentPush = value; }
239 inline GCMMessage& WithSilentPush(bool value) { SetSilentPush(value); return *this;}
241
243
247 inline const Aws::String& GetSmallImageIconUrl() const{ return m_smallImageIconUrl; }
248 inline bool SmallImageIconUrlHasBeenSet() const { return m_smallImageIconUrlHasBeenSet; }
249 inline void SetSmallImageIconUrl(const Aws::String& value) { m_smallImageIconUrlHasBeenSet = true; m_smallImageIconUrl = value; }
250 inline void SetSmallImageIconUrl(Aws::String&& value) { m_smallImageIconUrlHasBeenSet = true; m_smallImageIconUrl = std::move(value); }
251 inline void SetSmallImageIconUrl(const char* value) { m_smallImageIconUrlHasBeenSet = true; m_smallImageIconUrl.assign(value); }
252 inline GCMMessage& WithSmallImageIconUrl(const Aws::String& value) { SetSmallImageIconUrl(value); return *this;}
253 inline GCMMessage& WithSmallImageIconUrl(Aws::String&& value) { SetSmallImageIconUrl(std::move(value)); return *this;}
254 inline GCMMessage& WithSmallImageIconUrl(const char* value) { SetSmallImageIconUrl(value); return *this;}
256
258
264 inline const Aws::String& GetSound() const{ return m_sound; }
265 inline bool SoundHasBeenSet() const { return m_soundHasBeenSet; }
266 inline void SetSound(const Aws::String& value) { m_soundHasBeenSet = true; m_sound = value; }
267 inline void SetSound(Aws::String&& value) { m_soundHasBeenSet = true; m_sound = std::move(value); }
268 inline void SetSound(const char* value) { m_soundHasBeenSet = true; m_sound.assign(value); }
269 inline GCMMessage& WithSound(const Aws::String& value) { SetSound(value); return *this;}
270 inline GCMMessage& WithSound(Aws::String&& value) { SetSound(std::move(value)); return *this;}
271 inline GCMMessage& WithSound(const char* value) { SetSound(value); return *this;}
273
275
279 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetSubstitutions() const{ return m_substitutions; }
280 inline bool SubstitutionsHasBeenSet() const { return m_substitutionsHasBeenSet; }
281 inline void SetSubstitutions(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_substitutionsHasBeenSet = true; m_substitutions = value; }
282 inline void SetSubstitutions(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_substitutionsHasBeenSet = true; m_substitutions = std::move(value); }
284 inline GCMMessage& WithSubstitutions(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { SetSubstitutions(std::move(value)); return *this;}
285 inline GCMMessage& AddSubstitutions(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_substitutionsHasBeenSet = true; m_substitutions.emplace(key, value); return *this; }
286 inline GCMMessage& AddSubstitutions(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_substitutionsHasBeenSet = true; m_substitutions.emplace(std::move(key), value); return *this; }
287 inline GCMMessage& AddSubstitutions(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_substitutionsHasBeenSet = true; m_substitutions.emplace(key, std::move(value)); return *this; }
288 inline GCMMessage& AddSubstitutions(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_substitutionsHasBeenSet = true; m_substitutions.emplace(std::move(key), std::move(value)); return *this; }
289 inline GCMMessage& AddSubstitutions(const char* key, Aws::Vector<Aws::String>&& value) { m_substitutionsHasBeenSet = true; m_substitutions.emplace(key, std::move(value)); return *this; }
290 inline GCMMessage& AddSubstitutions(const char* key, const Aws::Vector<Aws::String>& value) { m_substitutionsHasBeenSet = true; m_substitutions.emplace(key, value); return *this; }
292
294
302 inline int GetTimeToLive() const{ return m_timeToLive; }
303 inline bool TimeToLiveHasBeenSet() const { return m_timeToLiveHasBeenSet; }
304 inline void SetTimeToLive(int value) { m_timeToLiveHasBeenSet = true; m_timeToLive = value; }
305 inline GCMMessage& WithTimeToLive(int value) { SetTimeToLive(value); return *this;}
307
309
313 inline const Aws::String& GetTitle() const{ return m_title; }
314 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
315 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
316 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
317 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
318 inline GCMMessage& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
319 inline GCMMessage& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
320 inline GCMMessage& WithTitle(const char* value) { SetTitle(value); return *this;}
322
324
328 inline const Aws::String& GetUrl() const{ return m_url; }
329 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
330 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
331 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
332 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
333 inline GCMMessage& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
334 inline GCMMessage& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
335 inline GCMMessage& WithUrl(const char* value) { SetUrl(value); return *this;}
337 private:
338
339 Action m_action;
340 bool m_actionHasBeenSet = false;
341
342 Aws::String m_body;
343 bool m_bodyHasBeenSet = false;
344
345 Aws::String m_collapseKey;
346 bool m_collapseKeyHasBeenSet = false;
347
349 bool m_dataHasBeenSet = false;
350
351 Aws::String m_iconReference;
352 bool m_iconReferenceHasBeenSet = false;
353
354 Aws::String m_imageIconUrl;
355 bool m_imageIconUrlHasBeenSet = false;
356
357 Aws::String m_imageUrl;
358 bool m_imageUrlHasBeenSet = false;
359
360 Aws::String m_preferredAuthenticationMethod;
361 bool m_preferredAuthenticationMethodHasBeenSet = false;
362
363 Aws::String m_priority;
364 bool m_priorityHasBeenSet = false;
365
366 Aws::String m_rawContent;
367 bool m_rawContentHasBeenSet = false;
368
369 Aws::String m_restrictedPackageName;
370 bool m_restrictedPackageNameHasBeenSet = false;
371
372 bool m_silentPush;
373 bool m_silentPushHasBeenSet = false;
374
375 Aws::String m_smallImageIconUrl;
376 bool m_smallImageIconUrlHasBeenSet = false;
377
378 Aws::String m_sound;
379 bool m_soundHasBeenSet = false;
380
382 bool m_substitutionsHasBeenSet = false;
383
384 int m_timeToLive;
385 bool m_timeToLiveHasBeenSet = false;
386
387 Aws::String m_title;
388 bool m_titleHasBeenSet = false;
389
390 Aws::String m_url;
391 bool m_urlHasBeenSet = false;
392 };
393
394} // namespace Model
395} // namespace Pinpoint
396} // namespace Aws
void SetRawContent(const Aws::String &value)
Definition GCMMessage.h:206
const Aws::String & GetImageUrl() const
Definition GCMMessage.h:151
GCMMessage & WithPriority(const Aws::String &value)
Definition GCMMessage.h:193
GCMMessage & WithRawContent(const Aws::String &value)
Definition GCMMessage.h:209
GCMMessage & AddData(const char *key, Aws::String &&value)
Definition GCMMessage.h:113
void SetSmallImageIconUrl(const char *value)
Definition GCMMessage.h:251
const Aws::String & GetRawContent() const
Definition GCMMessage.h:204
void SetSound(Aws::String &&value)
Definition GCMMessage.h:267
GCMMessage & WithPreferredAuthenticationMethod(const Aws::String &value)
Definition GCMMessage.h:171
void SetBody(Aws::String &&value)
Definition GCMMessage.h:71
GCMMessage & WithImageUrl(Aws::String &&value)
Definition GCMMessage.h:157
void SetSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
Definition GCMMessage.h:282
void SetSound(const char *value)
Definition GCMMessage.h:268
GCMMessage & AddSubstitutions(const char *key, Aws::Vector< Aws::String > &&value)
Definition GCMMessage.h:289
GCMMessage & WithImageUrl(const char *value)
Definition GCMMessage.h:158
void SetRestrictedPackageName(Aws::String &&value)
Definition GCMMessage.h:222
GCMMessage & WithSound(const char *value)
Definition GCMMessage.h:271
GCMMessage & AddData(Aws::String &&key, const char *value)
Definition GCMMessage.h:114
void SetRestrictedPackageName(const Aws::String &value)
Definition GCMMessage.h:221
GCMMessage & WithUrl(const Aws::String &value)
Definition GCMMessage.h:333
GCMMessage & WithTimeToLive(int value)
Definition GCMMessage.h:305
const Aws::String & GetSmallImageIconUrl() const
Definition GCMMessage.h:247
GCMMessage & WithRawContent(Aws::String &&value)
Definition GCMMessage.h:210
GCMMessage & WithIconReference(const Aws::String &value)
Definition GCMMessage.h:127
void SetRawContent(const char *value)
Definition GCMMessage.h:208
GCMMessage & WithSmallImageIconUrl(const char *value)
Definition GCMMessage.h:254
void SetTitle(const Aws::String &value)
Definition GCMMessage.h:315
GCMMessage & WithImageIconUrl(const char *value)
Definition GCMMessage.h:144
GCMMessage & WithAction(Action &&value)
Definition GCMMessage.h:61
GCMMessage & WithSmallImageIconUrl(Aws::String &&value)
Definition GCMMessage.h:253
void SetImageIconUrl(const Aws::String &value)
Definition GCMMessage.h:139
GCMMessage & WithRawContent(const char *value)
Definition GCMMessage.h:211
GCMMessage & WithSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
Definition GCMMessage.h:283
void SetPriority(const Aws::String &value)
Definition GCMMessage.h:190
const Action & GetAction() const
Definition GCMMessage.h:56
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
Definition GCMMessage.h:279
GCMMessage & WithRestrictedPackageName(Aws::String &&value)
Definition GCMMessage.h:225
GCMMessage & AddData(const char *key, const char *value)
Definition GCMMessage.h:115
GCMMessage & WithImageIconUrl(const Aws::String &value)
Definition GCMMessage.h:142
void SetTitle(const char *value)
Definition GCMMessage.h:317
GCMMessage & AddData(Aws::String &&key, Aws::String &&value)
Definition GCMMessage.h:112
GCMMessage & WithUrl(Aws::String &&value)
Definition GCMMessage.h:334
void SetIconReference(const Aws::String &value)
Definition GCMMessage.h:124
void SetSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
Definition GCMMessage.h:281
void SetData(const Aws::Map< Aws::String, Aws::String > &value)
Definition GCMMessage.h:105
GCMMessage & AddData(const Aws::String &key, const Aws::String &value)
Definition GCMMessage.h:109
bool PreferredAuthenticationMethodHasBeenSet() const
Definition GCMMessage.h:167
void SetAction(const Action &value)
Definition GCMMessage.h:58
GCMMessage & WithBody(Aws::String &&value)
Definition GCMMessage.h:74
void SetRestrictedPackageName(const char *value)
Definition GCMMessage.h:223
GCMMessage & WithSound(const Aws::String &value)
Definition GCMMessage.h:269
const Aws::String & GetPriority() const
Definition GCMMessage.h:188
GCMMessage & WithRestrictedPackageName(const Aws::String &value)
Definition GCMMessage.h:224
void SetPreferredAuthenticationMethod(const char *value)
Definition GCMMessage.h:170
const Aws::String & GetImageIconUrl() const
Definition GCMMessage.h:137
const Aws::String & GetRestrictedPackageName() const
Definition GCMMessage.h:219
void SetBody(const char *value)
Definition GCMMessage.h:72
GCMMessage & AddData(const Aws::String &key, Aws::String &&value)
Definition GCMMessage.h:111
void SetPriority(Aws::String &&value)
Definition GCMMessage.h:191
void SetImageUrl(const char *value)
Definition GCMMessage.h:155
GCMMessage & WithSmallImageIconUrl(const Aws::String &value)
Definition GCMMessage.h:252
void SetPreferredAuthenticationMethod(const Aws::String &value)
Definition GCMMessage.h:168
GCMMessage & AddSubstitutions(Aws::String &&key, Aws::Vector< Aws::String > &&value)
Definition GCMMessage.h:288
GCMMessage & WithRestrictedPackageName(const char *value)
Definition GCMMessage.h:226
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCollapseKey(const Aws::String &value)
Definition GCMMessage.h:89
void SetPreferredAuthenticationMethod(Aws::String &&value)
Definition GCMMessage.h:169
void SetUrl(const Aws::String &value)
Definition GCMMessage.h:330
const Aws::String & GetUrl() const
Definition GCMMessage.h:328
void SetImageUrl(const Aws::String &value)
Definition GCMMessage.h:153
void SetIconReference(const char *value)
Definition GCMMessage.h:126
void SetData(Aws::Map< Aws::String, Aws::String > &&value)
Definition GCMMessage.h:106
void SetRawContent(Aws::String &&value)
Definition GCMMessage.h:207
GCMMessage & WithSound(Aws::String &&value)
Definition GCMMessage.h:270
AWS_PINPOINT_API GCMMessage(Aws::Utils::Json::JsonView jsonValue)
bool RestrictedPackageNameHasBeenSet() const
Definition GCMMessage.h:220
void SetSound(const Aws::String &value)
Definition GCMMessage.h:266
GCMMessage & WithIconReference(Aws::String &&value)
Definition GCMMessage.h:128
GCMMessage & WithTitle(Aws::String &&value)
Definition GCMMessage.h:319
GCMMessage & WithPreferredAuthenticationMethod(const char *value)
Definition GCMMessage.h:173
GCMMessage & WithData(const Aws::Map< Aws::String, Aws::String > &value)
Definition GCMMessage.h:107
void SetImageIconUrl(Aws::String &&value)
Definition GCMMessage.h:140
void SetTitle(Aws::String &&value)
Definition GCMMessage.h:316
GCMMessage & WithTitle(const Aws::String &value)
Definition GCMMessage.h:318
GCMMessage & WithIconReference(const char *value)
Definition GCMMessage.h:129
GCMMessage & WithCollapseKey(Aws::String &&value)
Definition GCMMessage.h:93
GCMMessage & AddSubstitutions(const Aws::String &key, const Aws::Vector< Aws::String > &value)
Definition GCMMessage.h:285
void SetIconReference(Aws::String &&value)
Definition GCMMessage.h:125
GCMMessage & WithPriority(const char *value)
Definition GCMMessage.h:195
GCMMessage & WithImageUrl(const Aws::String &value)
Definition GCMMessage.h:156
const Aws::String & GetIconReference() const
Definition GCMMessage.h:122
GCMMessage & AddData(Aws::String &&key, const Aws::String &value)
Definition GCMMessage.h:110
void SetCollapseKey(const char *value)
Definition GCMMessage.h:91
GCMMessage & WithAction(const Action &value)
Definition GCMMessage.h:60
GCMMessage & AddSubstitutions(const char *key, const Aws::Vector< Aws::String > &value)
Definition GCMMessage.h:290
void SetUrl(Aws::String &&value)
Definition GCMMessage.h:331
GCMMessage & WithPriority(Aws::String &&value)
Definition GCMMessage.h:194
const Aws::String & GetBody() const
Definition GCMMessage.h:68
GCMMessage & WithSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
Definition GCMMessage.h:284
GCMMessage & WithPreferredAuthenticationMethod(Aws::String &&value)
Definition GCMMessage.h:172
const Aws::Map< Aws::String, Aws::String > & GetData() const
Definition GCMMessage.h:103
const Aws::String & GetCollapseKey() const
Definition GCMMessage.h:87
void SetCollapseKey(Aws::String &&value)
Definition GCMMessage.h:90
void SetSmallImageIconUrl(Aws::String &&value)
Definition GCMMessage.h:250
GCMMessage & WithSilentPush(bool value)
Definition GCMMessage.h:239
GCMMessage & WithBody(const char *value)
Definition GCMMessage.h:75
GCMMessage & WithData(Aws::Map< Aws::String, Aws::String > &&value)
Definition GCMMessage.h:108
const Aws::String & GetTitle() const
Definition GCMMessage.h:313
void SetSmallImageIconUrl(const Aws::String &value)
Definition GCMMessage.h:249
const Aws::String & GetPreferredAuthenticationMethod() const
Definition GCMMessage.h:166
GCMMessage & WithCollapseKey(const char *value)
Definition GCMMessage.h:94
void SetAction(Action &&value)
Definition GCMMessage.h:59
void SetPriority(const char *value)
Definition GCMMessage.h:192
void SetImageIconUrl(const char *value)
Definition GCMMessage.h:141
void SetUrl(const char *value)
Definition GCMMessage.h:332
void SetBody(const Aws::String &value)
Definition GCMMessage.h:70
GCMMessage & AddSubstitutions(const Aws::String &key, Aws::Vector< Aws::String > &&value)
Definition GCMMessage.h:287
AWS_PINPOINT_API GCMMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
GCMMessage & AddSubstitutions(Aws::String &&key, const Aws::Vector< Aws::String > &value)
Definition GCMMessage.h:286
GCMMessage & WithImageIconUrl(Aws::String &&value)
Definition GCMMessage.h:143
GCMMessage & WithCollapseKey(const Aws::String &value)
Definition GCMMessage.h:92
GCMMessage & WithTitle(const char *value)
Definition GCMMessage.h:320
const Aws::String & GetSound() const
Definition GCMMessage.h:264
void SetImageUrl(Aws::String &&value)
Definition GCMMessage.h:154
GCMMessage & WithUrl(const char *value)
Definition GCMMessage.h:335
GCMMessage & WithBody(const Aws::String &value)
Definition GCMMessage.h:73
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