/** * 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 VoiceID { namespace Model { class ListSpeakerEnrollmentJobsResult { public: AWS_VOICEID_API ListSpeakerEnrollmentJobsResult(); AWS_VOICEID_API ListSpeakerEnrollmentJobsResult(const Aws::AmazonWebServiceResult& result); AWS_VOICEID_API ListSpeakerEnrollmentJobsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list containing details about each specified speaker enrollment job.

*/ inline const Aws::Vector& GetJobSummaries() const{ return m_jobSummaries; } /** *

A list containing details about each specified speaker enrollment job.

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

A list containing details about each specified speaker enrollment job.

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

A list containing details about each specified speaker enrollment job.

*/ inline ListSpeakerEnrollmentJobsResult& WithJobSummaries(const Aws::Vector& value) { SetJobSummaries(value); return *this;} /** *

A list containing details about each specified speaker enrollment job.

*/ inline ListSpeakerEnrollmentJobsResult& WithJobSummaries(Aws::Vector&& value) { SetJobSummaries(std::move(value)); return *this;} /** *

A list containing details about each specified speaker enrollment job.

*/ inline ListSpeakerEnrollmentJobsResult& AddJobSummaries(const SpeakerEnrollmentJobSummary& value) { m_jobSummaries.push_back(value); return *this; } /** *

A list containing details about each specified speaker enrollment job.

*/ inline ListSpeakerEnrollmentJobsResult& AddJobSummaries(SpeakerEnrollmentJobSummary&& value) { m_jobSummaries.push_back(std::move(value)); return *this; } /** *

If NextToken is returned, there are more results available. The * value of NextToken is a unique pagination token for each page. Make * the call again using the returned token to retrieve the next page. Keep all * other arguments unchanged. Each pagination token expires after 24 hours.

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

If NextToken is returned, there are more results available. The * value of NextToken is a unique pagination token for each page. Make * the call again using the returned token to retrieve the next page. Keep all * other arguments unchanged. Each pagination token expires after 24 hours.

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

If NextToken is returned, there are more results available. The * value of NextToken is a unique pagination token for each page. Make * the call again using the returned token to retrieve the next page. Keep all * other arguments unchanged. Each pagination token expires after 24 hours.

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

If NextToken is returned, there are more results available. The * value of NextToken is a unique pagination token for each page. Make * the call again using the returned token to retrieve the next page. Keep all * other arguments unchanged. Each pagination token expires after 24 hours.

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

If NextToken is returned, there are more results available. The * value of NextToken is a unique pagination token for each page. Make * the call again using the returned token to retrieve the next page. Keep all * other arguments unchanged. Each pagination token expires after 24 hours.

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

If NextToken is returned, there are more results available. The * value of NextToken is a unique pagination token for each page. Make * the call again using the returned token to retrieve the next page. Keep all * other arguments unchanged. Each pagination token expires after 24 hours.

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

If NextToken is returned, there are more results available. The * value of NextToken is a unique pagination token for each page. Make * the call again using the returned token to retrieve the next page. Keep all * other arguments unchanged. Each pagination token expires after 24 hours.

*/ inline ListSpeakerEnrollmentJobsResult& WithNextToken(const char* value) { SetNextToken(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 ListSpeakerEnrollmentJobsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListSpeakerEnrollmentJobsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListSpeakerEnrollmentJobsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_jobSummaries; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace VoiceID } // namespace Aws