AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFreshStartDate(const Aws::Utils::DateTime& value) { m_freshStartDateHasBeenSet = true; m_freshStartDate = value; }
110 inline void SetFreshStartDate(Aws::Utils::DateTime&& value) { m_freshStartDateHasBeenSet = true; m_freshStartDate = std::move(value); }
112 inline ReplicationTaskStats& WithFreshStartDate(Aws::Utils::DateTime&& value) { SetFreshStartDate(std::move(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 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
124 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
125 inline ReplicationTaskStats& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
126 inline ReplicationTaskStats& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(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 inline void SetStopDate(const Aws::Utils::DateTime& value) { m_stopDateHasBeenSet = true; m_stopDate = value; }
136 inline void SetStopDate(Aws::Utils::DateTime&& value) { m_stopDateHasBeenSet = true; m_stopDate = std::move(value); }
137 inline ReplicationTaskStats& WithStopDate(const Aws::Utils::DateTime& value) { SetStopDate(value); return *this;}
138 inline ReplicationTaskStats& WithStopDate(Aws::Utils::DateTime&& value) { SetStopDate(std::move(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 inline void SetFullLoadStartDate(const Aws::Utils::DateTime& value) { m_fullLoadStartDateHasBeenSet = true; m_fullLoadStartDate = value; }
148 inline void SetFullLoadStartDate(Aws::Utils::DateTime&& value) { m_fullLoadStartDateHasBeenSet = true; m_fullLoadStartDate = std::move(value); }
150 inline ReplicationTaskStats& WithFullLoadStartDate(Aws::Utils::DateTime&& value) { SetFullLoadStartDate(std::move(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 inline void SetFullLoadFinishDate(const Aws::Utils::DateTime& value) { m_fullLoadFinishDateHasBeenSet = true; m_fullLoadFinishDate = value; }
160 inline void SetFullLoadFinishDate(Aws::Utils::DateTime&& value) { m_fullLoadFinishDateHasBeenSet = true; m_fullLoadFinishDate = std::move(value); }
164 private:
165
166 int m_fullLoadProgressPercent;
167 bool m_fullLoadProgressPercentHasBeenSet = false;
168
169 long long m_elapsedTimeMillis;
170 bool m_elapsedTimeMillisHasBeenSet = false;
171
172 int m_tablesLoaded;
173 bool m_tablesLoadedHasBeenSet = false;
174
175 int m_tablesLoading;
176 bool m_tablesLoadingHasBeenSet = false;
177
178 int m_tablesQueued;
179 bool m_tablesQueuedHasBeenSet = false;
180
181 int m_tablesErrored;
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
ReplicationTaskStats & WithStopDate(Aws::Utils::DateTime &&value)
ReplicationTaskStats & WithFreshStartDate(const Aws::Utils::DateTime &value)
ReplicationTaskStats & WithFullLoadFinishDate(Aws::Utils::DateTime &&value)
void SetFullLoadFinishDate(const Aws::Utils::DateTime &value)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskStats & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskStats(Aws::Utils::Json::JsonView jsonValue)
void SetFullLoadStartDate(const Aws::Utils::DateTime &value)
ReplicationTaskStats & WithFreshStartDate(Aws::Utils::DateTime &&value)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskStats()
ReplicationTaskStats & WithStopDate(const Aws::Utils::DateTime &value)
ReplicationTaskStats & WithFullLoadStartDate(Aws::Utils::DateTime &&value)
ReplicationTaskStats & WithStartDate(Aws::Utils::DateTime &&value)
ReplicationTaskStats & WithFullLoadFinishDate(const Aws::Utils::DateTime &value)
ReplicationTaskStats & WithFullLoadStartDate(const Aws::Utils::DateTime &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationTaskStats & WithElapsedTimeMillis(long long value)
ReplicationTaskStats & WithStartDate(const Aws::Utils::DateTime &value)
Aws::Utils::Json::JsonValue JsonValue