AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
TextDocumentStatistics.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace kendra {
17namespace Model {
18
26 public:
27 AWS_KENDRA_API TextDocumentStatistics() = default;
30 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetIndexedTextDocumentsCount() const { return m_indexedTextDocumentsCount; }
37 inline bool IndexedTextDocumentsCountHasBeenSet() const { return m_indexedTextDocumentsCountHasBeenSet; }
38 inline void SetIndexedTextDocumentsCount(int value) {
39 m_indexedTextDocumentsCountHasBeenSet = true;
40 m_indexedTextDocumentsCount = value;
41 }
44 return *this;
45 }
47
49
52 inline long long GetIndexedTextBytes() const { return m_indexedTextBytes; }
53 inline bool IndexedTextBytesHasBeenSet() const { return m_indexedTextBytesHasBeenSet; }
54 inline void SetIndexedTextBytes(long long value) {
55 m_indexedTextBytesHasBeenSet = true;
56 m_indexedTextBytes = value;
57 }
60 return *this;
61 }
63 private:
64 int m_indexedTextDocumentsCount{0};
65
66 long long m_indexedTextBytes{0};
67 bool m_indexedTextDocumentsCountHasBeenSet = false;
68 bool m_indexedTextBytesHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace kendra
73} // 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