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

Summary items for a block list.

This includes summary items on the * block list ID, block list name, when the block list was created, when the block * list was last updated, and the count of block words/phrases in the block * list.

For information on the current quota limits for block lists, see Quotas for * Amazon Kendra.

*/ inline const Aws::Vector& GetBlockListSummaryItems() const{ return m_blockListSummaryItems; } /** *

Summary items for a block list.

This includes summary items on the * block list ID, block list name, when the block list was created, when the block * list was last updated, and the count of block words/phrases in the block * list.

For information on the current quota limits for block lists, see Quotas for * Amazon Kendra.

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

Summary items for a block list.

This includes summary items on the * block list ID, block list name, when the block list was created, when the block * list was last updated, and the count of block words/phrases in the block * list.

For information on the current quota limits for block lists, see Quotas for * Amazon Kendra.

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

Summary items for a block list.

This includes summary items on the * block list ID, block list name, when the block list was created, when the block * list was last updated, and the count of block words/phrases in the block * list.

For information on the current quota limits for block lists, see Quotas for * Amazon Kendra.

*/ inline ListQuerySuggestionsBlockListsResult& WithBlockListSummaryItems(const Aws::Vector& value) { SetBlockListSummaryItems(value); return *this;} /** *

Summary items for a block list.

This includes summary items on the * block list ID, block list name, when the block list was created, when the block * list was last updated, and the count of block words/phrases in the block * list.

For information on the current quota limits for block lists, see Quotas for * Amazon Kendra.

*/ inline ListQuerySuggestionsBlockListsResult& WithBlockListSummaryItems(Aws::Vector&& value) { SetBlockListSummaryItems(std::move(value)); return *this;} /** *

Summary items for a block list.

This includes summary items on the * block list ID, block list name, when the block list was created, when the block * list was last updated, and the count of block words/phrases in the block * list.

For information on the current quota limits for block lists, see Quotas for * Amazon Kendra.

*/ inline ListQuerySuggestionsBlockListsResult& AddBlockListSummaryItems(const QuerySuggestionsBlockListSummary& value) { m_blockListSummaryItems.push_back(value); return *this; } /** *

Summary items for a block list.

This includes summary items on the * block list ID, block list name, when the block list was created, when the block * list was last updated, and the count of block words/phrases in the block * list.

For information on the current quota limits for block lists, see Quotas for * Amazon Kendra.

*/ inline ListQuerySuggestionsBlockListsResult& AddBlockListSummaryItems(QuerySuggestionsBlockListSummary&& value) { m_blockListSummaryItems.push_back(std::move(value)); return *this; } /** *

If the response is truncated, Amazon Kendra returns this token that you can * use in the subsequent request to retrieve the next set of block lists.

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

If the response is truncated, Amazon Kendra returns this token that you can * use in the subsequent request to retrieve the next set of block lists.

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

If the response is truncated, Amazon Kendra returns this token that you can * use in the subsequent request to retrieve the next set of block lists.

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

If the response is truncated, Amazon Kendra returns this token that you can * use in the subsequent request to retrieve the next set of block lists.

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

If the response is truncated, Amazon Kendra returns this token that you can * use in the subsequent request to retrieve the next set of block lists.

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

If the response is truncated, Amazon Kendra returns this token that you can * use in the subsequent request to retrieve the next set of block lists.

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

If the response is truncated, Amazon Kendra returns this token that you can * use in the subsequent request to retrieve the next set of block lists.

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