/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace kendra { namespace Model { /** *

Provides information about text documents indexed in an index.

See * Also:

AWS * API Reference

*/ class TextDocumentStatistics { public: AWS_KENDRA_API TextDocumentStatistics(); AWS_KENDRA_API TextDocumentStatistics(Aws::Utils::Json::JsonView jsonValue); AWS_KENDRA_API TextDocumentStatistics& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The number of text documents indexed.

*/ inline int GetIndexedTextDocumentsCount() const{ return m_indexedTextDocumentsCount; } /** *

The number of text documents indexed.

*/ inline bool IndexedTextDocumentsCountHasBeenSet() const { return m_indexedTextDocumentsCountHasBeenSet; } /** *

The number of text documents indexed.

*/ inline void SetIndexedTextDocumentsCount(int value) { m_indexedTextDocumentsCountHasBeenSet = true; m_indexedTextDocumentsCount = value; } /** *

The number of text documents indexed.

*/ inline TextDocumentStatistics& WithIndexedTextDocumentsCount(int value) { SetIndexedTextDocumentsCount(value); return *this;} /** *

The total size, in bytes, of the indexed documents.

*/ inline long long GetIndexedTextBytes() const{ return m_indexedTextBytes; } /** *

The total size, in bytes, of the indexed documents.

*/ inline bool IndexedTextBytesHasBeenSet() const { return m_indexedTextBytesHasBeenSet; } /** *

The total size, in bytes, of the indexed documents.

*/ inline void SetIndexedTextBytes(long long value) { m_indexedTextBytesHasBeenSet = true; m_indexedTextBytes = value; } /** *

The total size, in bytes, of the indexed documents.

*/ inline TextDocumentStatistics& WithIndexedTextBytes(long long value) { SetIndexedTextBytes(value); return *this;} private: int m_indexedTextDocumentsCount; bool m_indexedTextDocumentsCountHasBeenSet = false; long long m_indexedTextBytes; bool m_indexedTextBytesHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws