AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
JobProgressReport.h
1
6#pragma once
7#include <aws/healthlake/HealthLake_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace HealthLake {
17namespace Model {
18
25 public:
26 AWS_HEALTHLAKE_API JobProgressReport() = default;
27 AWS_HEALTHLAKE_API JobProgressReport(Aws::Utils::Json::JsonView jsonValue);
29 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline long long GetTotalNumberOfScannedFiles() const { return m_totalNumberOfScannedFiles; }
36 inline bool TotalNumberOfScannedFilesHasBeenSet() const { return m_totalNumberOfScannedFilesHasBeenSet; }
37 inline void SetTotalNumberOfScannedFiles(long long value) {
38 m_totalNumberOfScannedFilesHasBeenSet = true;
39 m_totalNumberOfScannedFiles = value;
40 }
43 return *this;
44 }
46
48
51 inline double GetTotalSizeOfScannedFilesInMB() const { return m_totalSizeOfScannedFilesInMB; }
52 inline bool TotalSizeOfScannedFilesInMBHasBeenSet() const { return m_totalSizeOfScannedFilesInMBHasBeenSet; }
53 inline void SetTotalSizeOfScannedFilesInMB(double value) {
54 m_totalSizeOfScannedFilesInMBHasBeenSet = true;
55 m_totalSizeOfScannedFilesInMB = value;
56 }
59 return *this;
60 }
62
64
67 inline long long GetTotalNumberOfImportedFiles() const { return m_totalNumberOfImportedFiles; }
68 inline bool TotalNumberOfImportedFilesHasBeenSet() const { return m_totalNumberOfImportedFilesHasBeenSet; }
69 inline void SetTotalNumberOfImportedFiles(long long value) {
70 m_totalNumberOfImportedFilesHasBeenSet = true;
71 m_totalNumberOfImportedFiles = value;
72 }
75 return *this;
76 }
78
80
83 inline long long GetTotalNumberOfResourcesScanned() const { return m_totalNumberOfResourcesScanned; }
84 inline bool TotalNumberOfResourcesScannedHasBeenSet() const { return m_totalNumberOfResourcesScannedHasBeenSet; }
85 inline void SetTotalNumberOfResourcesScanned(long long value) {
86 m_totalNumberOfResourcesScannedHasBeenSet = true;
87 m_totalNumberOfResourcesScanned = value;
88 }
91 return *this;
92 }
94
96
99 inline long long GetTotalNumberOfResourcesImported() const { return m_totalNumberOfResourcesImported; }
100 inline bool TotalNumberOfResourcesImportedHasBeenSet() const { return m_totalNumberOfResourcesImportedHasBeenSet; }
101 inline void SetTotalNumberOfResourcesImported(long long value) {
102 m_totalNumberOfResourcesImportedHasBeenSet = true;
103 m_totalNumberOfResourcesImported = value;
104 }
107 return *this;
108 }
110
112
115 inline long long GetTotalNumberOfResourcesWithCustomerError() const { return m_totalNumberOfResourcesWithCustomerError; }
116 inline bool TotalNumberOfResourcesWithCustomerErrorHasBeenSet() const { return m_totalNumberOfResourcesWithCustomerErrorHasBeenSet; }
117 inline void SetTotalNumberOfResourcesWithCustomerError(long long value) {
118 m_totalNumberOfResourcesWithCustomerErrorHasBeenSet = true;
119 m_totalNumberOfResourcesWithCustomerError = value;
120 }
123 return *this;
124 }
126
128
132 inline long long GetTotalNumberOfFilesReadWithCustomerError() const { return m_totalNumberOfFilesReadWithCustomerError; }
133 inline bool TotalNumberOfFilesReadWithCustomerErrorHasBeenSet() const { return m_totalNumberOfFilesReadWithCustomerErrorHasBeenSet; }
134 inline void SetTotalNumberOfFilesReadWithCustomerError(long long value) {
135 m_totalNumberOfFilesReadWithCustomerErrorHasBeenSet = true;
136 m_totalNumberOfFilesReadWithCustomerError = value;
137 }
140 return *this;
141 }
143
145
148 inline double GetThroughput() const { return m_throughput; }
149 inline bool ThroughputHasBeenSet() const { return m_throughputHasBeenSet; }
150 inline void SetThroughput(double value) {
151 m_throughputHasBeenSet = true;
152 m_throughput = value;
153 }
154 inline JobProgressReport& WithThroughput(double value) {
155 SetThroughput(value);
156 return *this;
157 }
159 private:
160 long long m_totalNumberOfScannedFiles{0};
161
162 double m_totalSizeOfScannedFilesInMB{0.0};
163
164 long long m_totalNumberOfImportedFiles{0};
165
166 long long m_totalNumberOfResourcesScanned{0};
167
168 long long m_totalNumberOfResourcesImported{0};
169
170 long long m_totalNumberOfResourcesWithCustomerError{0};
171
172 long long m_totalNumberOfFilesReadWithCustomerError{0};
173
174 double m_throughput{0.0};
175 bool m_totalNumberOfScannedFilesHasBeenSet = false;
176 bool m_totalSizeOfScannedFilesInMBHasBeenSet = false;
177 bool m_totalNumberOfImportedFilesHasBeenSet = false;
178 bool m_totalNumberOfResourcesScannedHasBeenSet = false;
179 bool m_totalNumberOfResourcesImportedHasBeenSet = false;
180 bool m_totalNumberOfResourcesWithCustomerErrorHasBeenSet = false;
181 bool m_totalNumberOfFilesReadWithCustomerErrorHasBeenSet = false;
182 bool m_throughputHasBeenSet = false;
183};
184
185} // namespace Model
186} // namespace HealthLake
187} // namespace Aws
AWS_HEALTHLAKE_API JobProgressReport & operator=(Aws::Utils::Json::JsonView jsonValue)
JobProgressReport & WithTotalNumberOfResourcesWithCustomerError(long long value)
AWS_HEALTHLAKE_API JobProgressReport(Aws::Utils::Json::JsonView jsonValue)
void SetTotalNumberOfFilesReadWithCustomerError(long long value)
AWS_HEALTHLAKE_API JobProgressReport()=default
JobProgressReport & WithThroughput(double value)
AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
JobProgressReport & WithTotalNumberOfResourcesScanned(long long value)
void SetTotalNumberOfResourcesScanned(long long value)
void SetTotalNumberOfResourcesImported(long long value)
void SetTotalNumberOfResourcesWithCustomerError(long long value)
JobProgressReport & WithTotalNumberOfImportedFiles(long long value)
JobProgressReport & WithTotalNumberOfFilesReadWithCustomerError(long long value)
JobProgressReport & WithTotalSizeOfScannedFilesInMB(double value)
JobProgressReport & WithTotalNumberOfScannedFiles(long long value)
JobProgressReport & WithTotalNumberOfResourcesImported(long long value)
Aws::Utils::Json::JsonValue JsonValue