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

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 ListWatchlistsResult& 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 ListWatchlistsResult& 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 ListWatchlistsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

A list that contains details about each watchlist in the Amazon Web Services * account.

*/ inline const Aws::Vector& GetWatchlistSummaries() const{ return m_watchlistSummaries; } /** *

A list that contains details about each watchlist in the Amazon Web Services * account.

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

A list that contains details about each watchlist in the Amazon Web Services * account.

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

A list that contains details about each watchlist in the Amazon Web Services * account.

*/ inline ListWatchlistsResult& WithWatchlistSummaries(const Aws::Vector& value) { SetWatchlistSummaries(value); return *this;} /** *

A list that contains details about each watchlist in the Amazon Web Services * account.

*/ inline ListWatchlistsResult& WithWatchlistSummaries(Aws::Vector&& value) { SetWatchlistSummaries(std::move(value)); return *this;} /** *

A list that contains details about each watchlist in the Amazon Web Services * account.

*/ inline ListWatchlistsResult& AddWatchlistSummaries(const WatchlistSummary& value) { m_watchlistSummaries.push_back(value); return *this; } /** *

A list that contains details about each watchlist in the Amazon Web Services * account.

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