/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Polly { namespace Model { class ListSpeechSynthesisTasksResult { public: AWS_POLLY_API ListSpeechSynthesisTasksResult(); AWS_POLLY_API ListSpeechSynthesisTasksResult(const Aws::AmazonWebServiceResult& result); AWS_POLLY_API ListSpeechSynthesisTasksResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An opaque pagination token returned from the previous List operation in this * request. If present, this indicates where to continue the listing.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

An opaque pagination token returned from the previous List operation in this * request. If present, this indicates where to continue the listing.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

An opaque pagination token returned from the previous List operation in this * request. If present, this indicates where to continue the listing.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

An opaque pagination token returned from the previous List operation in this * request. If present, this indicates where to continue the listing.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

An opaque pagination token returned from the previous List operation in this * request. If present, this indicates where to continue the listing.

*/ inline ListSpeechSynthesisTasksResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

An opaque pagination token returned from the previous List operation in this * request. If present, this indicates where to continue the listing.

*/ inline ListSpeechSynthesisTasksResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

An opaque pagination token returned from the previous List operation in this * request. If present, this indicates where to continue the listing.

*/ inline ListSpeechSynthesisTasksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

List of SynthesisTask objects that provides information from the specified * task in the list request, including output format, creation time, task status, * and so on.

*/ inline const Aws::Vector& GetSynthesisTasks() const{ return m_synthesisTasks; } /** *

List of SynthesisTask objects that provides information from the specified * task in the list request, including output format, creation time, task status, * and so on.

*/ inline void SetSynthesisTasks(const Aws::Vector& value) { m_synthesisTasks = value; } /** *

List of SynthesisTask objects that provides information from the specified * task in the list request, including output format, creation time, task status, * and so on.

*/ inline void SetSynthesisTasks(Aws::Vector&& value) { m_synthesisTasks = std::move(value); } /** *

List of SynthesisTask objects that provides information from the specified * task in the list request, including output format, creation time, task status, * and so on.

*/ inline ListSpeechSynthesisTasksResult& WithSynthesisTasks(const Aws::Vector& value) { SetSynthesisTasks(value); return *this;} /** *

List of SynthesisTask objects that provides information from the specified * task in the list request, including output format, creation time, task status, * and so on.

*/ inline ListSpeechSynthesisTasksResult& WithSynthesisTasks(Aws::Vector&& value) { SetSynthesisTasks(std::move(value)); return *this;} /** *

List of SynthesisTask objects that provides information from the specified * task in the list request, including output format, creation time, task status, * and so on.

*/ inline ListSpeechSynthesisTasksResult& AddSynthesisTasks(const SynthesisTask& value) { m_synthesisTasks.push_back(value); return *this; } /** *

List of SynthesisTask objects that provides information from the specified * task in the list request, including output format, creation time, task status, * and so on.

*/ inline ListSpeechSynthesisTasksResult& AddSynthesisTasks(SynthesisTask&& value) { m_synthesisTasks.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListSpeechSynthesisTasksResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListSpeechSynthesisTasksResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListSpeechSynthesisTasksResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_synthesisTasks; Aws::String m_requestId; }; } // namespace Model } // namespace Polly } // namespace Aws