7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
21namespace DatabaseMigrationService
47 inline void SetTablesLoaded(
int value) { m_tablesLoadedHasBeenSet =
true; m_tablesLoaded = value; }
57 inline void SetElapsedTimeMillis(
long long value) { m_elapsedTimeMillisHasBeenSet =
true; m_elapsedTimeMillis = value; }
67 inline void SetTablesLoading(
int value) { m_tablesLoadingHasBeenSet =
true; m_tablesLoading = value; }
77 inline void SetFullLoadPercentage(
int value) { m_fullLoadPercentageHasBeenSet =
true; m_fullLoadPercentage = value; }
87 inline void SetCDCLatency(
int value) { m_cDCLatencyHasBeenSet =
true; m_cDCLatency = value; }
97 inline void SetTablesQueued(
int value) { m_tablesQueuedHasBeenSet =
true; m_tablesQueued = value; }
107 inline void SetTablesErrored(
int value) { m_tablesErroredHasBeenSet =
true; m_tablesErrored = value; }
117 template<
typename StartTimeT = Aws::Utils::DateTime>
118 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
119 template<
typename StartTimeT = Aws::Utils::DateTime>
129 template<
typename StopTimeT = Aws::Utils::DateTime>
130 void SetStopTime(StopTimeT&& value) { m_stopTimeHasBeenSet =
true; m_stopTime = std::forward<StopTimeT>(value); }
131 template<
typename StopTimeT = Aws::Utils::DateTime>
136 int m_tablesLoaded{0};
137 bool m_tablesLoadedHasBeenSet =
false;
139 long long m_elapsedTimeMillis{0};
140 bool m_elapsedTimeMillisHasBeenSet =
false;
142 int m_tablesLoading{0};
143 bool m_tablesLoadingHasBeenSet =
false;
145 int m_fullLoadPercentage{0};
146 bool m_fullLoadPercentageHasBeenSet =
false;
149 bool m_cDCLatencyHasBeenSet =
false;
151 int m_tablesQueued{0};
152 bool m_tablesQueuedHasBeenSet =
false;
154 int m_tablesErrored{0};
155 bool m_tablesErroredHasBeenSet =
false;
158 bool m_startTimeHasBeenSet =
false;
161 bool m_stopTimeHasBeenSet =
false;
bool StartTimeHasBeenSet() const
void SetStartTime(StartTimeT &&value)
DataMigrationStatistics & WithTablesLoading(int value)
const Aws::Utils::DateTime & GetStartTime() const
DataMigrationStatistics & WithTablesErrored(int value)
void SetCDCLatency(int value)
bool TablesQueuedHasBeenSet() const
bool StopTimeHasBeenSet() const
void SetStopTime(StopTimeT &&value)
DataMigrationStatistics & WithTablesQueued(int value)
bool CDCLatencyHasBeenSet() const
int GetTablesQueued() const
DataMigrationStatistics & WithElapsedTimeMillis(long long value)
bool ElapsedTimeMillisHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTablesErrored(int value)
DataMigrationStatistics & WithCDCLatency(int value)
void SetTablesLoaded(int value)
bool TablesLoadedHasBeenSet() const
DataMigrationStatistics & WithTablesLoaded(int value)
int GetFullLoadPercentage() const
int GetTablesLoaded() const
bool TablesLoadingHasBeenSet() const
void SetTablesQueued(int value)
void SetElapsedTimeMillis(long long value)
int GetTablesLoading() const
int GetCDCLatency() const
bool FullLoadPercentageHasBeenSet() const
void SetFullLoadPercentage(int value)
bool TablesErroredHasBeenSet() const
DataMigrationStatistics & WithStartTime(StartTimeT &&value)
int GetTablesErrored() const
AWS_DATABASEMIGRATIONSERVICE_API DataMigrationStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
DataMigrationStatistics & WithFullLoadPercentage(int value)
DataMigrationStatistics & WithStopTime(StopTimeT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DataMigrationStatistics()=default
AWS_DATABASEMIGRATIONSERVICE_API DataMigrationStatistics(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStopTime() const
void SetTablesLoading(int value)
long long GetElapsedTimeMillis() const
Aws::Utils::Json::JsonValue JsonValue