AWS SDK for C++  1.9.107
AWS SDK for C++
ListSpeechSynthesisTasksResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Polly
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
42 
47  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
48 
53  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
54 
59  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
60 
65  inline ListSpeechSynthesisTasksResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 
71  inline ListSpeechSynthesisTasksResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
72 
77  inline ListSpeechSynthesisTasksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
78 
79 
85  inline const Aws::Vector<SynthesisTask>& GetSynthesisTasks() const{ return m_synthesisTasks; }
86 
92  inline void SetSynthesisTasks(const Aws::Vector<SynthesisTask>& value) { m_synthesisTasks = value; }
93 
99  inline void SetSynthesisTasks(Aws::Vector<SynthesisTask>&& value) { m_synthesisTasks = std::move(value); }
100 
106  inline ListSpeechSynthesisTasksResult& WithSynthesisTasks(const Aws::Vector<SynthesisTask>& value) { SetSynthesisTasks(value); return *this;}
107 
113  inline ListSpeechSynthesisTasksResult& WithSynthesisTasks(Aws::Vector<SynthesisTask>&& value) { SetSynthesisTasks(std::move(value)); return *this;}
114 
120  inline ListSpeechSynthesisTasksResult& AddSynthesisTasks(const SynthesisTask& value) { m_synthesisTasks.push_back(value); return *this; }
121 
127  inline ListSpeechSynthesisTasksResult& AddSynthesisTasks(SynthesisTask&& value) { m_synthesisTasks.push_back(std::move(value)); return *this; }
128 
129  private:
130 
131  Aws::String m_nextToken;
132 
133  Aws::Vector<SynthesisTask> m_synthesisTasks;
134  };
135 
136 } // namespace Model
137 } // namespace Polly
138 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Polly::Model::ListSpeechSynthesisTasksResult::AddSynthesisTasks
ListSpeechSynthesisTasksResult & AddSynthesisTasks(const SynthesisTask &value)
Definition: ListSpeechSynthesisTasksResult.h:120
Aws::Polly::Model::ListSpeechSynthesisTasksResult
Definition: ListSpeechSynthesisTasksResult.h:30
Aws::Polly::Model::ListSpeechSynthesisTasksResult::WithNextToken
ListSpeechSynthesisTasksResult & WithNextToken(const char *value)
Definition: ListSpeechSynthesisTasksResult.h:77
Aws::Polly::Model::ListSpeechSynthesisTasksResult::WithSynthesisTasks
ListSpeechSynthesisTasksResult & WithSynthesisTasks(const Aws::Vector< SynthesisTask > &value)
Definition: ListSpeechSynthesisTasksResult.h:106
Polly_EXPORTS.h
Aws::Polly::Model::ListSpeechSynthesisTasksResult::GetSynthesisTasks
const Aws::Vector< SynthesisTask > & GetSynthesisTasks() const
Definition: ListSpeechSynthesisTasksResult.h:85
AWS_POLLY_API
#define AWS_POLLY_API
Definition: Polly_EXPORTS.h:28
Aws::Polly::Model::ListSpeechSynthesisTasksResult::operator=
ListSpeechSynthesisTasksResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Polly::Model::ListSpeechSynthesisTasksResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSpeechSynthesisTasksResult.h:47
AWSVector.h
Aws::Polly::Model::ListSpeechSynthesisTasksResult::WithNextToken
ListSpeechSynthesisTasksResult & WithNextToken(const Aws::String &value)
Definition: ListSpeechSynthesisTasksResult.h:65
Aws::Polly::Model::ListSpeechSynthesisTasksResult::WithSynthesisTasks
ListSpeechSynthesisTasksResult & WithSynthesisTasks(Aws::Vector< SynthesisTask > &&value)
Definition: ListSpeechSynthesisTasksResult.h:113
Aws::Polly::Model::ListSpeechSynthesisTasksResult::AddSynthesisTasks
ListSpeechSynthesisTasksResult & AddSynthesisTasks(SynthesisTask &&value)
Definition: ListSpeechSynthesisTasksResult.h:127
AWSString.h
Aws::Polly::Model::ListSpeechSynthesisTasksResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListSpeechSynthesisTasksResult.h:59
Aws::Polly::Model::ListSpeechSynthesisTasksResult::SetSynthesisTasks
void SetSynthesisTasks(const Aws::Vector< SynthesisTask > &value)
Definition: ListSpeechSynthesisTasksResult.h:92
Aws::Polly::Model::ListSpeechSynthesisTasksResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSpeechSynthesisTasksResult.h:53
Aws
Definition: AccessManagementClient.h:15
SynthesisTask.h
Aws::Polly::Model::ListSpeechSynthesisTasksResult::SetSynthesisTasks
void SetSynthesisTasks(Aws::Vector< SynthesisTask > &&value)
Definition: ListSpeechSynthesisTasksResult.h:99
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Polly::Model::ListSpeechSynthesisTasksResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSpeechSynthesisTasksResult.h:41
Aws::Polly::Model::ListSpeechSynthesisTasksResult::ListSpeechSynthesisTasksResult
ListSpeechSynthesisTasksResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Polly::Model::ListSpeechSynthesisTasksResult::WithNextToken
ListSpeechSynthesisTasksResult & WithNextToken(Aws::String &&value)
Definition: ListSpeechSynthesisTasksResult.h:71
Aws::Polly::Model::SynthesisTask
Definition: SynthesisTask.h:42
Aws::Polly::Model::ListSpeechSynthesisTasksResult::ListSpeechSynthesisTasksResult
ListSpeechSynthesisTasksResult()