AWS SDK for C++  1.9.107
AWS SDK for C++
DescribeVoicesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Http
17 {
18  class URI;
19 } //namespace Http
20 namespace Polly
21 {
22 namespace Model
23 {
24 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "DescribeVoices"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
42 
47  inline const Engine& GetEngine() const{ return m_engine; }
48 
53  inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
54 
59  inline void SetEngine(const Engine& value) { m_engineHasBeenSet = true; m_engine = value; }
60 
65  inline void SetEngine(Engine&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
66 
71  inline DescribeVoicesRequest& WithEngine(const Engine& value) { SetEngine(value); return *this;}
72 
77  inline DescribeVoicesRequest& WithEngine(Engine&& value) { SetEngine(std::move(value)); return *this;}
78 
79 
85  inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
86 
92  inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
93 
99  inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
100 
106  inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
107 
113  inline DescribeVoicesRequest& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
114 
120  inline DescribeVoicesRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
121 
122 
130  inline bool GetIncludeAdditionalLanguageCodes() const{ return m_includeAdditionalLanguageCodes; }
131 
139  inline bool IncludeAdditionalLanguageCodesHasBeenSet() const { return m_includeAdditionalLanguageCodesHasBeenSet; }
140 
148  inline void SetIncludeAdditionalLanguageCodes(bool value) { m_includeAdditionalLanguageCodesHasBeenSet = true; m_includeAdditionalLanguageCodes = value; }
149 
157  inline DescribeVoicesRequest& WithIncludeAdditionalLanguageCodes(bool value) { SetIncludeAdditionalLanguageCodes(value); return *this;}
158 
159 
165  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
166 
172  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
173 
179  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
180 
186  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
187 
193  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
194 
200  inline DescribeVoicesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
201 
207  inline DescribeVoicesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
208 
214  inline DescribeVoicesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
215 
216  private:
217 
218  Engine m_engine;
219  bool m_engineHasBeenSet;
220 
221  LanguageCode m_languageCode;
222  bool m_languageCodeHasBeenSet;
223 
224  bool m_includeAdditionalLanguageCodes;
225  bool m_includeAdditionalLanguageCodesHasBeenSet;
226 
227  Aws::String m_nextToken;
228  bool m_nextTokenHasBeenSet;
229  };
230 
231 } // namespace Model
232 } // namespace Polly
233 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Polly::Model::DescribeVoicesRequest::WithNextToken
DescribeVoicesRequest & WithNextToken(const char *value)
Definition: DescribeVoicesRequest.h:214
Aws::Polly::Model::DescribeVoicesRequest::GetLanguageCode
const LanguageCode & GetLanguageCode() const
Definition: DescribeVoicesRequest.h:85
Aws::Polly::Model::DescribeVoicesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeVoicesRequest.h:36
Aws::Polly::Model::DescribeVoicesRequest
Definition: DescribeVoicesRequest.h:28
Aws::Polly::Model::DescribeVoicesRequest::WithLanguageCode
DescribeVoicesRequest & WithLanguageCode(const LanguageCode &value)
Definition: DescribeVoicesRequest.h:113
Polly_EXPORTS.h
Aws::Polly::Model::DescribeVoicesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeVoicesRequest.h:186
Aws::Polly::Model::DescribeVoicesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeVoicesRequest.h:193
Aws::Polly::Model::DescribeVoicesRequest::SetLanguageCode
void SetLanguageCode(LanguageCode &&value)
Definition: DescribeVoicesRequest.h:106
AWS_POLLY_API
#define AWS_POLLY_API
Definition: Polly_EXPORTS.h:28
Engine.h
Aws::Polly::Model::DescribeVoicesRequest::WithNextToken
DescribeVoicesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeVoicesRequest.h:200
LanguageCode.h
Aws::Polly::Model::DescribeVoicesRequest::DescribeVoicesRequest
DescribeVoicesRequest()
Aws::Polly::Model::DescribeVoicesRequest::GetEngine
const Engine & GetEngine() const
Definition: DescribeVoicesRequest.h:47
Aws::Polly::Model::DescribeVoicesRequest::EngineHasBeenSet
bool EngineHasBeenSet() const
Definition: DescribeVoicesRequest.h:53
Aws::Polly::Model::DescribeVoicesRequest::LanguageCodeHasBeenSet
bool LanguageCodeHasBeenSet() const
Definition: DescribeVoicesRequest.h:92
Aws::Polly::PollyRequest
Definition: PollyRequest.h:17
Aws::Polly::Model::DescribeVoicesRequest::SetEngine
void SetEngine(const Engine &value)
Definition: DescribeVoicesRequest.h:59
Aws::Polly::Model::DescribeVoicesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeVoicesRequest.h:179
Aws::Polly::Model::DescribeVoicesRequest::SetLanguageCode
void SetLanguageCode(const LanguageCode &value)
Definition: DescribeVoicesRequest.h:99
Aws::Polly::Model::DescribeVoicesRequest::WithEngine
DescribeVoicesRequest & WithEngine(Engine &&value)
Definition: DescribeVoicesRequest.h:77
Aws::Polly::Model::DescribeVoicesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeVoicesRequest.h:165
Aws::Polly::Model::DescribeVoicesRequest::WithLanguageCode
DescribeVoicesRequest & WithLanguageCode(LanguageCode &&value)
Definition: DescribeVoicesRequest.h:120
Aws::Polly::Model::DescribeVoicesRequest::IncludeAdditionalLanguageCodesHasBeenSet
bool IncludeAdditionalLanguageCodesHasBeenSet() const
Definition: DescribeVoicesRequest.h:139
Aws::Polly::Model::DescribeVoicesRequest::SetIncludeAdditionalLanguageCodes
void SetIncludeAdditionalLanguageCodes(bool value)
Definition: DescribeVoicesRequest.h:148
Aws::Polly::Model::DescribeVoicesRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::Polly::Model::DescribeVoicesRequest::WithEngine
DescribeVoicesRequest & WithEngine(const Engine &value)
Definition: DescribeVoicesRequest.h:71
Aws::Polly::Model::DescribeVoicesRequest::SetEngine
void SetEngine(Engine &&value)
Definition: DescribeVoicesRequest.h:65
Aws::Polly::Model::DescribeVoicesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeVoicesRequest.h:172
Aws::Polly::Model::DescribeVoicesRequest::GetIncludeAdditionalLanguageCodes
bool GetIncludeAdditionalLanguageCodes() const
Definition: DescribeVoicesRequest.h:130
Aws
Definition: AccessManagementClient.h:15
Aws::Polly::Model::DescribeVoicesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Polly::Model::DescribeVoicesRequest::WithNextToken
DescribeVoicesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeVoicesRequest.h:207
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Polly::Model::DescribeVoicesRequest::WithIncludeAdditionalLanguageCodes
DescribeVoicesRequest & WithIncludeAdditionalLanguageCodes(bool value)
Definition: DescribeVoicesRequest.h:157
Aws::Polly::Model::LanguageCode
LanguageCode
Definition: LanguageCode.h:17
PollyRequest.h
Aws::Polly::Model::Engine
Engine
Definition: Engine.h:17