AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchLoadProgressReport.h
1
6#pragma once
7#include <aws/timestream-write/TimestreamWrite_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 TimestreamWrite
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_TIMESTREAMWRITE_API BatchLoadProgressReport();
34 AWS_TIMESTREAMWRITE_API BatchLoadProgressReport(Aws::Utils::Json::JsonView jsonValue);
36 AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline long long GetRecordsProcessed() const{ return m_recordsProcessed; }
44 inline bool RecordsProcessedHasBeenSet() const { return m_recordsProcessedHasBeenSet; }
45 inline void SetRecordsProcessed(long long value) { m_recordsProcessedHasBeenSet = true; m_recordsProcessed = value; }
46 inline BatchLoadProgressReport& WithRecordsProcessed(long long value) { SetRecordsProcessed(value); return *this;}
48
50
53 inline long long GetRecordsIngested() const{ return m_recordsIngested; }
54 inline bool RecordsIngestedHasBeenSet() const { return m_recordsIngestedHasBeenSet; }
55 inline void SetRecordsIngested(long long value) { m_recordsIngestedHasBeenSet = true; m_recordsIngested = value; }
56 inline BatchLoadProgressReport& WithRecordsIngested(long long value) { SetRecordsIngested(value); return *this;}
58
60
63 inline long long GetParseFailures() const{ return m_parseFailures; }
64 inline bool ParseFailuresHasBeenSet() const { return m_parseFailuresHasBeenSet; }
65 inline void SetParseFailures(long long value) { m_parseFailuresHasBeenSet = true; m_parseFailures = value; }
66 inline BatchLoadProgressReport& WithParseFailures(long long value) { SetParseFailures(value); return *this;}
68
70
73 inline long long GetRecordIngestionFailures() const{ return m_recordIngestionFailures; }
74 inline bool RecordIngestionFailuresHasBeenSet() const { return m_recordIngestionFailuresHasBeenSet; }
75 inline void SetRecordIngestionFailures(long long value) { m_recordIngestionFailuresHasBeenSet = true; m_recordIngestionFailures = value; }
76 inline BatchLoadProgressReport& WithRecordIngestionFailures(long long value) { SetRecordIngestionFailures(value); return *this;}
78
80
83 inline long long GetFileFailures() const{ return m_fileFailures; }
84 inline bool FileFailuresHasBeenSet() const { return m_fileFailuresHasBeenSet; }
85 inline void SetFileFailures(long long value) { m_fileFailuresHasBeenSet = true; m_fileFailures = value; }
86 inline BatchLoadProgressReport& WithFileFailures(long long value) { SetFileFailures(value); return *this;}
88
90
93 inline long long GetBytesMetered() const{ return m_bytesMetered; }
94 inline bool BytesMeteredHasBeenSet() const { return m_bytesMeteredHasBeenSet; }
95 inline void SetBytesMetered(long long value) { m_bytesMeteredHasBeenSet = true; m_bytesMetered = value; }
96 inline BatchLoadProgressReport& WithBytesMetered(long long value) { SetBytesMetered(value); return *this;}
98 private:
99
100 long long m_recordsProcessed;
101 bool m_recordsProcessedHasBeenSet = false;
102
103 long long m_recordsIngested;
104 bool m_recordsIngestedHasBeenSet = false;
105
106 long long m_parseFailures;
107 bool m_parseFailuresHasBeenSet = false;
108
109 long long m_recordIngestionFailures;
110 bool m_recordIngestionFailuresHasBeenSet = false;
111
112 long long m_fileFailures;
113 bool m_fileFailuresHasBeenSet = false;
114
115 long long m_bytesMetered;
116 bool m_bytesMeteredHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace TimestreamWrite
121} // namespace Aws
BatchLoadProgressReport & WithRecordIngestionFailures(long long value)
BatchLoadProgressReport & WithFileFailures(long long value)
BatchLoadProgressReport & WithParseFailures(long long value)
AWS_TIMESTREAMWRITE_API BatchLoadProgressReport(Aws::Utils::Json::JsonView jsonValue)
BatchLoadProgressReport & WithRecordsIngested(long long value)
BatchLoadProgressReport & WithRecordsProcessed(long long value)
AWS_TIMESTREAMWRITE_API BatchLoadProgressReport & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchLoadProgressReport & WithBytesMetered(long long value)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue