/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary information on a query suggestions block list. This includes
* information 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.See Also:
AWS
* API Reference
The identifier of a block list.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The identifier of a block list.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The identifier of a block list.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The identifier of a block list.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The identifier of a block list.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The identifier of a block list.
*/ inline QuerySuggestionsBlockListSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The identifier of a block list.
*/ inline QuerySuggestionsBlockListSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The identifier of a block list.
*/ inline QuerySuggestionsBlockListSummary& WithId(const char* value) { SetId(value); return *this;} /** *The name of the block list.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the block list.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the block list.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the block list.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the block list.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the block list.
*/ inline QuerySuggestionsBlockListSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the block list.
*/ inline QuerySuggestionsBlockListSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the block list.
*/ inline QuerySuggestionsBlockListSummary& WithName(const char* value) { SetName(value); return *this;} /** *The status of the block list.
*/ inline const QuerySuggestionsBlockListStatus& GetStatus() const{ return m_status; } /** *The status of the block list.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the block list.
*/ inline void SetStatus(const QuerySuggestionsBlockListStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the block list.
*/ inline void SetStatus(QuerySuggestionsBlockListStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the block list.
*/ inline QuerySuggestionsBlockListSummary& WithStatus(const QuerySuggestionsBlockListStatus& value) { SetStatus(value); return *this;} /** *The status of the block list.
*/ inline QuerySuggestionsBlockListSummary& WithStatus(QuerySuggestionsBlockListStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The Unix timestamp when the block list was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The Unix timestamp when the block list was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The Unix timestamp when the block list was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The Unix timestamp when the block list was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The Unix timestamp when the block list was created.
*/ inline QuerySuggestionsBlockListSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The Unix timestamp when the block list was created.
*/ inline QuerySuggestionsBlockListSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The Unix timestamp when the block list was last updated.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *The Unix timestamp when the block list was last updated.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *The Unix timestamp when the block list was last updated.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *The Unix timestamp when the block list was last updated.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *The Unix timestamp when the block list was last updated.
*/ inline QuerySuggestionsBlockListSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *The Unix timestamp when the block list was last updated.
*/ inline QuerySuggestionsBlockListSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} /** *The number of items in the block list file.
*/ inline int GetItemCount() const{ return m_itemCount; } /** *The number of items in the block list file.
*/ inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; } /** *The number of items in the block list file.
*/ inline void SetItemCount(int value) { m_itemCountHasBeenSet = true; m_itemCount = value; } /** *The number of items in the block list file.
*/ inline QuerySuggestionsBlockListSummary& WithItemCount(int value) { SetItemCount(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; QuerySuggestionsBlockListStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; int m_itemCount; bool m_itemCountHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws