11/*
2- * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+ * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License").
55 * You may not use this file except in compliance with the License.
4949public class DescribeVoicesRequest extends AmazonWebServiceRequest implements Serializable {
5050 /**
5151 * <p>
52- * Specifies the engine (<code>standard</code> or <code>neural</code>) used
53- * by Amazon Polly when processing input text for speech synthesis.
52+ * Specifies the engine (<code>standard</code>, <code>neural</code>,
53+ * <code>long-form</code> or <code>generative</code>) used by Amazon Polly
54+ * when processing input text for speech synthesis.
5455 * </p>
5556 * <p>
5657 * <b>Constraints:</b><br/>
57- * <b>Allowed Values: </b>standard, neural
58+ * <b>Allowed Values: </b>standard, neural, long-form, generative
5859 */
5960 private String engine ;
6061
@@ -100,17 +101,18 @@ public class DescribeVoicesRequest extends AmazonWebServiceRequest implements Se
100101
101102 /**
102103 * <p>
103- * Specifies the engine (<code>standard</code> or <code>neural</code>) used
104- * by Amazon Polly when processing input text for speech synthesis.
104+ * Specifies the engine (<code>standard</code>, <code>neural</code>,
105+ * <code>long-form</code> or <code>generative</code>) used by Amazon Polly
106+ * when processing input text for speech synthesis.
105107 * </p>
106108 * <p>
107109 * <b>Constraints:</b><br/>
108- * <b>Allowed Values: </b>standard, neural
110+ * <b>Allowed Values: </b>standard, neural, long-form, generative
109111 *
110112 * @return <p>
111- * Specifies the engine (<code>standard</code> or
112- * <code>neural </code>) used by Amazon Polly when processing input
113- * text for speech synthesis.
113+ * Specifies the engine (<code>standard</code>, <code>neural</code>,
114+ * <code>long-form </code> or <code>generative</code> ) used by Amazon
115+ * Polly when processing input text for speech synthesis.
114116 * </p>
115117 * @see Engine
116118 */
@@ -120,16 +122,18 @@ public String getEngine() {
120122
121123 /**
122124 * <p>
123- * Specifies the engine (<code>standard</code> or <code>neural</code>) used
124- * by Amazon Polly when processing input text for speech synthesis.
125+ * Specifies the engine (<code>standard</code>, <code>neural</code>,
126+ * <code>long-form</code> or <code>generative</code>) used by Amazon Polly
127+ * when processing input text for speech synthesis.
125128 * </p>
126129 * <p>
127130 * <b>Constraints:</b><br/>
128- * <b>Allowed Values: </b>standard, neural
131+ * <b>Allowed Values: </b>standard, neural, long-form, generative
129132 *
130133 * @param engine <p>
131- * Specifies the engine (<code>standard</code> or
132- * <code>neural</code>) used by Amazon Polly when processing
134+ * Specifies the engine (<code>standard</code>,
135+ * <code>neural</code>, <code>long-form</code> or
136+ * <code>generative</code>) used by Amazon Polly when processing
133137 * input text for speech synthesis.
134138 * </p>
135139 * @see Engine
@@ -140,19 +144,21 @@ public void setEngine(String engine) {
140144
141145 /**
142146 * <p>
143- * Specifies the engine (<code>standard</code> or <code>neural</code>) used
144- * by Amazon Polly when processing input text for speech synthesis.
147+ * Specifies the engine (<code>standard</code>, <code>neural</code>,
148+ * <code>long-form</code> or <code>generative</code>) used by Amazon Polly
149+ * when processing input text for speech synthesis.
145150 * </p>
146151 * <p>
147152 * Returns a reference to this object so that method calls can be chained
148153 * together.
149154 * <p>
150155 * <b>Constraints:</b><br/>
151- * <b>Allowed Values: </b>standard, neural
156+ * <b>Allowed Values: </b>standard, neural, long-form, generative
152157 *
153158 * @param engine <p>
154- * Specifies the engine (<code>standard</code> or
155- * <code>neural</code>) used by Amazon Polly when processing
159+ * Specifies the engine (<code>standard</code>,
160+ * <code>neural</code>, <code>long-form</code> or
161+ * <code>generative</code>) used by Amazon Polly when processing
156162 * input text for speech synthesis.
157163 * </p>
158164 * @return A reference to this updated object so that method calls can be
@@ -166,16 +172,18 @@ public DescribeVoicesRequest withEngine(String engine) {
166172
167173 /**
168174 * <p>
169- * Specifies the engine (<code>standard</code> or <code>neural</code>) used
170- * by Amazon Polly when processing input text for speech synthesis.
175+ * Specifies the engine (<code>standard</code>, <code>neural</code>,
176+ * <code>long-form</code> or <code>generative</code>) used by Amazon Polly
177+ * when processing input text for speech synthesis.
171178 * </p>
172179 * <p>
173180 * <b>Constraints:</b><br/>
174- * <b>Allowed Values: </b>standard, neural
181+ * <b>Allowed Values: </b>standard, neural, long-form, generative
175182 *
176183 * @param engine <p>
177- * Specifies the engine (<code>standard</code> or
178- * <code>neural</code>) used by Amazon Polly when processing
184+ * Specifies the engine (<code>standard</code>,
185+ * <code>neural</code>, <code>long-form</code> or
186+ * <code>generative</code>) used by Amazon Polly when processing
179187 * input text for speech synthesis.
180188 * </p>
181189 * @see Engine
@@ -186,19 +194,21 @@ public void setEngine(Engine engine) {
186194
187195 /**
188196 * <p>
189- * Specifies the engine (<code>standard</code> or <code>neural</code>) used
190- * by Amazon Polly when processing input text for speech synthesis.
197+ * Specifies the engine (<code>standard</code>, <code>neural</code>,
198+ * <code>long-form</code> or <code>generative</code>) used by Amazon Polly
199+ * when processing input text for speech synthesis.
191200 * </p>
192201 * <p>
193202 * Returns a reference to this object so that method calls can be chained
194203 * together.
195204 * <p>
196205 * <b>Constraints:</b><br/>
197- * <b>Allowed Values: </b>standard, neural
206+ * <b>Allowed Values: </b>standard, neural, long-form, generative
198207 *
199208 * @param engine <p>
200- * Specifies the engine (<code>standard</code> or
201- * <code>neural</code>) used by Amazon Polly when processing
209+ * Specifies the engine (<code>standard</code>,
210+ * <code>neural</code>, <code>long-form</code> or
211+ * <code>generative</code>) used by Amazon Polly when processing
202212 * input text for speech synthesis.
203213 * </p>
204214 * @return A reference to this updated object so that method calls can be
0 commit comments