AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
JobMetrics.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace EntityResolution {
17namespace Model {
18
27 public:
28 AWS_ENTITYRESOLUTION_API JobMetrics() = default;
29 AWS_ENTITYRESOLUTION_API JobMetrics(Aws::Utils::Json::JsonView jsonValue);
30 AWS_ENTITYRESOLUTION_API JobMetrics& operator=(Aws::Utils::Json::JsonView jsonValue);
31 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
37 inline int GetInputRecords() const { return m_inputRecords; }
38 inline bool InputRecordsHasBeenSet() const { return m_inputRecordsHasBeenSet; }
39 inline void SetInputRecords(int value) {
40 m_inputRecordsHasBeenSet = true;
41 m_inputRecords = value;
42 }
43 inline JobMetrics& WithInputRecords(int value) {
44 SetInputRecords(value);
45 return *this;
46 }
48
50
53 inline int GetTotalRecordsProcessed() const { return m_totalRecordsProcessed; }
54 inline bool TotalRecordsProcessedHasBeenSet() const { return m_totalRecordsProcessedHasBeenSet; }
55 inline void SetTotalRecordsProcessed(int value) {
56 m_totalRecordsProcessedHasBeenSet = true;
57 m_totalRecordsProcessed = value;
58 }
61 return *this;
62 }
64
66
69 inline int GetRecordsNotProcessed() const { return m_recordsNotProcessed; }
70 inline bool RecordsNotProcessedHasBeenSet() const { return m_recordsNotProcessedHasBeenSet; }
71 inline void SetRecordsNotProcessed(int value) {
72 m_recordsNotProcessedHasBeenSet = true;
73 m_recordsNotProcessed = value;
74 }
77 return *this;
78 }
80
82
87 inline int GetDeleteRecordsProcessed() const { return m_deleteRecordsProcessed; }
88 inline bool DeleteRecordsProcessedHasBeenSet() const { return m_deleteRecordsProcessedHasBeenSet; }
89 inline void SetDeleteRecordsProcessed(int value) {
90 m_deleteRecordsProcessedHasBeenSet = true;
91 m_deleteRecordsProcessed = value;
92 }
95 return *this;
96 }
98
100
103 inline int GetMatchIDs() const { return m_matchIDs; }
104 inline bool MatchIDsHasBeenSet() const { return m_matchIDsHasBeenSet; }
105 inline void SetMatchIDs(int value) {
106 m_matchIDsHasBeenSet = true;
107 m_matchIDs = value;
108 }
109 inline JobMetrics& WithMatchIDs(int value) {
110 SetMatchIDs(value);
111 return *this;
112 }
114 private:
115 int m_inputRecords{0};
116
117 int m_totalRecordsProcessed{0};
118
119 int m_recordsNotProcessed{0};
120
121 int m_deleteRecordsProcessed{0};
122
123 int m_matchIDs{0};
124 bool m_inputRecordsHasBeenSet = false;
125 bool m_totalRecordsProcessedHasBeenSet = false;
126 bool m_recordsNotProcessedHasBeenSet = false;
127 bool m_deleteRecordsProcessedHasBeenSet = false;
128 bool m_matchIDsHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace EntityResolution
133} // namespace Aws
JobMetrics & WithRecordsNotProcessed(int value)
Definition JobMetrics.h:75
JobMetrics & WithInputRecords(int value)
Definition JobMetrics.h:43
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ENTITYRESOLUTION_API JobMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
JobMetrics & WithMatchIDs(int value)
Definition JobMetrics.h:109
AWS_ENTITYRESOLUTION_API JobMetrics()=default
JobMetrics & WithDeleteRecordsProcessed(int value)
Definition JobMetrics.h:93
AWS_ENTITYRESOLUTION_API JobMetrics(Aws::Utils::Json::JsonView jsonValue)
JobMetrics & WithTotalRecordsProcessed(int value)
Definition JobMetrics.h:59
Aws::Utils::Json::JsonValue JsonValue