AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
NotifyParameters.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/endusermessaging/EndUserMessaging_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EndUserMessaging {
20namespace Model {
21
29 public:
30 AWS_ENDUSERMESSAGING_API NotifyParameters() = default;
31 AWS_ENDUSERMESSAGING_API NotifyParameters(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ENDUSERMESSAGING_API NotifyParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetNotifyTemplateId() const { return m_notifyTemplateId; }
41 inline bool NotifyTemplateIdHasBeenSet() const { return m_notifyTemplateIdHasBeenSet; }
42 template <typename NotifyTemplateIdT = Aws::String>
43 void SetNotifyTemplateId(NotifyTemplateIdT&& value) {
44 m_notifyTemplateIdHasBeenSet = true;
45 m_notifyTemplateId = std::forward<NotifyTemplateIdT>(value);
46 }
47 template <typename NotifyTemplateIdT = Aws::String>
48 NotifyParameters& WithNotifyTemplateId(NotifyTemplateIdT&& value) {
49 SetNotifyTemplateId(std::forward<NotifyTemplateIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetVoiceId() const { return m_voiceId; }
60 inline bool VoiceIdHasBeenSet() const { return m_voiceIdHasBeenSet; }
61 template <typename VoiceIdT = Aws::String>
62 void SetVoiceId(VoiceIdT&& value) {
63 m_voiceIdHasBeenSet = true;
64 m_voiceId = std::forward<VoiceIdT>(value);
65 }
66 template <typename VoiceIdT = Aws::String>
67 NotifyParameters& WithVoiceId(VoiceIdT&& value) {
68 SetVoiceId(std::forward<VoiceIdT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_notifyTemplateId;
74
75 Aws::String m_voiceId;
76 bool m_notifyTemplateIdHasBeenSet = false;
77 bool m_voiceIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace EndUserMessaging
82} // namespace Aws
AWS_ENDUSERMESSAGING_API NotifyParameters()=default
AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNotifyTemplateId(NotifyTemplateIdT &&value)
AWS_ENDUSERMESSAGING_API NotifyParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_ENDUSERMESSAGING_API NotifyParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
NotifyParameters & WithVoiceId(VoiceIdT &&value)
NotifyParameters & WithNotifyTemplateId(NotifyTemplateIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue