AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VoiceTemplateResponse.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 <aws/pinpoint/model/TemplateType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Pinpoint
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_PINPOINT_API VoiceTemplateResponse();
41 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline VoiceTemplateResponse& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline VoiceTemplateResponse& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline VoiceTemplateResponse& WithArn(const char* value) { SetArn(value); return *this;}
57
59
63 inline const Aws::String& GetBody() const{ return m_body; }
64 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
65 inline void SetBody(const Aws::String& value) { m_bodyHasBeenSet = true; m_body = value; }
66 inline void SetBody(Aws::String&& value) { m_bodyHasBeenSet = true; m_body = std::move(value); }
67 inline void SetBody(const char* value) { m_bodyHasBeenSet = true; m_body.assign(value); }
68 inline VoiceTemplateResponse& WithBody(const Aws::String& value) { SetBody(value); return *this;}
69 inline VoiceTemplateResponse& WithBody(Aws::String&& value) { SetBody(std::move(value)); return *this;}
70 inline VoiceTemplateResponse& WithBody(const char* value) { SetBody(value); return *this;}
72
74
77 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
78 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
79 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
80 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
81 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
82 inline VoiceTemplateResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
83 inline VoiceTemplateResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
84 inline VoiceTemplateResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
86
88
94 inline const Aws::String& GetDefaultSubstitutions() const{ return m_defaultSubstitutions; }
95 inline bool DefaultSubstitutionsHasBeenSet() const { return m_defaultSubstitutionsHasBeenSet; }
96 inline void SetDefaultSubstitutions(const Aws::String& value) { m_defaultSubstitutionsHasBeenSet = true; m_defaultSubstitutions = value; }
97 inline void SetDefaultSubstitutions(Aws::String&& value) { m_defaultSubstitutionsHasBeenSet = true; m_defaultSubstitutions = std::move(value); }
98 inline void SetDefaultSubstitutions(const char* value) { m_defaultSubstitutionsHasBeenSet = true; m_defaultSubstitutions.assign(value); }
100 inline VoiceTemplateResponse& WithDefaultSubstitutions(Aws::String&& value) { SetDefaultSubstitutions(std::move(value)); return *this;}
101 inline VoiceTemplateResponse& WithDefaultSubstitutions(const char* value) { SetDefaultSubstitutions(value); return *this;}
103
105
112 inline const Aws::String& GetLanguageCode() const{ return m_languageCode; }
113 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
114 inline void SetLanguageCode(const Aws::String& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
115 inline void SetLanguageCode(Aws::String&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
116 inline void SetLanguageCode(const char* value) { m_languageCodeHasBeenSet = true; m_languageCode.assign(value); }
117 inline VoiceTemplateResponse& WithLanguageCode(const Aws::String& value) { SetLanguageCode(value); return *this;}
118 inline VoiceTemplateResponse& WithLanguageCode(Aws::String&& value) { SetLanguageCode(std::move(value)); return *this;}
119 inline VoiceTemplateResponse& WithLanguageCode(const char* value) { SetLanguageCode(value); return *this;}
121
123
127 inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; }
128 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
129 inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
130 inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
131 inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); }
132 inline VoiceTemplateResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;}
133 inline VoiceTemplateResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;}
134 inline VoiceTemplateResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;}
136
138
143 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
144 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
145 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
146 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
147 inline VoiceTemplateResponse& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
148 inline VoiceTemplateResponse& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
149 inline VoiceTemplateResponse& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
150 inline VoiceTemplateResponse& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
151 inline VoiceTemplateResponse& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
152 inline VoiceTemplateResponse& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
153 inline VoiceTemplateResponse& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
154 inline VoiceTemplateResponse& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
155 inline VoiceTemplateResponse& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
157
159
162 inline const Aws::String& GetTemplateDescription() const{ return m_templateDescription; }
163 inline bool TemplateDescriptionHasBeenSet() const { return m_templateDescriptionHasBeenSet; }
164 inline void SetTemplateDescription(const Aws::String& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = value; }
165 inline void SetTemplateDescription(Aws::String&& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = std::move(value); }
166 inline void SetTemplateDescription(const char* value) { m_templateDescriptionHasBeenSet = true; m_templateDescription.assign(value); }
168 inline VoiceTemplateResponse& WithTemplateDescription(Aws::String&& value) { SetTemplateDescription(std::move(value)); return *this;}
169 inline VoiceTemplateResponse& WithTemplateDescription(const char* value) { SetTemplateDescription(value); return *this;}
171
173
176 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
177 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
178 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
179 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
180 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
181 inline VoiceTemplateResponse& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
182 inline VoiceTemplateResponse& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
183 inline VoiceTemplateResponse& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
185
187
191 inline const TemplateType& GetTemplateType() const{ return m_templateType; }
192 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
193 inline void SetTemplateType(const TemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; }
194 inline void SetTemplateType(TemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); }
195 inline VoiceTemplateResponse& WithTemplateType(const TemplateType& value) { SetTemplateType(value); return *this;}
196 inline VoiceTemplateResponse& WithTemplateType(TemplateType&& value) { SetTemplateType(std::move(value)); return *this;}
198
200
205 inline const Aws::String& GetVersion() const{ return m_version; }
206 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
207 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
208 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
209 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
210 inline VoiceTemplateResponse& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
211 inline VoiceTemplateResponse& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
212 inline VoiceTemplateResponse& WithVersion(const char* value) { SetVersion(value); return *this;}
214
216
222 inline const Aws::String& GetVoiceId() const{ return m_voiceId; }
223 inline bool VoiceIdHasBeenSet() const { return m_voiceIdHasBeenSet; }
224 inline void SetVoiceId(const Aws::String& value) { m_voiceIdHasBeenSet = true; m_voiceId = value; }
225 inline void SetVoiceId(Aws::String&& value) { m_voiceIdHasBeenSet = true; m_voiceId = std::move(value); }
226 inline void SetVoiceId(const char* value) { m_voiceIdHasBeenSet = true; m_voiceId.assign(value); }
227 inline VoiceTemplateResponse& WithVoiceId(const Aws::String& value) { SetVoiceId(value); return *this;}
228 inline VoiceTemplateResponse& WithVoiceId(Aws::String&& value) { SetVoiceId(std::move(value)); return *this;}
229 inline VoiceTemplateResponse& WithVoiceId(const char* value) { SetVoiceId(value); return *this;}
231 private:
232
233 Aws::String m_arn;
234 bool m_arnHasBeenSet = false;
235
236 Aws::String m_body;
237 bool m_bodyHasBeenSet = false;
238
239 Aws::String m_creationDate;
240 bool m_creationDateHasBeenSet = false;
241
242 Aws::String m_defaultSubstitutions;
243 bool m_defaultSubstitutionsHasBeenSet = false;
244
245 Aws::String m_languageCode;
246 bool m_languageCodeHasBeenSet = false;
247
248 Aws::String m_lastModifiedDate;
249 bool m_lastModifiedDateHasBeenSet = false;
250
252 bool m_tagsHasBeenSet = false;
253
254 Aws::String m_templateDescription;
255 bool m_templateDescriptionHasBeenSet = false;
256
257 Aws::String m_templateName;
258 bool m_templateNameHasBeenSet = false;
259
260 TemplateType m_templateType;
261 bool m_templateTypeHasBeenSet = false;
262
263 Aws::String m_version;
264 bool m_versionHasBeenSet = false;
265
266 Aws::String m_voiceId;
267 bool m_voiceIdHasBeenSet = false;
268 };
269
270} // namespace Model
271} // namespace Pinpoint
272} // namespace Aws
VoiceTemplateResponse & WithVersion(const char *value)
VoiceTemplateResponse & WithTemplateDescription(const char *value)
VoiceTemplateResponse & WithLastModifiedDate(const char *value)
VoiceTemplateResponse & WithTemplateName(const Aws::String &value)
VoiceTemplateResponse & AddTags(Aws::String &&key, const char *value)
VoiceTemplateResponse & AddTags(const char *key, const char *value)
VoiceTemplateResponse & WithBody(const char *value)
VoiceTemplateResponse & WithCreationDate(const char *value)
VoiceTemplateResponse & WithLanguageCode(const char *value)
VoiceTemplateResponse & WithArn(Aws::String &&value)
VoiceTemplateResponse & WithLanguageCode(const Aws::String &value)
VoiceTemplateResponse & WithTemplateName(Aws::String &&value)
VoiceTemplateResponse & WithArn(const Aws::String &value)
AWS_PINPOINT_API VoiceTemplateResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
VoiceTemplateResponse & WithDefaultSubstitutions(const Aws::String &value)
VoiceTemplateResponse & WithArn(const char *value)
VoiceTemplateResponse & WithVersion(Aws::String &&value)
VoiceTemplateResponse & WithLastModifiedDate(Aws::String &&value)
VoiceTemplateResponse & AddTags(Aws::String &&key, const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
VoiceTemplateResponse & AddTags(const char *key, Aws::String &&value)
VoiceTemplateResponse & WithVersion(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
VoiceTemplateResponse & WithDefaultSubstitutions(Aws::String &&value)
void SetDefaultSubstitutions(const Aws::String &value)
VoiceTemplateResponse & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
VoiceTemplateResponse & AddTags(const Aws::String &key, Aws::String &&value)
void SetTemplateType(const TemplateType &value)
VoiceTemplateResponse & WithTemplateType(TemplateType &&value)
VoiceTemplateResponse & WithTemplateName(const char *value)
VoiceTemplateResponse & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
VoiceTemplateResponse & WithLastModifiedDate(const Aws::String &value)
VoiceTemplateResponse & WithLanguageCode(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
VoiceTemplateResponse & AddTags(const Aws::String &key, const Aws::String &value)
void SetLastModifiedDate(const Aws::String &value)
VoiceTemplateResponse & WithDefaultSubstitutions(const char *value)
VoiceTemplateResponse & WithVoiceId(Aws::String &&value)
VoiceTemplateResponse & WithVoiceId(const char *value)
void SetTemplateDescription(const Aws::String &value)
VoiceTemplateResponse & WithBody(Aws::String &&value)
VoiceTemplateResponse & WithTemplateDescription(const Aws::String &value)
VoiceTemplateResponse & WithBody(const Aws::String &value)
VoiceTemplateResponse & WithTemplateDescription(Aws::String &&value)
VoiceTemplateResponse & WithCreationDate(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
VoiceTemplateResponse & WithTemplateType(const TemplateType &value)
AWS_PINPOINT_API VoiceTemplateResponse(Aws::Utils::Json::JsonView jsonValue)
VoiceTemplateResponse & WithCreationDate(const Aws::String &value)
VoiceTemplateResponse & AddTags(Aws::String &&key, Aws::String &&value)
VoiceTemplateResponse & WithVoiceId(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