AWS SDK for C++  1.9.107
AWS SDK for C++
StartSpeechSynthesisTaskResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Polly
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const SynthesisTask& GetSynthesisTask() const{ return m_synthesisTask; }
40 
45  inline void SetSynthesisTask(const SynthesisTask& value) { m_synthesisTask = value; }
46 
51  inline void SetSynthesisTask(SynthesisTask&& value) { m_synthesisTask = std::move(value); }
52 
57  inline StartSpeechSynthesisTaskResult& WithSynthesisTask(const SynthesisTask& value) { SetSynthesisTask(value); return *this;}
58 
63  inline StartSpeechSynthesisTaskResult& WithSynthesisTask(SynthesisTask&& value) { SetSynthesisTask(std::move(value)); return *this;}
64 
65  private:
66 
67  SynthesisTask m_synthesisTask;
68  };
69 
70 } // namespace Model
71 } // namespace Polly
72 } // namespace Aws
Aws::Polly::Model::StartSpeechSynthesisTaskResult::operator=
StartSpeechSynthesisTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Polly::Model::StartSpeechSynthesisTaskResult::WithSynthesisTask
StartSpeechSynthesisTaskResult & WithSynthesisTask(const SynthesisTask &value)
Definition: StartSpeechSynthesisTaskResult.h:57
Aws::Polly::Model::StartSpeechSynthesisTaskResult::StartSpeechSynthesisTaskResult
StartSpeechSynthesisTaskResult()
Polly_EXPORTS.h
AWS_POLLY_API
#define AWS_POLLY_API
Definition: Polly_EXPORTS.h:28
Aws::Polly::Model::StartSpeechSynthesisTaskResult::StartSpeechSynthesisTaskResult
StartSpeechSynthesisTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Polly::Model::StartSpeechSynthesisTaskResult
Definition: StartSpeechSynthesisTaskResult.h:28
Aws::Polly::Model::StartSpeechSynthesisTaskResult::GetSynthesisTask
const SynthesisTask & GetSynthesisTask() const
Definition: StartSpeechSynthesisTaskResult.h:39
Aws
Definition: AccessManagementClient.h:15
SynthesisTask.h
Aws::Polly::Model::StartSpeechSynthesisTaskResult::WithSynthesisTask
StartSpeechSynthesisTaskResult & WithSynthesisTask(SynthesisTask &&value)
Definition: StartSpeechSynthesisTaskResult.h:63
Aws::Polly::Model::StartSpeechSynthesisTaskResult::SetSynthesisTask
void SetSynthesisTask(const SynthesisTask &value)
Definition: StartSpeechSynthesisTaskResult.h:45
Aws::Polly::Model::SynthesisTask
Definition: SynthesisTask.h:42
Aws::Polly::Model::StartSpeechSynthesisTaskResult::SetSynthesisTask
void SetSynthesisTask(SynthesisTask &&value)
Definition: StartSpeechSynthesisTaskResult.h:51