/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the number of documents and the number of
* questions and answers in an index.See Also:
AWS
* API Reference
The number of question and answer topics in the index.
*/ inline const FaqStatistics& GetFaqStatistics() const{ return m_faqStatistics; } /** *The number of question and answer topics in the index.
*/ inline bool FaqStatisticsHasBeenSet() const { return m_faqStatisticsHasBeenSet; } /** *The number of question and answer topics in the index.
*/ inline void SetFaqStatistics(const FaqStatistics& value) { m_faqStatisticsHasBeenSet = true; m_faqStatistics = value; } /** *The number of question and answer topics in the index.
*/ inline void SetFaqStatistics(FaqStatistics&& value) { m_faqStatisticsHasBeenSet = true; m_faqStatistics = std::move(value); } /** *The number of question and answer topics in the index.
*/ inline IndexStatistics& WithFaqStatistics(const FaqStatistics& value) { SetFaqStatistics(value); return *this;} /** *The number of question and answer topics in the index.
*/ inline IndexStatistics& WithFaqStatistics(FaqStatistics&& value) { SetFaqStatistics(std::move(value)); return *this;} /** *The number of text documents indexed.
*/ inline const TextDocumentStatistics& GetTextDocumentStatistics() const{ return m_textDocumentStatistics; } /** *The number of text documents indexed.
*/ inline bool TextDocumentStatisticsHasBeenSet() const { return m_textDocumentStatisticsHasBeenSet; } /** *The number of text documents indexed.
*/ inline void SetTextDocumentStatistics(const TextDocumentStatistics& value) { m_textDocumentStatisticsHasBeenSet = true; m_textDocumentStatistics = value; } /** *The number of text documents indexed.
*/ inline void SetTextDocumentStatistics(TextDocumentStatistics&& value) { m_textDocumentStatisticsHasBeenSet = true; m_textDocumentStatistics = std::move(value); } /** *The number of text documents indexed.
*/ inline IndexStatistics& WithTextDocumentStatistics(const TextDocumentStatistics& value) { SetTextDocumentStatistics(value); return *this;} /** *The number of text documents indexed.
*/ inline IndexStatistics& WithTextDocumentStatistics(TextDocumentStatistics&& value) { SetTextDocumentStatistics(std::move(value)); return *this;} private: FaqStatistics m_faqStatistics; bool m_faqStatisticsHasBeenSet = false; TextDocumentStatistics m_textDocumentStatistics; bool m_textDocumentStatisticsHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws