AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataMigrationStatistics.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DatabaseMigrationService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATABASEMIGRATIONSERVICE_API DataMigrationStatistics();
36 AWS_DATABASEMIGRATIONSERVICE_API DataMigrationStatistics(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API DataMigrationStatistics& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetTablesLoaded() const{ return m_tablesLoaded; }
46 inline bool TablesLoadedHasBeenSet() const { return m_tablesLoadedHasBeenSet; }
47 inline void SetTablesLoaded(int value) { m_tablesLoadedHasBeenSet = true; m_tablesLoaded = value; }
48 inline DataMigrationStatistics& WithTablesLoaded(int value) { SetTablesLoaded(value); return *this;}
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) { m_elapsedTimeMillisHasBeenSet = true; m_elapsedTimeMillis = value; }
58 inline DataMigrationStatistics& WithElapsedTimeMillis(long long value) { SetElapsedTimeMillis(value); return *this;}
60
62
65 inline int GetTablesLoading() const{ return m_tablesLoading; }
66 inline bool TablesLoadingHasBeenSet() const { return m_tablesLoadingHasBeenSet; }
67 inline void SetTablesLoading(int value) { m_tablesLoadingHasBeenSet = true; m_tablesLoading = value; }
68 inline DataMigrationStatistics& WithTablesLoading(int value) { SetTablesLoading(value); return *this;}
70
72
75 inline int GetFullLoadPercentage() const{ return m_fullLoadPercentage; }
76 inline bool FullLoadPercentageHasBeenSet() const { return m_fullLoadPercentageHasBeenSet; }
77 inline void SetFullLoadPercentage(int value) { m_fullLoadPercentageHasBeenSet = true; m_fullLoadPercentage = value; }
78 inline DataMigrationStatistics& WithFullLoadPercentage(int value) { SetFullLoadPercentage(value); return *this;}
80
82
85 inline int GetCDCLatency() const{ return m_cDCLatency; }
86 inline bool CDCLatencyHasBeenSet() const { return m_cDCLatencyHasBeenSet; }
87 inline void SetCDCLatency(int value) { m_cDCLatencyHasBeenSet = true; m_cDCLatency = value; }
88 inline DataMigrationStatistics& WithCDCLatency(int value) { SetCDCLatency(value); return *this;}
90
92
95 inline int GetTablesQueued() const{ return m_tablesQueued; }
96 inline bool TablesQueuedHasBeenSet() const { return m_tablesQueuedHasBeenSet; }
97 inline void SetTablesQueued(int value) { m_tablesQueuedHasBeenSet = true; m_tablesQueued = value; }
98 inline DataMigrationStatistics& WithTablesQueued(int value) { SetTablesQueued(value); return *this;}
100
102
105 inline int GetTablesErrored() const{ return m_tablesErrored; }
106 inline bool TablesErroredHasBeenSet() const { return m_tablesErroredHasBeenSet; }
107 inline void SetTablesErrored(int value) { m_tablesErroredHasBeenSet = true; m_tablesErrored = value; }
108 inline DataMigrationStatistics& WithTablesErrored(int value) { SetTablesErrored(value); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
116 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
117 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
118 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
119 inline DataMigrationStatistics& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
120 inline DataMigrationStatistics& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetStopTime() const{ return m_stopTime; }
128 inline bool StopTimeHasBeenSet() const { return m_stopTimeHasBeenSet; }
129 inline void SetStopTime(const Aws::Utils::DateTime& value) { m_stopTimeHasBeenSet = true; m_stopTime = value; }
130 inline void SetStopTime(Aws::Utils::DateTime&& value) { m_stopTimeHasBeenSet = true; m_stopTime = std::move(value); }
131 inline DataMigrationStatistics& WithStopTime(const Aws::Utils::DateTime& value) { SetStopTime(value); return *this;}
132 inline DataMigrationStatistics& WithStopTime(Aws::Utils::DateTime&& value) { SetStopTime(std::move(value)); return *this;}
134 private:
135
136 int m_tablesLoaded;
137 bool m_tablesLoadedHasBeenSet = false;
138
139 long long m_elapsedTimeMillis;
140 bool m_elapsedTimeMillisHasBeenSet = false;
141
142 int m_tablesLoading;
143 bool m_tablesLoadingHasBeenSet = false;
144
145 int m_fullLoadPercentage;
146 bool m_fullLoadPercentageHasBeenSet = false;
147
148 int m_cDCLatency;
149 bool m_cDCLatencyHasBeenSet = false;
150
151 int m_tablesQueued;
152 bool m_tablesQueuedHasBeenSet = false;
153
154 int m_tablesErrored;
155 bool m_tablesErroredHasBeenSet = false;
156
157 Aws::Utils::DateTime m_startTime;
158 bool m_startTimeHasBeenSet = false;
159
160 Aws::Utils::DateTime m_stopTime;
161 bool m_stopTimeHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace DatabaseMigrationService
166} // namespace Aws
DataMigrationStatistics & WithStopTime(Aws::Utils::DateTime &&value)
DataMigrationStatistics & WithStartTime(Aws::Utils::DateTime &&value)
DataMigrationStatistics & WithElapsedTimeMillis(long long value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API DataMigrationStatistics()
DataMigrationStatistics & WithStartTime(const Aws::Utils::DateTime &value)
AWS_DATABASEMIGRATIONSERVICE_API DataMigrationStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API DataMigrationStatistics(Aws::Utils::Json::JsonView jsonValue)
DataMigrationStatistics & WithStopTime(const Aws::Utils::DateTime &value)
Aws::Utils::Json::JsonValue JsonValue