AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeVoicesRequest.h
1
6#pragma once
7#include <aws/polly/Polly_EXPORTS.h>
8#include <aws/polly/PollyRequest.h>
9#include <aws/polly/model/Engine.h>
10#include <aws/polly/model/LanguageCode.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace Polly
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_POLLY_API DescribeVoicesRequest();
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_POLLY_API Aws::String SerializePayload() const override;
39
40 AWS_POLLY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
49 inline const Engine& GetEngine() const{ return m_engine; }
50 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
51 inline void SetEngine(const Engine& value) { m_engineHasBeenSet = true; m_engine = value; }
52 inline void SetEngine(Engine&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
53 inline DescribeVoicesRequest& WithEngine(const Engine& value) { SetEngine(value); return *this;}
54 inline DescribeVoicesRequest& WithEngine(Engine&& value) { SetEngine(std::move(value)); return *this;}
56
58
63 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
64 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
65 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
66 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
67 inline DescribeVoicesRequest& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
68 inline DescribeVoicesRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
70
72
79 inline bool GetIncludeAdditionalLanguageCodes() const{ return m_includeAdditionalLanguageCodes; }
80 inline bool IncludeAdditionalLanguageCodesHasBeenSet() const { return m_includeAdditionalLanguageCodesHasBeenSet; }
81 inline void SetIncludeAdditionalLanguageCodes(bool value) { m_includeAdditionalLanguageCodesHasBeenSet = true; m_includeAdditionalLanguageCodes = value; }
84
86
91 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
93 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
94 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
95 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
96 inline DescribeVoicesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 inline DescribeVoicesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
98 inline DescribeVoicesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
100 private:
101
102 Engine m_engine;
103 bool m_engineHasBeenSet = false;
104
105 LanguageCode m_languageCode;
106 bool m_languageCodeHasBeenSet = false;
107
108 bool m_includeAdditionalLanguageCodes;
109 bool m_includeAdditionalLanguageCodesHasBeenSet = false;
110
111 Aws::String m_nextToken;
112 bool m_nextTokenHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Polly
117} // namespace Aws
DescribeVoicesRequest & WithEngine(const Engine &value)
DescribeVoicesRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
DescribeVoicesRequest & WithLanguageCode(LanguageCode &&value)
void SetLanguageCode(const LanguageCode &value)
DescribeVoicesRequest & WithLanguageCode(const LanguageCode &value)
DescribeVoicesRequest & WithIncludeAdditionalLanguageCodes(bool value)
AWS_POLLY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeVoicesRequest & WithNextToken(const Aws::String &value)
DescribeVoicesRequest & WithEngine(Engine &&value)
AWS_POLLY_API Aws::String SerializePayload() const override
void SetNextToken(const Aws::String &value)
DescribeVoicesRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String