AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
TextDocumentStatistics.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace QBusiness {
17namespace Model {
18
26 public:
27 AWS_QBUSINESS_API TextDocumentStatistics() = default;
30 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline long long GetIndexedTextBytes() const { return m_indexedTextBytes; }
37 inline bool IndexedTextBytesHasBeenSet() const { return m_indexedTextBytesHasBeenSet; }
38 inline void SetIndexedTextBytes(long long value) {
39 m_indexedTextBytesHasBeenSet = true;
40 m_indexedTextBytes = value;
41 }
44 return *this;
45 }
47
49
52 inline int GetIndexedTextDocumentCount() const { return m_indexedTextDocumentCount; }
53 inline bool IndexedTextDocumentCountHasBeenSet() const { return m_indexedTextDocumentCountHasBeenSet; }
54 inline void SetIndexedTextDocumentCount(int value) {
55 m_indexedTextDocumentCountHasBeenSet = true;
56 m_indexedTextDocumentCount = value;
57 }
60 return *this;
61 }
63 private:
64 long long m_indexedTextBytes{0};
65
66 int m_indexedTextDocumentCount{0};
67 bool m_indexedTextBytesHasBeenSet = false;
68 bool m_indexedTextDocumentCountHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace QBusiness
73} // namespace Aws
TextDocumentStatistics & WithIndexedTextBytes(long long value)
TextDocumentStatistics & WithIndexedTextDocumentCount(int value)
AWS_QBUSINESS_API TextDocumentStatistics()=default
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API TextDocumentStatistics(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API TextDocumentStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue