AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ReplicationTaskStats.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
34 {
35 public:
36 AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskStats() = default;
37 AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskStats(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskStats& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline int GetFullLoadProgressPercent() const { return m_fullLoadProgressPercent; }
47 inline bool FullLoadProgressPercentHasBeenSet() const { return m_fullLoadProgressPercentHasBeenSet; }
48 inline void SetFullLoadProgressPercent(int value) { m_fullLoadProgressPercentHasBeenSet = true; m_fullLoadProgressPercent = value; }
51
53
56 inline long long GetElapsedTimeMillis() const { return m_elapsedTimeMillis; }
57 inline bool ElapsedTimeMillisHasBeenSet() const { return m_elapsedTimeMillisHasBeenSet; }
58 inline void SetElapsedTimeMillis(long long value) { m_elapsedTimeMillisHasBeenSet = true; m_elapsedTimeMillis = value; }
59 inline ReplicationTaskStats& WithElapsedTimeMillis(long long value) { SetElapsedTimeMillis(value); return *this;}
61
63
66 inline int GetTablesLoaded() const { return m_tablesLoaded; }
67 inline bool TablesLoadedHasBeenSet() const { return m_tablesLoadedHasBeenSet; }
68 inline void SetTablesLoaded(int value) { m_tablesLoadedHasBeenSet = true; m_tablesLoaded = value; }
69 inline ReplicationTaskStats& WithTablesLoaded(int value) { SetTablesLoaded(value); return *this;}
71
73
76 inline int GetTablesLoading() const { return m_tablesLoading; }
77 inline bool TablesLoadingHasBeenSet() const { return m_tablesLoadingHasBeenSet; }
78 inline void SetTablesLoading(int value) { m_tablesLoadingHasBeenSet = true; m_tablesLoading = value; }
79 inline ReplicationTaskStats& WithTablesLoading(int value) { SetTablesLoading(value); return *this;}
81
83
86 inline int GetTablesQueued() const { return m_tablesQueued; }
87 inline bool TablesQueuedHasBeenSet() const { return m_tablesQueuedHasBeenSet; }
88 inline void SetTablesQueued(int value) { m_tablesQueuedHasBeenSet = true; m_tablesQueued = value; }
89 inline ReplicationTaskStats& WithTablesQueued(int value) { SetTablesQueued(value); return *this;}
91
93
96 inline int GetTablesErrored() const { return m_tablesErrored; }
97 inline bool TablesErroredHasBeenSet() const { return m_tablesErroredHasBeenSet; }
98 inline void SetTablesErrored(int value) { m_tablesErroredHasBeenSet = true; m_tablesErrored = value; }
99 inline ReplicationTaskStats& WithTablesErrored(int value) { SetTablesErrored(value); return *this;}
101
103
107 inline const Aws::Utils::DateTime& GetFreshStartDate() const { return m_freshStartDate; }
108 inline bool FreshStartDateHasBeenSet() const { return m_freshStartDateHasBeenSet; }
109 template<typename FreshStartDateT = Aws::Utils::DateTime>
110 void SetFreshStartDate(FreshStartDateT&& value) { m_freshStartDateHasBeenSet = true; m_freshStartDate = std::forward<FreshStartDateT>(value); }
111 template<typename FreshStartDateT = Aws::Utils::DateTime>
112 ReplicationTaskStats& WithFreshStartDate(FreshStartDateT&& value) { SetFreshStartDate(std::forward<FreshStartDateT>(value)); return *this;}
114
116
121 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
122 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
123 template<typename StartDateT = Aws::Utils::DateTime>
124 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet = true; m_startDate = std::forward<StartDateT>(value); }
125 template<typename StartDateT = Aws::Utils::DateTime>
126 ReplicationTaskStats& WithStartDate(StartDateT&& value) { SetStartDate(std::forward<StartDateT>(value)); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetStopDate() const { return m_stopDate; }
134 inline bool StopDateHasBeenSet() const { return m_stopDateHasBeenSet; }
135 template<typename StopDateT = Aws::Utils::DateTime>
136 void SetStopDate(StopDateT&& value) { m_stopDateHasBeenSet = true; m_stopDate = std::forward<StopDateT>(value); }
137 template<typename StopDateT = Aws::Utils::DateTime>
138 ReplicationTaskStats& WithStopDate(StopDateT&& value) { SetStopDate(std::forward<StopDateT>(value)); return *this;}
140
142
145 inline const Aws::Utils::DateTime& GetFullLoadStartDate() const { return m_fullLoadStartDate; }
146 inline bool FullLoadStartDateHasBeenSet() const { return m_fullLoadStartDateHasBeenSet; }
147 template<typename FullLoadStartDateT = Aws::Utils::DateTime>
148 void SetFullLoadStartDate(FullLoadStartDateT&& value) { m_fullLoadStartDateHasBeenSet = true; m_fullLoadStartDate = std::forward<FullLoadStartDateT>(value); }
149 template<typename FullLoadStartDateT = Aws::Utils::DateTime>
150 ReplicationTaskStats& WithFullLoadStartDate(FullLoadStartDateT&& value) { SetFullLoadStartDate(std::forward<FullLoadStartDateT>(value)); return *this;}
152
154
157 inline const Aws::Utils::DateTime& GetFullLoadFinishDate() const { return m_fullLoadFinishDate; }
158 inline bool FullLoadFinishDateHasBeenSet() const { return m_fullLoadFinishDateHasBeenSet; }
159 template<typename FullLoadFinishDateT = Aws::Utils::DateTime>
160 void SetFullLoadFinishDate(FullLoadFinishDateT&& value) { m_fullLoadFinishDateHasBeenSet = true; m_fullLoadFinishDate = std::forward<FullLoadFinishDateT>(value); }
161 template<typename FullLoadFinishDateT = Aws::Utils::DateTime>
162 ReplicationTaskStats& WithFullLoadFinishDate(FullLoadFinishDateT&& value) { SetFullLoadFinishDate(std::forward<FullLoadFinishDateT>(value)); return *this;}
164 private:
165
166 int m_fullLoadProgressPercent{0};
167 bool m_fullLoadProgressPercentHasBeenSet = false;
168
169 long long m_elapsedTimeMillis{0};
170 bool m_elapsedTimeMillisHasBeenSet = false;
171
172 int m_tablesLoaded{0};
173 bool m_tablesLoadedHasBeenSet = false;
174
175 int m_tablesLoading{0};
176 bool m_tablesLoadingHasBeenSet = false;
177
178 int m_tablesQueued{0};
179 bool m_tablesQueuedHasBeenSet = false;
180
181 int m_tablesErrored{0};
182 bool m_tablesErroredHasBeenSet = false;
183
184 Aws::Utils::DateTime m_freshStartDate{};
185 bool m_freshStartDateHasBeenSet = false;
186
187 Aws::Utils::DateTime m_startDate{};
188 bool m_startDateHasBeenSet = false;
189
190 Aws::Utils::DateTime m_stopDate{};
191 bool m_stopDateHasBeenSet = false;
192
193 Aws::Utils::DateTime m_fullLoadStartDate{};
194 bool m_fullLoadStartDateHasBeenSet = false;
195
196 Aws::Utils::DateTime m_fullLoadFinishDate{};
197 bool m_fullLoadFinishDateHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace DatabaseMigrationService
202} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskStats()=default
ReplicationTaskStats & WithStartDate(StartDateT &&value)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskStats & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskStats(Aws::Utils::Json::JsonView jsonValue)
ReplicationTaskStats & WithFreshStartDate(FreshStartDateT &&value)
ReplicationTaskStats & WithFullLoadFinishDate(FullLoadFinishDateT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationTaskStats & WithFullLoadStartDate(FullLoadStartDateT &&value)
ReplicationTaskStats & WithElapsedTimeMillis(long long value)
Aws::Utils::Json::JsonValue JsonValue