AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
UpdateVoiceParameters.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/endusermessaging/EndUserMessaging_EXPORTS.h>
9#include <aws/endusermessaging/model/VoiceMessageBodyTextType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EndUserMessaging {
21namespace Model {
22
31 public:
32 AWS_ENDUSERMESSAGING_API UpdateVoiceParameters() = default;
33 AWS_ENDUSERMESSAGING_API UpdateVoiceParameters(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ENDUSERMESSAGING_API UpdateVoiceParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetInlineTemplateBody() const { return m_inlineTemplateBody; }
43 inline bool InlineTemplateBodyHasBeenSet() const { return m_inlineTemplateBodyHasBeenSet; }
44 template <typename InlineTemplateBodyT = Aws::String>
45 void SetInlineTemplateBody(InlineTemplateBodyT&& value) {
46 m_inlineTemplateBodyHasBeenSet = true;
47 m_inlineTemplateBody = std::forward<InlineTemplateBodyT>(value);
48 }
49 template <typename InlineTemplateBodyT = Aws::String>
50 UpdateVoiceParameters& WithInlineTemplateBody(InlineTemplateBodyT&& value) {
51 SetInlineTemplateBody(std::forward<InlineTemplateBodyT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetLanguageCode() const { return m_languageCode; }
62 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
63 template <typename LanguageCodeT = Aws::String>
64 void SetLanguageCode(LanguageCodeT&& value) {
65 m_languageCodeHasBeenSet = true;
66 m_languageCode = std::forward<LanguageCodeT>(value);
67 }
68 template <typename LanguageCodeT = Aws::String>
69 UpdateVoiceParameters& WithLanguageCode(LanguageCodeT&& value) {
70 SetLanguageCode(std::forward<LanguageCodeT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetVoiceId() const { return m_voiceId; }
81 inline bool VoiceIdHasBeenSet() const { return m_voiceIdHasBeenSet; }
82 template <typename VoiceIdT = Aws::String>
83 void SetVoiceId(VoiceIdT&& value) {
84 m_voiceIdHasBeenSet = true;
85 m_voiceId = std::forward<VoiceIdT>(value);
86 }
87 template <typename VoiceIdT = Aws::String>
89 SetVoiceId(std::forward<VoiceIdT>(value));
90 return *this;
91 }
93
95
99 inline VoiceMessageBodyTextType GetVoiceMessageBodyTextType() const { return m_voiceMessageBodyTextType; }
100 inline bool VoiceMessageBodyTextTypeHasBeenSet() const { return m_voiceMessageBodyTextTypeHasBeenSet; }
102 m_voiceMessageBodyTextTypeHasBeenSet = true;
103 m_voiceMessageBodyTextType = value;
104 }
107 return *this;
108 }
110 private:
111 Aws::String m_inlineTemplateBody;
112
113 Aws::String m_languageCode;
114
115 Aws::String m_voiceId;
116
118 bool m_inlineTemplateBodyHasBeenSet = false;
119 bool m_languageCodeHasBeenSet = false;
120 bool m_voiceIdHasBeenSet = false;
121 bool m_voiceMessageBodyTextTypeHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace EndUserMessaging
126} // namespace Aws
VoiceMessageBodyTextType GetVoiceMessageBodyTextType() const
UpdateVoiceParameters & WithVoiceId(VoiceIdT &&value)
UpdateVoiceParameters & WithInlineTemplateBody(InlineTemplateBodyT &&value)
AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateVoiceParameters & WithLanguageCode(LanguageCodeT &&value)
AWS_ENDUSERMESSAGING_API UpdateVoiceParameters()=default
AWS_ENDUSERMESSAGING_API UpdateVoiceParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVoiceMessageBodyTextType(VoiceMessageBodyTextType value)
UpdateVoiceParameters & WithVoiceMessageBodyTextType(VoiceMessageBodyTextType value)
AWS_ENDUSERMESSAGING_API UpdateVoiceParameters(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue