AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicationStats.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 ReplicationStats();
36 AWS_DATABASEMIGRATIONSERVICE_API ReplicationStats(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API ReplicationStats& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetFullLoadProgressPercent() const{ return m_fullLoadProgressPercent; }
46 inline bool FullLoadProgressPercentHasBeenSet() const { return m_fullLoadProgressPercentHasBeenSet; }
47 inline void SetFullLoadProgressPercent(int value) { m_fullLoadProgressPercentHasBeenSet = true; m_fullLoadProgressPercent = value; }
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 ReplicationStats& WithElapsedTimeMillis(long long value) { SetElapsedTimeMillis(value); return *this;}
60
62
65 inline int GetTablesLoaded() const{ return m_tablesLoaded; }
66 inline bool TablesLoadedHasBeenSet() const { return m_tablesLoadedHasBeenSet; }
67 inline void SetTablesLoaded(int value) { m_tablesLoadedHasBeenSet = true; m_tablesLoaded = value; }
68 inline ReplicationStats& WithTablesLoaded(int value) { SetTablesLoaded(value); return *this;}
70
72
75 inline int GetTablesLoading() const{ return m_tablesLoading; }
76 inline bool TablesLoadingHasBeenSet() const { return m_tablesLoadingHasBeenSet; }
77 inline void SetTablesLoading(int value) { m_tablesLoadingHasBeenSet = true; m_tablesLoading = value; }
78 inline ReplicationStats& WithTablesLoading(int value) { SetTablesLoading(value); return *this;}
80
82
85 inline int GetTablesQueued() const{ return m_tablesQueued; }
86 inline bool TablesQueuedHasBeenSet() const { return m_tablesQueuedHasBeenSet; }
87 inline void SetTablesQueued(int value) { m_tablesQueuedHasBeenSet = true; m_tablesQueued = value; }
88 inline ReplicationStats& WithTablesQueued(int value) { SetTablesQueued(value); return *this;}
90
92
95 inline int GetTablesErrored() const{ return m_tablesErrored; }
96 inline bool TablesErroredHasBeenSet() const { return m_tablesErroredHasBeenSet; }
97 inline void SetTablesErrored(int value) { m_tablesErroredHasBeenSet = true; m_tablesErrored = value; }
98 inline ReplicationStats& WithTablesErrored(int value) { SetTablesErrored(value); return *this;}
100
102
106 inline const Aws::Utils::DateTime& GetFreshStartDate() const{ return m_freshStartDate; }
107 inline bool FreshStartDateHasBeenSet() const { return m_freshStartDateHasBeenSet; }
108 inline void SetFreshStartDate(const Aws::Utils::DateTime& value) { m_freshStartDateHasBeenSet = true; m_freshStartDate = value; }
109 inline void SetFreshStartDate(Aws::Utils::DateTime&& value) { m_freshStartDateHasBeenSet = true; m_freshStartDate = std::move(value); }
110 inline ReplicationStats& WithFreshStartDate(const Aws::Utils::DateTime& value) { SetFreshStartDate(value); return *this;}
111 inline ReplicationStats& WithFreshStartDate(Aws::Utils::DateTime&& value) { SetFreshStartDate(std::move(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
119 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
120 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
121 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
122 inline ReplicationStats& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
123 inline ReplicationStats& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetStopDate() const{ return m_stopDate; }
131 inline bool StopDateHasBeenSet() const { return m_stopDateHasBeenSet; }
132 inline void SetStopDate(const Aws::Utils::DateTime& value) { m_stopDateHasBeenSet = true; m_stopDate = value; }
133 inline void SetStopDate(Aws::Utils::DateTime&& value) { m_stopDateHasBeenSet = true; m_stopDate = std::move(value); }
134 inline ReplicationStats& WithStopDate(const Aws::Utils::DateTime& value) { SetStopDate(value); return *this;}
135 inline ReplicationStats& WithStopDate(Aws::Utils::DateTime&& value) { SetStopDate(std::move(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetFullLoadStartDate() const{ return m_fullLoadStartDate; }
143 inline bool FullLoadStartDateHasBeenSet() const { return m_fullLoadStartDateHasBeenSet; }
144 inline void SetFullLoadStartDate(const Aws::Utils::DateTime& value) { m_fullLoadStartDateHasBeenSet = true; m_fullLoadStartDate = value; }
145 inline void SetFullLoadStartDate(Aws::Utils::DateTime&& value) { m_fullLoadStartDateHasBeenSet = true; m_fullLoadStartDate = std::move(value); }
147 inline ReplicationStats& WithFullLoadStartDate(Aws::Utils::DateTime&& value) { SetFullLoadStartDate(std::move(value)); return *this;}
149
151
154 inline const Aws::Utils::DateTime& GetFullLoadFinishDate() const{ return m_fullLoadFinishDate; }
155 inline bool FullLoadFinishDateHasBeenSet() const { return m_fullLoadFinishDateHasBeenSet; }
156 inline void SetFullLoadFinishDate(const Aws::Utils::DateTime& value) { m_fullLoadFinishDateHasBeenSet = true; m_fullLoadFinishDate = value; }
157 inline void SetFullLoadFinishDate(Aws::Utils::DateTime&& value) { m_fullLoadFinishDateHasBeenSet = true; m_fullLoadFinishDate = std::move(value); }
159 inline ReplicationStats& WithFullLoadFinishDate(Aws::Utils::DateTime&& value) { SetFullLoadFinishDate(std::move(value)); return *this;}
161 private:
162
163 int m_fullLoadProgressPercent;
164 bool m_fullLoadProgressPercentHasBeenSet = false;
165
166 long long m_elapsedTimeMillis;
167 bool m_elapsedTimeMillisHasBeenSet = false;
168
169 int m_tablesLoaded;
170 bool m_tablesLoadedHasBeenSet = false;
171
172 int m_tablesLoading;
173 bool m_tablesLoadingHasBeenSet = false;
174
175 int m_tablesQueued;
176 bool m_tablesQueuedHasBeenSet = false;
177
178 int m_tablesErrored;
179 bool m_tablesErroredHasBeenSet = false;
180
181 Aws::Utils::DateTime m_freshStartDate;
182 bool m_freshStartDateHasBeenSet = false;
183
184 Aws::Utils::DateTime m_startDate;
185 bool m_startDateHasBeenSet = false;
186
187 Aws::Utils::DateTime m_stopDate;
188 bool m_stopDateHasBeenSet = false;
189
190 Aws::Utils::DateTime m_fullLoadStartDate;
191 bool m_fullLoadStartDateHasBeenSet = false;
192
193 Aws::Utils::DateTime m_fullLoadFinishDate;
194 bool m_fullLoadFinishDateHasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace DatabaseMigrationService
199} // namespace Aws
ReplicationStats & WithFullLoadFinishDate(const Aws::Utils::DateTime &value)
void SetFullLoadFinishDate(const Aws::Utils::DateTime &value)
void SetStartDate(const Aws::Utils::DateTime &value)
ReplicationStats & WithFullLoadStartDate(const Aws::Utils::DateTime &value)
ReplicationStats & WithFullLoadFinishDate(Aws::Utils::DateTime &&value)
ReplicationStats & WithFreshStartDate(Aws::Utils::DateTime &&value)
void SetFullLoadStartDate(Aws::Utils::DateTime &&value)
void SetStopDate(const Aws::Utils::DateTime &value)
ReplicationStats & WithStopDate(const Aws::Utils::DateTime &value)
void SetFullLoadStartDate(const Aws::Utils::DateTime &value)
ReplicationStats & WithElapsedTimeMillis(long long value)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationStats & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicationStats & WithStopDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartDate() const
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetFreshStartDate() const
const Aws::Utils::DateTime & GetFullLoadFinishDate() const
ReplicationStats & WithFreshStartDate(const Aws::Utils::DateTime &value)
void SetFreshStartDate(const Aws::Utils::DateTime &value)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationStats()
const Aws::Utils::DateTime & GetFullLoadStartDate() const
ReplicationStats & WithFullLoadStartDate(Aws::Utils::DateTime &&value)
ReplicationStats & WithStartDate(const Aws::Utils::DateTime &value)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationStats(Aws::Utils::Json::JsonView jsonValue)
ReplicationStats & WithStartDate(Aws::Utils::DateTime &&value)
void SetFullLoadFinishDate(Aws::Utils::DateTime &&value)
Aws::Utils::Json::JsonValue JsonValue