AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
TextDocumentStatistics.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace kendra
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_KENDRA_API TextDocumentStatistics() = default;
36 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetIndexedTextDocumentsCount() const { return m_indexedTextDocumentsCount; }
44 inline bool IndexedTextDocumentsCountHasBeenSet() const { return m_indexedTextDocumentsCountHasBeenSet; }
45 inline void SetIndexedTextDocumentsCount(int value) { m_indexedTextDocumentsCountHasBeenSet = true; m_indexedTextDocumentsCount = value; }
48
50
53 inline long long GetIndexedTextBytes() const { return m_indexedTextBytes; }
54 inline bool IndexedTextBytesHasBeenSet() const { return m_indexedTextBytesHasBeenSet; }
55 inline void SetIndexedTextBytes(long long value) { m_indexedTextBytesHasBeenSet = true; m_indexedTextBytes = value; }
56 inline TextDocumentStatistics& WithIndexedTextBytes(long long value) { SetIndexedTextBytes(value); return *this;}
58 private:
59
60 int m_indexedTextDocumentsCount{0};
61 bool m_indexedTextDocumentsCountHasBeenSet = false;
62
63 long long m_indexedTextBytes{0};
64 bool m_indexedTextBytesHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace kendra
69} // namespace Aws
AWS_KENDRA_API TextDocumentStatistics()=default
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KENDRA_API TextDocumentStatistics(Aws::Utils::Json::JsonView jsonValue)
TextDocumentStatistics & WithIndexedTextDocumentsCount(int value)
TextDocumentStatistics & WithIndexedTextBytes(long long value)
AWS_KENDRA_API TextDocumentStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue