AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DataMigrationStatistics.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DatabaseMigrationService {
20namespace Model {
21
29 public:
30 AWS_DATABASEMIGRATIONSERVICE_API DataMigrationStatistics() = default;
31 AWS_DATABASEMIGRATIONSERVICE_API DataMigrationStatistics(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DATABASEMIGRATIONSERVICE_API DataMigrationStatistics& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline int GetTablesLoaded() const { return m_tablesLoaded; }
40 inline bool TablesLoadedHasBeenSet() const { return m_tablesLoadedHasBeenSet; }
41 inline void SetTablesLoaded(int value) {
42 m_tablesLoadedHasBeenSet = true;
43 m_tablesLoaded = value;
44 }
46 SetTablesLoaded(value);
47 return *this;
48 }
50
52
55 inline long long GetElapsedTimeMillis() const { return m_elapsedTimeMillis; }
56 inline bool ElapsedTimeMillisHasBeenSet() const { return m_elapsedTimeMillisHasBeenSet; }
57 inline void SetElapsedTimeMillis(long long value) {
58 m_elapsedTimeMillisHasBeenSet = true;
59 m_elapsedTimeMillis = value;
60 }
63 return *this;
64 }
66
68
71 inline int GetTablesLoading() const { return m_tablesLoading; }
72 inline bool TablesLoadingHasBeenSet() const { return m_tablesLoadingHasBeenSet; }
73 inline void SetTablesLoading(int value) {
74 m_tablesLoadingHasBeenSet = true;
75 m_tablesLoading = value;
76 }
78 SetTablesLoading(value);
79 return *this;
80 }
82
84
87 inline int GetFullLoadPercentage() const { return m_fullLoadPercentage; }
88 inline bool FullLoadPercentageHasBeenSet() const { return m_fullLoadPercentageHasBeenSet; }
89 inline void SetFullLoadPercentage(int value) {
90 m_fullLoadPercentageHasBeenSet = true;
91 m_fullLoadPercentage = value;
92 }
95 return *this;
96 }
98
100
103 inline int GetCDCLatency() const { return m_cDCLatency; }
104 inline bool CDCLatencyHasBeenSet() const { return m_cDCLatencyHasBeenSet; }
105 inline void SetCDCLatency(int value) {
106 m_cDCLatencyHasBeenSet = true;
107 m_cDCLatency = value;
108 }
110 SetCDCLatency(value);
111 return *this;
112 }
114
116
119 inline int GetTablesQueued() const { return m_tablesQueued; }
120 inline bool TablesQueuedHasBeenSet() const { return m_tablesQueuedHasBeenSet; }
121 inline void SetTablesQueued(int value) {
122 m_tablesQueuedHasBeenSet = true;
123 m_tablesQueued = value;
124 }
126 SetTablesQueued(value);
127 return *this;
128 }
130
132
135 inline int GetTablesErrored() const { return m_tablesErrored; }
136 inline bool TablesErroredHasBeenSet() const { return m_tablesErroredHasBeenSet; }
137 inline void SetTablesErrored(int value) {
138 m_tablesErroredHasBeenSet = true;
139 m_tablesErrored = value;
140 }
142 SetTablesErrored(value);
143 return *this;
144 }
146
148
151 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
152 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
153 template <typename StartTimeT = Aws::Utils::DateTime>
154 void SetStartTime(StartTimeT&& value) {
155 m_startTimeHasBeenSet = true;
156 m_startTime = std::forward<StartTimeT>(value);
157 }
158 template <typename StartTimeT = Aws::Utils::DateTime>
160 SetStartTime(std::forward<StartTimeT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::Utils::DateTime& GetStopTime() const { return m_stopTime; }
170 inline bool StopTimeHasBeenSet() const { return m_stopTimeHasBeenSet; }
171 template <typename StopTimeT = Aws::Utils::DateTime>
172 void SetStopTime(StopTimeT&& value) {
173 m_stopTimeHasBeenSet = true;
174 m_stopTime = std::forward<StopTimeT>(value);
175 }
176 template <typename StopTimeT = Aws::Utils::DateTime>
178 SetStopTime(std::forward<StopTimeT>(value));
179 return *this;
180 }
182 private:
183 int m_tablesLoaded{0};
184
185 long long m_elapsedTimeMillis{0};
186
187 int m_tablesLoading{0};
188
189 int m_fullLoadPercentage{0};
190
191 int m_cDCLatency{0};
192
193 int m_tablesQueued{0};
194
195 int m_tablesErrored{0};
196
197 Aws::Utils::DateTime m_startTime{};
198
199 Aws::Utils::DateTime m_stopTime{};
200 bool m_tablesLoadedHasBeenSet = false;
201 bool m_elapsedTimeMillisHasBeenSet = false;
202 bool m_tablesLoadingHasBeenSet = false;
203 bool m_fullLoadPercentageHasBeenSet = false;
204 bool m_cDCLatencyHasBeenSet = false;
205 bool m_tablesQueuedHasBeenSet = false;
206 bool m_tablesErroredHasBeenSet = false;
207 bool m_startTimeHasBeenSet = false;
208 bool m_stopTimeHasBeenSet = false;
209};
210
211} // namespace Model
212} // namespace DatabaseMigrationService
213} // namespace Aws
DataMigrationStatistics & WithElapsedTimeMillis(long long value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DataMigrationStatistics & WithStartTime(StartTimeT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DataMigrationStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API DataMigrationStatistics()=default
AWS_DATABASEMIGRATIONSERVICE_API DataMigrationStatistics(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue