AWS SDK for C++

AWS SDK for C++ Version 1.11.851

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
149
152 inline long long GetNumberOfDocumentsSkipped() const { return m_numberOfDocumentsSkipped; }
153 inline bool NumberOfDocumentsSkippedHasBeenSet() const { return m_numberOfDocumentsSkippedHasBeenSet; }
154 inline void SetNumberOfDocumentsSkipped(long long value) {
155 m_numberOfDocumentsSkippedHasBeenSet = true;
156 m_numberOfDocumentsSkipped = value;
157 }
160 return *this;
161 }
163 private:
164 long long m_numberOfDocumentsScanned{0};
165
166 long long m_numberOfMetadataDocumentsScanned{0};
167
168 long long m_numberOfNewDocumentsIndexed{0};
169
170 long long m_numberOfModifiedDocumentsIndexed{0};
171
172 long long m_numberOfMetadataDocumentsModified{0};
173
174 long long m_numberOfDocumentsDeleted{0};
175
176 long long m_numberOfDocumentsFailed{0};
177
178 long long m_numberOfDocumentsSkipped{0};
179 bool m_numberOfDocumentsScannedHasBeenSet = false;
180 bool m_numberOfMetadataDocumentsScannedHasBeenSet = false;
181 bool m_numberOfNewDocumentsIndexedHasBeenSet = false;
182 bool m_numberOfModifiedDocumentsIndexedHasBeenSet = false;
183 bool m_numberOfMetadataDocumentsModifiedHasBeenSet = false;
184 bool m_numberOfDocumentsDeletedHasBeenSet = false;
185 bool m_numberOfDocumentsFailedHasBeenSet = false;
186 bool m_numberOfDocumentsSkippedHasBeenSet = false;
187};
188
189} // namespace Model
190} // namespace BedrockAgent
191} // 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)
IngestionJobStatistics & WithNumberOfDocumentsSkipped(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