AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
UpdateChannelParameters.h
1
6#pragma once
7#include <aws/endusermessaging/EndUserMessaging_EXPORTS.h>
8#include <aws/endusermessaging/model/UpdateNotifyParameters.h>
9#include <aws/endusermessaging/model/UpdateTextParameters.h>
10#include <aws/endusermessaging/model/UpdateVoiceParameters.h>
11#include <aws/endusermessaging/model/UpdateWhatsAppParameters.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EndUserMessaging {
23namespace Model {
24
37 public:
38 AWS_ENDUSERMESSAGING_API UpdateChannelParameters() = default;
39 AWS_ENDUSERMESSAGING_API UpdateChannelParameters(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ENDUSERMESSAGING_API UpdateChannelParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
48 inline const UpdateTextParameters& GetText() const { return m_text; }
49 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
50 template <typename TextT = UpdateTextParameters>
51 void SetText(TextT&& value) {
52 m_textHasBeenSet = true;
53 m_text = std::forward<TextT>(value);
54 }
55 template <typename TextT = UpdateTextParameters>
57 SetText(std::forward<TextT>(value));
58 return *this;
59 }
61
63
67 inline const UpdateVoiceParameters& GetVoice() const { return m_voice; }
68 inline bool VoiceHasBeenSet() const { return m_voiceHasBeenSet; }
69 template <typename VoiceT = UpdateVoiceParameters>
70 void SetVoice(VoiceT&& value) {
71 m_voiceHasBeenSet = true;
72 m_voice = std::forward<VoiceT>(value);
73 }
74 template <typename VoiceT = UpdateVoiceParameters>
76 SetVoice(std::forward<VoiceT>(value));
77 return *this;
78 }
80
82
86 inline const UpdateNotifyParameters& GetNotify() const { return m_notify; }
87 inline bool NotifyHasBeenSet() const { return m_notifyHasBeenSet; }
88 template <typename NotifyT = UpdateNotifyParameters>
89 void SetNotify(NotifyT&& value) {
90 m_notifyHasBeenSet = true;
91 m_notify = std::forward<NotifyT>(value);
92 }
93 template <typename NotifyT = UpdateNotifyParameters>
95 SetNotify(std::forward<NotifyT>(value));
96 return *this;
97 }
99
101
105 inline const UpdateWhatsAppParameters& GetWhatsApp() const { return m_whatsApp; }
106 inline bool WhatsAppHasBeenSet() const { return m_whatsAppHasBeenSet; }
107 template <typename WhatsAppT = UpdateWhatsAppParameters>
108 void SetWhatsApp(WhatsAppT&& value) {
109 m_whatsAppHasBeenSet = true;
110 m_whatsApp = std::forward<WhatsAppT>(value);
111 }
112 template <typename WhatsAppT = UpdateWhatsAppParameters>
114 SetWhatsApp(std::forward<WhatsAppT>(value));
115 return *this;
116 }
118 private:
120
121 UpdateVoiceParameters m_voice;
122
123 UpdateNotifyParameters m_notify;
124
125 UpdateWhatsAppParameters m_whatsApp;
126 bool m_textHasBeenSet = false;
127 bool m_voiceHasBeenSet = false;
128 bool m_notifyHasBeenSet = false;
129 bool m_whatsAppHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace EndUserMessaging
134} // namespace Aws
AWS_ENDUSERMESSAGING_API UpdateChannelParameters(Aws::Utils::Json::JsonView jsonValue)
UpdateChannelParameters & WithVoice(VoiceT &&value)
AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ENDUSERMESSAGING_API UpdateChannelParameters()=default
UpdateChannelParameters & WithNotify(NotifyT &&value)
UpdateChannelParameters & WithWhatsApp(WhatsAppT &&value)
AWS_ENDUSERMESSAGING_API UpdateChannelParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue