AWS SDK for C++

AWS SDK for C++ Version 1.11.634

Loading...
Searching...
No Matches
IngestionJobStatistics.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_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 BedrockAgent
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_BEDROCKAGENT_API IngestionJobStatistics() = default;
34 AWS_BEDROCKAGENT_API IngestionJobStatistics(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline long long GetNumberOfDocumentsScanned() const { return m_numberOfDocumentsScanned; }
45 inline bool NumberOfDocumentsScannedHasBeenSet() const { return m_numberOfDocumentsScannedHasBeenSet; }
46 inline void SetNumberOfDocumentsScanned(long long value) { m_numberOfDocumentsScannedHasBeenSet = true; m_numberOfDocumentsScanned = value; }
49
51
55 inline long long GetNumberOfMetadataDocumentsScanned() const { return m_numberOfMetadataDocumentsScanned; }
56 inline bool NumberOfMetadataDocumentsScannedHasBeenSet() const { return m_numberOfMetadataDocumentsScannedHasBeenSet; }
57 inline void SetNumberOfMetadataDocumentsScanned(long long value) { m_numberOfMetadataDocumentsScannedHasBeenSet = true; m_numberOfMetadataDocumentsScanned = value; }
60
62
66 inline long long GetNumberOfNewDocumentsIndexed() const { return m_numberOfNewDocumentsIndexed; }
67 inline bool NumberOfNewDocumentsIndexedHasBeenSet() const { return m_numberOfNewDocumentsIndexedHasBeenSet; }
68 inline void SetNumberOfNewDocumentsIndexed(long long value) { m_numberOfNewDocumentsIndexedHasBeenSet = true; m_numberOfNewDocumentsIndexed = value; }
71
73
77 inline long long GetNumberOfModifiedDocumentsIndexed() const { return m_numberOfModifiedDocumentsIndexed; }
78 inline bool NumberOfModifiedDocumentsIndexedHasBeenSet() const { return m_numberOfModifiedDocumentsIndexedHasBeenSet; }
79 inline void SetNumberOfModifiedDocumentsIndexed(long long value) { m_numberOfModifiedDocumentsIndexedHasBeenSet = true; m_numberOfModifiedDocumentsIndexed = value; }
82
84
87 inline long long GetNumberOfMetadataDocumentsModified() const { return m_numberOfMetadataDocumentsModified; }
88 inline bool NumberOfMetadataDocumentsModifiedHasBeenSet() const { return m_numberOfMetadataDocumentsModifiedHasBeenSet; }
89 inline void SetNumberOfMetadataDocumentsModified(long long value) { m_numberOfMetadataDocumentsModifiedHasBeenSet = true; m_numberOfMetadataDocumentsModified = value; }
92
94
97 inline long long GetNumberOfDocumentsDeleted() const { return m_numberOfDocumentsDeleted; }
98 inline bool NumberOfDocumentsDeletedHasBeenSet() const { return m_numberOfDocumentsDeletedHasBeenSet; }
99 inline void SetNumberOfDocumentsDeleted(long long value) { m_numberOfDocumentsDeletedHasBeenSet = true; m_numberOfDocumentsDeleted = value; }
102
104
107 inline long long GetNumberOfDocumentsFailed() const { return m_numberOfDocumentsFailed; }
108 inline bool NumberOfDocumentsFailedHasBeenSet() const { return m_numberOfDocumentsFailedHasBeenSet; }
109 inline void SetNumberOfDocumentsFailed(long long value) { m_numberOfDocumentsFailedHasBeenSet = true; m_numberOfDocumentsFailed = value; }
110 inline IngestionJobStatistics& WithNumberOfDocumentsFailed(long long value) { SetNumberOfDocumentsFailed(value); return *this;}
112 private:
113
114 long long m_numberOfDocumentsScanned{0};
115 bool m_numberOfDocumentsScannedHasBeenSet = false;
116
117 long long m_numberOfMetadataDocumentsScanned{0};
118 bool m_numberOfMetadataDocumentsScannedHasBeenSet = false;
119
120 long long m_numberOfNewDocumentsIndexed{0};
121 bool m_numberOfNewDocumentsIndexedHasBeenSet = false;
122
123 long long m_numberOfModifiedDocumentsIndexed{0};
124 bool m_numberOfModifiedDocumentsIndexedHasBeenSet = false;
125
126 long long m_numberOfMetadataDocumentsModified{0};
127 bool m_numberOfMetadataDocumentsModifiedHasBeenSet = false;
128
129 long long m_numberOfDocumentsDeleted{0};
130 bool m_numberOfDocumentsDeletedHasBeenSet = false;
131
132 long long m_numberOfDocumentsFailed{0};
133 bool m_numberOfDocumentsFailedHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace BedrockAgent
138} // 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)
Aws::Utils::Json::JsonValue JsonValue