7#include <aws/endusermessaging/EndUserMessaging_EXPORTS.h>
8#include <aws/endusermessaging/model/NotifyParameters.h>
9#include <aws/endusermessaging/model/TextParameters.h>
10#include <aws/endusermessaging/model/VoiceParameters.h>
11#include <aws/endusermessaging/model/WhatsAppParameters.h>
22namespace EndUserMessaging {
48 template <
typename TextT = TextParameters>
50 m_textHasBeenSet =
true;
51 m_text = std::forward<TextT>(value);
53 template <
typename TextT = TextParameters>
55 SetText(std::forward<TextT>(value));
66 template <
typename VoiceT = VoiceParameters>
68 m_voiceHasBeenSet =
true;
69 m_voice = std::forward<VoiceT>(value);
71 template <
typename VoiceT = VoiceParameters>
73 SetVoice(std::forward<VoiceT>(value));
85 template <
typename NotifyT = NotifyParameters>
87 m_notifyHasBeenSet =
true;
88 m_notify = std::forward<NotifyT>(value);
90 template <
typename NotifyT = NotifyParameters>
103 template <
typename WhatsAppT = WhatsAppParameters>
105 m_whatsAppHasBeenSet =
true;
106 m_whatsApp = std::forward<WhatsAppT>(value);
108 template <
typename WhatsAppT = WhatsAppParameters>
122 bool m_textHasBeenSet =
false;
123 bool m_voiceHasBeenSet =
false;
124 bool m_notifyHasBeenSet =
false;
125 bool m_whatsAppHasBeenSet =
false;
bool NotifyHasBeenSet() const
ChannelParameters & WithVoice(VoiceT &&value)
ChannelParameters & WithText(TextT &&value)
bool TextHasBeenSet() const
ChannelParameters & WithNotify(NotifyT &&value)
AWS_ENDUSERMESSAGING_API ChannelParameters(Aws::Utils::Json::JsonView jsonValue)
const VoiceParameters & GetVoice() const
const WhatsAppParameters & GetWhatsApp() const
void SetWhatsApp(WhatsAppT &&value)
AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetText(TextT &&value)
void SetVoice(VoiceT &&value)
AWS_ENDUSERMESSAGING_API ChannelParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
const TextParameters & GetText() const
const NotifyParameters & GetNotify() const
bool VoiceHasBeenSet() const
ChannelParameters & WithWhatsApp(WhatsAppT &&value)
void SetNotify(NotifyT &&value)
AWS_ENDUSERMESSAGING_API ChannelParameters()=default
bool WhatsAppHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue