AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
IngestionJobStatistics.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace BedrockAgent {
17namespace Model {
18
26 public:
27 AWS_BEDROCKAGENT_API IngestionJobStatistics() = default;
30 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline long long GetNumberOfDocumentsScanned() const { return m_numberOfDocumentsScanned; }
38 inline bool NumberOfDocumentsScannedHasBeenSet() const { return m_numberOfDocumentsScannedHasBeenSet; }
39 inline void SetNumberOfDocumentsScanned(long long value) {
40 m_numberOfDocumentsScannedHasBeenSet = true;
41 m_numberOfDocumentsScanned = value;
42 }
45 return *this;
46 }
48
50
54 inline long long GetNumberOfMetadataDocumentsScanned() const { return m_numberOfMetadataDocumentsScanned; }
55 inline bool NumberOfMetadataDocumentsScannedHasBeenSet() const { return m_numberOfMetadataDocumentsScannedHasBeenSet; }
56 inline void SetNumberOfMetadataDocumentsScanned(long long value) {
57 m_numberOfMetadataDocumentsScannedHasBeenSet = true;
58 m_numberOfMetadataDocumentsScanned = value;
59 }
62 return *this;
63 }
65
67
71 inline long long GetNumberOfNewDocumentsIndexed() const { return m_numberOfNewDocumentsIndexed; }
72 inline bool NumberOfNewDocumentsIndexedHasBeenSet() const { return m_numberOfNewDocumentsIndexedHasBeenSet; }
73 inline void SetNumberOfNewDocumentsIndexed(long long value) {
74 m_numberOfNewDocumentsIndexedHasBeenSet = true;
75 m_numberOfNewDocumentsIndexed = value;
76 }
79 return *this;
80 }
82
84
88 inline long long GetNumberOfModifiedDocumentsIndexed() const { return m_numberOfModifiedDocumentsIndexed; }
89 inline bool NumberOfModifiedDocumentsIndexedHasBeenSet() const { return m_numberOfModifiedDocumentsIndexedHasBeenSet; }
90 inline void SetNumberOfModifiedDocumentsIndexed(long long value) {
91 m_numberOfModifiedDocumentsIndexedHasBeenSet = true;
92 m_numberOfModifiedDocumentsIndexed = value;
93 }
96 return *this;
97 }
99
101
104 inline long long GetNumberOfMetadataDocumentsModified() const { return m_numberOfMetadataDocumentsModified; }
105 inline bool NumberOfMetadataDocumentsModifiedHasBeenSet() const { return m_numberOfMetadataDocumentsModifiedHasBeenSet; }
106 inline void SetNumberOfMetadataDocumentsModified(long long value) {
107 m_numberOfMetadataDocumentsModifiedHasBeenSet = true;
108 m_numberOfMetadataDocumentsModified = value;
109 }
112 return *this;
113 }
115
117
120 inline long long GetNumberOfDocumentsDeleted() const { return m_numberOfDocumentsDeleted; }
121 inline bool NumberOfDocumentsDeletedHasBeenSet() const { return m_numberOfDocumentsDeletedHasBeenSet; }
122 inline void SetNumberOfDocumentsDeleted(long long value) {
123 m_numberOfDocumentsDeletedHasBeenSet = true;
124 m_numberOfDocumentsDeleted = value;
125 }
128 return *this;
129 }
131
133
136 inline long long GetNumberOfDocumentsFailed() const { return m_numberOfDocumentsFailed; }
137 inline bool NumberOfDocumentsFailedHasBeenSet() const { return m_numberOfDocumentsFailedHasBeenSet; }
138 inline void SetNumberOfDocumentsFailed(long long value) {
139 m_numberOfDocumentsFailedHasBeenSet = true;
140 m_numberOfDocumentsFailed = value;
141 }
144 return *this;
145 }
147 private:
148 long long m_numberOfDocumentsScanned{0};
149
150 long long m_numberOfMetadataDocumentsScanned{0};
151
152 long long m_numberOfNewDocumentsIndexed{0};
153
154 long long m_numberOfModifiedDocumentsIndexed{0};
155
156 long long m_numberOfMetadataDocumentsModified{0};
157
158 long long m_numberOfDocumentsDeleted{0};
159
160 long long m_numberOfDocumentsFailed{0};
161 bool m_numberOfDocumentsScannedHasBeenSet = false;
162 bool m_numberOfMetadataDocumentsScannedHasBeenSet = false;
163 bool m_numberOfNewDocumentsIndexedHasBeenSet = false;
164 bool m_numberOfModifiedDocumentsIndexedHasBeenSet = false;
165 bool m_numberOfMetadataDocumentsModifiedHasBeenSet = false;
166 bool m_numberOfDocumentsDeletedHasBeenSet = false;
167 bool m_numberOfDocumentsFailedHasBeenSet = false;
168};
169
170} // namespace Model
171} // namespace BedrockAgent
172} // namespace Aws
AWS_BEDROCKAGENT_API IngestionJobStatistics(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
IngestionJobStatistics & WithNumberOfMetadataDocumentsModified(long long value)
IngestionJobStatistics & WithNumberOfDocumentsScanned(long long value)
IngestionJobStatistics & WithNumberOfMetadataDocumentsScanned(long long value)
AWS_BEDROCKAGENT_API IngestionJobStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
IngestionJobStatistics & WithNumberOfDocumentsDeleted(long long value)
IngestionJobStatistics & WithNumberOfModifiedDocumentsIndexed(long long value)
AWS_BEDROCKAGENT_API IngestionJobStatistics()=default
IngestionJobStatistics & WithNumberOfDocumentsFailed(long long value)
IngestionJobStatistics & WithNumberOfNewDocumentsIndexed(long long value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue