AWS SDK for C++  1.9.107
AWS SDK for C++
GetSpeechSynthesisTaskRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Polly
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetSpeechSynthesisTask"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetTaskId() const{ return m_taskId; }
39 
43  inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
44 
48  inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
49 
53  inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
54 
58  inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
59 
63  inline GetSpeechSynthesisTaskRequest& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
64 
68  inline GetSpeechSynthesisTaskRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
69 
73  inline GetSpeechSynthesisTaskRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;}
74 
75  private:
76 
77  Aws::String m_taskId;
78  bool m_taskIdHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace Polly
83 } // namespace Aws
Aws::Polly::Model::GetSpeechSynthesisTaskRequest::SerializePayload
Aws::String SerializePayload() const override
Polly_EXPORTS.h
AWS_POLLY_API
#define AWS_POLLY_API
Definition: Polly_EXPORTS.h:28
Aws::Polly::Model::GetSpeechSynthesisTaskRequest::SetTaskId
void SetTaskId(Aws::String &&value)
Definition: GetSpeechSynthesisTaskRequest.h:53
Aws::Polly::Model::GetSpeechSynthesisTaskRequest::WithTaskId
GetSpeechSynthesisTaskRequest & WithTaskId(Aws::String &&value)
Definition: GetSpeechSynthesisTaskRequest.h:68
Aws::Polly::Model::GetSpeechSynthesisTaskRequest::GetSpeechSynthesisTaskRequest
GetSpeechSynthesisTaskRequest()
Aws::Polly::Model::GetSpeechSynthesisTaskRequest::SetTaskId
void SetTaskId(const char *value)
Definition: GetSpeechSynthesisTaskRequest.h:58
Aws::Polly::PollyRequest
Definition: PollyRequest.h:17
Aws::Polly::Model::GetSpeechSynthesisTaskRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetSpeechSynthesisTaskRequest.h:30
Aws::Polly::Model::GetSpeechSynthesisTaskRequest
Definition: GetSpeechSynthesisTaskRequest.h:22
Aws::Polly::Model::GetSpeechSynthesisTaskRequest::WithTaskId
GetSpeechSynthesisTaskRequest & WithTaskId(const char *value)
Definition: GetSpeechSynthesisTaskRequest.h:73
AWSString.h
Aws::Polly::Model::GetSpeechSynthesisTaskRequest::SetTaskId
void SetTaskId(const Aws::String &value)
Definition: GetSpeechSynthesisTaskRequest.h:48
Aws::Polly::Model::GetSpeechSynthesisTaskRequest::TaskIdHasBeenSet
bool TaskIdHasBeenSet() const
Definition: GetSpeechSynthesisTaskRequest.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::Polly::Model::GetSpeechSynthesisTaskRequest::WithTaskId
GetSpeechSynthesisTaskRequest & WithTaskId(const Aws::String &value)
Definition: GetSpeechSynthesisTaskRequest.h:63
Aws::Polly::Model::GetSpeechSynthesisTaskRequest::GetTaskId
const Aws::String & GetTaskId() const
Definition: GetSpeechSynthesisTaskRequest.h:38
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
PollyRequest.h