AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VoiceTemplateRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Pinpoint
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PINPOINT_API VoiceTemplateRequest();
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetBody() const{ return m_body; }
48 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
49 inline void SetBody(const Aws::String& value) { m_bodyHasBeenSet = true; m_body = value; }
50 inline void SetBody(Aws::String&& value) { m_bodyHasBeenSet = true; m_body = std::move(value); }
51 inline void SetBody(const char* value) { m_bodyHasBeenSet = true; m_body.assign(value); }
52 inline VoiceTemplateRequest& WithBody(const Aws::String& value) { SetBody(value); return *this;}
53 inline VoiceTemplateRequest& WithBody(Aws::String&& value) { SetBody(std::move(value)); return *this;}
54 inline VoiceTemplateRequest& WithBody(const char* value) { SetBody(value); return *this;}
56
58
66 inline const Aws::String& GetDefaultSubstitutions() const{ return m_defaultSubstitutions; }
67 inline bool DefaultSubstitutionsHasBeenSet() const { return m_defaultSubstitutionsHasBeenSet; }
68 inline void SetDefaultSubstitutions(const Aws::String& value) { m_defaultSubstitutionsHasBeenSet = true; m_defaultSubstitutions = value; }
69 inline void SetDefaultSubstitutions(Aws::String&& value) { m_defaultSubstitutionsHasBeenSet = true; m_defaultSubstitutions = std::move(value); }
70 inline void SetDefaultSubstitutions(const char* value) { m_defaultSubstitutionsHasBeenSet = true; m_defaultSubstitutions.assign(value); }
72 inline VoiceTemplateRequest& WithDefaultSubstitutions(Aws::String&& value) { SetDefaultSubstitutions(std::move(value)); return *this;}
73 inline VoiceTemplateRequest& WithDefaultSubstitutions(const char* value) { SetDefaultSubstitutions(value); return *this;}
75
77
84 inline const Aws::String& GetLanguageCode() const{ return m_languageCode; }
85 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
86 inline void SetLanguageCode(const Aws::String& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
87 inline void SetLanguageCode(Aws::String&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
88 inline void SetLanguageCode(const char* value) { m_languageCodeHasBeenSet = true; m_languageCode.assign(value); }
89 inline VoiceTemplateRequest& WithLanguageCode(const Aws::String& value) { SetLanguageCode(value); return *this;}
90 inline VoiceTemplateRequest& WithLanguageCode(Aws::String&& value) { SetLanguageCode(std::move(value)); return *this;}
91 inline VoiceTemplateRequest& WithLanguageCode(const char* value) { SetLanguageCode(value); return *this;}
93
95
108 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
109 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
110 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
111 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
112 inline VoiceTemplateRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
113 inline VoiceTemplateRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
114 inline VoiceTemplateRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
115 inline VoiceTemplateRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
116 inline VoiceTemplateRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
117 inline VoiceTemplateRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
118 inline VoiceTemplateRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
119 inline VoiceTemplateRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
120 inline VoiceTemplateRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
122
124
127 inline const Aws::String& GetTemplateDescription() const{ return m_templateDescription; }
128 inline bool TemplateDescriptionHasBeenSet() const { return m_templateDescriptionHasBeenSet; }
129 inline void SetTemplateDescription(const Aws::String& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = value; }
130 inline void SetTemplateDescription(Aws::String&& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = std::move(value); }
131 inline void SetTemplateDescription(const char* value) { m_templateDescriptionHasBeenSet = true; m_templateDescription.assign(value); }
133 inline VoiceTemplateRequest& WithTemplateDescription(Aws::String&& value) { SetTemplateDescription(std::move(value)); return *this;}
134 inline VoiceTemplateRequest& WithTemplateDescription(const char* value) { SetTemplateDescription(value); return *this;}
136
138
144 inline const Aws::String& GetVoiceId() const{ return m_voiceId; }
145 inline bool VoiceIdHasBeenSet() const { return m_voiceIdHasBeenSet; }
146 inline void SetVoiceId(const Aws::String& value) { m_voiceIdHasBeenSet = true; m_voiceId = value; }
147 inline void SetVoiceId(Aws::String&& value) { m_voiceIdHasBeenSet = true; m_voiceId = std::move(value); }
148 inline void SetVoiceId(const char* value) { m_voiceIdHasBeenSet = true; m_voiceId.assign(value); }
149 inline VoiceTemplateRequest& WithVoiceId(const Aws::String& value) { SetVoiceId(value); return *this;}
150 inline VoiceTemplateRequest& WithVoiceId(Aws::String&& value) { SetVoiceId(std::move(value)); return *this;}
151 inline VoiceTemplateRequest& WithVoiceId(const char* value) { SetVoiceId(value); return *this;}
153 private:
154
155 Aws::String m_body;
156 bool m_bodyHasBeenSet = false;
157
158 Aws::String m_defaultSubstitutions;
159 bool m_defaultSubstitutionsHasBeenSet = false;
160
161 Aws::String m_languageCode;
162 bool m_languageCodeHasBeenSet = false;
163
165 bool m_tagsHasBeenSet = false;
166
167 Aws::String m_templateDescription;
168 bool m_templateDescriptionHasBeenSet = false;
169
170 Aws::String m_voiceId;
171 bool m_voiceIdHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace Pinpoint
176} // namespace Aws
VoiceTemplateRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetLanguageCode(const Aws::String &value)
AWS_PINPOINT_API VoiceTemplateRequest(Aws::Utils::Json::JsonView jsonValue)
VoiceTemplateRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
VoiceTemplateRequest & WithBody(Aws::String &&value)
VoiceTemplateRequest & WithDefaultSubstitutions(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDefaultSubstitutions(const Aws::String &value)
VoiceTemplateRequest & AddTags(const char *key, const char *value)
VoiceTemplateRequest & AddTags(const char *key, Aws::String &&value)
VoiceTemplateRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
VoiceTemplateRequest & AddTags(Aws::String &&key, const char *value)
VoiceTemplateRequest & WithDefaultSubstitutions(const char *value)
VoiceTemplateRequest & WithBody(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
VoiceTemplateRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetTemplateDescription(const Aws::String &value)
VoiceTemplateRequest & WithVoiceId(const Aws::String &value)
VoiceTemplateRequest & WithTemplateDescription(Aws::String &&value)
VoiceTemplateRequest & WithTemplateDescription(const char *value)
VoiceTemplateRequest & WithLanguageCode(Aws::String &&value)
VoiceTemplateRequest & WithTemplateDescription(const Aws::String &value)
VoiceTemplateRequest & WithVoiceId(Aws::String &&value)
VoiceTemplateRequest & WithBody(const char *value)
VoiceTemplateRequest & AddTags(const Aws::String &key, const Aws::String &value)
VoiceTemplateRequest & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetDefaultSubstitutions() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
VoiceTemplateRequest & WithDefaultSubstitutions(Aws::String &&value)
AWS_PINPOINT_API VoiceTemplateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
VoiceTemplateRequest & WithLanguageCode(const char *value)
VoiceTemplateRequest & WithVoiceId(const char *value)
VoiceTemplateRequest & WithLanguageCode(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue