7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/Action.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
56 inline void SetAction(
Action value) { m_actionHasBeenSet =
true; m_action = value; }
67 template<
typename BodyT = Aws::String>
68 void SetBody(BodyT&& value) { m_bodyHasBeenSet =
true; m_body = std::forward<BodyT>(value); }
69 template<
typename BodyT = Aws::String>
86 template<
typename SoundT = Aws::String>
87 void SetSound(SoundT&& value) { m_soundHasBeenSet =
true; m_sound = std::forward<SoundT>(value); }
88 template<
typename SoundT = Aws::String>
100 template<
typename TitleT = Aws::String>
101 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
102 template<
typename TitleT = Aws::String>
114 template<
typename UrlT = Aws::String>
115 void SetUrl(UrlT&& value) { m_urlHasBeenSet =
true; m_url = std::forward<UrlT>(value); }
116 template<
typename UrlT = Aws::String>
122 bool m_actionHasBeenSet =
false;
125 bool m_bodyHasBeenSet =
false;
128 bool m_soundHasBeenSet =
false;
131 bool m_titleHasBeenSet =
false;
134 bool m_urlHasBeenSet =
false;
void SetUrl(UrlT &&value)
void SetBody(BodyT &&value)
const Aws::String & GetUrl() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
DefaultPushNotificationTemplate & WithTitle(TitleT &&value)
const Aws::String & GetBody() const
const Aws::String & GetTitle() const
bool UrlHasBeenSet() const
bool SoundHasBeenSet() const
const Aws::String & GetSound() const
void SetSound(SoundT &&value)
void SetAction(Action value)
AWS_PINPOINT_API DefaultPushNotificationTemplate()=default
bool ActionHasBeenSet() const
void SetTitle(TitleT &&value)
DefaultPushNotificationTemplate & WithAction(Action value)
DefaultPushNotificationTemplate & WithSound(SoundT &&value)
bool BodyHasBeenSet() const
DefaultPushNotificationTemplate & WithUrl(UrlT &&value)
AWS_PINPOINT_API DefaultPushNotificationTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API DefaultPushNotificationTemplate(Aws::Utils::Json::JsonView jsonValue)
DefaultPushNotificationTemplate & WithBody(BodyT &&value)
bool TitleHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue