AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
UpdateNotifyParameters.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
30 public:
31 AWS_ENDUSERMESSAGING_API UpdateNotifyParameters() = default;
32 AWS_ENDUSERMESSAGING_API UpdateNotifyParameters(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ENDUSERMESSAGING_API UpdateNotifyParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetNotifyTemplateId() const { return m_notifyTemplateId; }
42 inline bool NotifyTemplateIdHasBeenSet() const { return m_notifyTemplateIdHasBeenSet; }
43 template <typename NotifyTemplateIdT = Aws::String>
44 void SetNotifyTemplateId(NotifyTemplateIdT&& value) {
45 m_notifyTemplateIdHasBeenSet = true;
46 m_notifyTemplateId = std::forward<NotifyTemplateIdT>(value);
47 }
48 template <typename NotifyTemplateIdT = Aws::String>
49 UpdateNotifyParameters& WithNotifyTemplateId(NotifyTemplateIdT&& value) {
50 SetNotifyTemplateId(std::forward<NotifyTemplateIdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetVoiceId() const { return m_voiceId; }
61 inline bool VoiceIdHasBeenSet() const { return m_voiceIdHasBeenSet; }
62 template <typename VoiceIdT = Aws::String>
63 void SetVoiceId(VoiceIdT&& value) {
64 m_voiceIdHasBeenSet = true;
65 m_voiceId = std::forward<VoiceIdT>(value);
66 }
67 template <typename VoiceIdT = Aws::String>
69 SetVoiceId(std::forward<VoiceIdT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_notifyTemplateId;
75
76 Aws::String m_voiceId;
77 bool m_notifyTemplateIdHasBeenSet = false;
78 bool m_voiceIdHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace EndUserMessaging
83} // namespace Aws
AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ENDUSERMESSAGING_API UpdateNotifyParameters()=default
AWS_ENDUSERMESSAGING_API UpdateNotifyParameters(Aws::Utils::Json::JsonView jsonValue)
UpdateNotifyParameters & WithNotifyTemplateId(NotifyTemplateIdT &&value)
UpdateNotifyParameters & WithVoiceId(VoiceIdT &&value)
AWS_ENDUSERMESSAGING_API UpdateNotifyParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue