AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicationTaskAssessmentRun.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/dms/model/ReplicationTaskAssessmentRunProgress.h>
11#include <aws/dms/model/ReplicationTaskAssessmentRunResultStatistic.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DatabaseMigrationService
25{
26namespace Model
27{
28
39 {
40 public:
41 AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskAssessmentRun();
42 AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskAssessmentRun(Aws::Utils::Json::JsonView jsonValue);
43 AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskAssessmentRun& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetReplicationTaskAssessmentRunArn() const{ return m_replicationTaskAssessmentRunArn; }
52 inline bool ReplicationTaskAssessmentRunArnHasBeenSet() const { return m_replicationTaskAssessmentRunArnHasBeenSet; }
53 inline void SetReplicationTaskAssessmentRunArn(const Aws::String& value) { m_replicationTaskAssessmentRunArnHasBeenSet = true; m_replicationTaskAssessmentRunArn = value; }
54 inline void SetReplicationTaskAssessmentRunArn(Aws::String&& value) { m_replicationTaskAssessmentRunArnHasBeenSet = true; m_replicationTaskAssessmentRunArn = std::move(value); }
55 inline void SetReplicationTaskAssessmentRunArn(const char* value) { m_replicationTaskAssessmentRunArnHasBeenSet = true; m_replicationTaskAssessmentRunArn.assign(value); }
60
62
66 inline const Aws::String& GetReplicationTaskArn() const{ return m_replicationTaskArn; }
67 inline bool ReplicationTaskArnHasBeenSet() const { return m_replicationTaskArnHasBeenSet; }
68 inline void SetReplicationTaskArn(const Aws::String& value) { m_replicationTaskArnHasBeenSet = true; m_replicationTaskArn = value; }
69 inline void SetReplicationTaskArn(Aws::String&& value) { m_replicationTaskArnHasBeenSet = true; m_replicationTaskArn = std::move(value); }
70 inline void SetReplicationTaskArn(const char* value) { m_replicationTaskArnHasBeenSet = true; m_replicationTaskArn.assign(value); }
72 inline ReplicationTaskAssessmentRun& WithReplicationTaskArn(Aws::String&& value) { SetReplicationTaskArn(std::move(value)); return *this;}
73 inline ReplicationTaskAssessmentRun& WithReplicationTaskArn(const char* value) { SetReplicationTaskArn(value); return *this;}
75
77
98 inline const Aws::String& GetStatus() const{ return m_status; }
99 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
100 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
101 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
102 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
103 inline ReplicationTaskAssessmentRun& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
104 inline ReplicationTaskAssessmentRun& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
105 inline ReplicationTaskAssessmentRun& WithStatus(const char* value) { SetStatus(value); return *this;}
107
109
113 inline const Aws::Utils::DateTime& GetReplicationTaskAssessmentRunCreationDate() const{ return m_replicationTaskAssessmentRunCreationDate; }
114 inline bool ReplicationTaskAssessmentRunCreationDateHasBeenSet() const { return m_replicationTaskAssessmentRunCreationDateHasBeenSet; }
115 inline void SetReplicationTaskAssessmentRunCreationDate(const Aws::Utils::DateTime& value) { m_replicationTaskAssessmentRunCreationDateHasBeenSet = true; m_replicationTaskAssessmentRunCreationDate = value; }
116 inline void SetReplicationTaskAssessmentRunCreationDate(Aws::Utils::DateTime&& value) { m_replicationTaskAssessmentRunCreationDateHasBeenSet = true; m_replicationTaskAssessmentRunCreationDate = std::move(value); }
120
122
126 inline const ReplicationTaskAssessmentRunProgress& GetAssessmentProgress() const{ return m_assessmentProgress; }
127 inline bool AssessmentProgressHasBeenSet() const { return m_assessmentProgressHasBeenSet; }
128 inline void SetAssessmentProgress(const ReplicationTaskAssessmentRunProgress& value) { m_assessmentProgressHasBeenSet = true; m_assessmentProgress = value; }
129 inline void SetAssessmentProgress(ReplicationTaskAssessmentRunProgress&& value) { m_assessmentProgressHasBeenSet = true; m_assessmentProgress = std::move(value); }
133
135
138 inline const Aws::String& GetLastFailureMessage() const{ return m_lastFailureMessage; }
139 inline bool LastFailureMessageHasBeenSet() const { return m_lastFailureMessageHasBeenSet; }
140 inline void SetLastFailureMessage(const Aws::String& value) { m_lastFailureMessageHasBeenSet = true; m_lastFailureMessage = value; }
141 inline void SetLastFailureMessage(Aws::String&& value) { m_lastFailureMessageHasBeenSet = true; m_lastFailureMessage = std::move(value); }
142 inline void SetLastFailureMessage(const char* value) { m_lastFailureMessageHasBeenSet = true; m_lastFailureMessage.assign(value); }
145 inline ReplicationTaskAssessmentRun& WithLastFailureMessage(const char* value) { SetLastFailureMessage(value); return *this;}
147
149
154 inline const Aws::String& GetServiceAccessRoleArn() const{ return m_serviceAccessRoleArn; }
155 inline bool ServiceAccessRoleArnHasBeenSet() const { return m_serviceAccessRoleArnHasBeenSet; }
156 inline void SetServiceAccessRoleArn(const Aws::String& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = value; }
157 inline void SetServiceAccessRoleArn(Aws::String&& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = std::move(value); }
158 inline void SetServiceAccessRoleArn(const char* value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn.assign(value); }
161 inline ReplicationTaskAssessmentRun& WithServiceAccessRoleArn(const char* value) { SetServiceAccessRoleArn(value); return *this;}
163
165
168 inline const Aws::String& GetResultLocationBucket() const{ return m_resultLocationBucket; }
169 inline bool ResultLocationBucketHasBeenSet() const { return m_resultLocationBucketHasBeenSet; }
170 inline void SetResultLocationBucket(const Aws::String& value) { m_resultLocationBucketHasBeenSet = true; m_resultLocationBucket = value; }
171 inline void SetResultLocationBucket(Aws::String&& value) { m_resultLocationBucketHasBeenSet = true; m_resultLocationBucket = std::move(value); }
172 inline void SetResultLocationBucket(const char* value) { m_resultLocationBucketHasBeenSet = true; m_resultLocationBucket.assign(value); }
175 inline ReplicationTaskAssessmentRun& WithResultLocationBucket(const char* value) { SetResultLocationBucket(value); return *this;}
177
179
183 inline const Aws::String& GetResultLocationFolder() const{ return m_resultLocationFolder; }
184 inline bool ResultLocationFolderHasBeenSet() const { return m_resultLocationFolderHasBeenSet; }
185 inline void SetResultLocationFolder(const Aws::String& value) { m_resultLocationFolderHasBeenSet = true; m_resultLocationFolder = value; }
186 inline void SetResultLocationFolder(Aws::String&& value) { m_resultLocationFolderHasBeenSet = true; m_resultLocationFolder = std::move(value); }
187 inline void SetResultLocationFolder(const char* value) { m_resultLocationFolderHasBeenSet = true; m_resultLocationFolder.assign(value); }
190 inline ReplicationTaskAssessmentRun& WithResultLocationFolder(const char* value) { SetResultLocationFolder(value); return *this;}
192
194
197 inline const Aws::String& GetResultEncryptionMode() const{ return m_resultEncryptionMode; }
198 inline bool ResultEncryptionModeHasBeenSet() const { return m_resultEncryptionModeHasBeenSet; }
199 inline void SetResultEncryptionMode(const Aws::String& value) { m_resultEncryptionModeHasBeenSet = true; m_resultEncryptionMode = value; }
200 inline void SetResultEncryptionMode(Aws::String&& value) { m_resultEncryptionModeHasBeenSet = true; m_resultEncryptionMode = std::move(value); }
201 inline void SetResultEncryptionMode(const char* value) { m_resultEncryptionModeHasBeenSet = true; m_resultEncryptionMode.assign(value); }
204 inline ReplicationTaskAssessmentRun& WithResultEncryptionMode(const char* value) { SetResultEncryptionMode(value); return *this;}
206
208
211 inline const Aws::String& GetResultKmsKeyArn() const{ return m_resultKmsKeyArn; }
212 inline bool ResultKmsKeyArnHasBeenSet() const { return m_resultKmsKeyArnHasBeenSet; }
213 inline void SetResultKmsKeyArn(const Aws::String& value) { m_resultKmsKeyArnHasBeenSet = true; m_resultKmsKeyArn = value; }
214 inline void SetResultKmsKeyArn(Aws::String&& value) { m_resultKmsKeyArnHasBeenSet = true; m_resultKmsKeyArn = std::move(value); }
215 inline void SetResultKmsKeyArn(const char* value) { m_resultKmsKeyArnHasBeenSet = true; m_resultKmsKeyArn.assign(value); }
217 inline ReplicationTaskAssessmentRun& WithResultKmsKeyArn(Aws::String&& value) { SetResultKmsKeyArn(std::move(value)); return *this;}
218 inline ReplicationTaskAssessmentRun& WithResultKmsKeyArn(const char* value) { SetResultKmsKeyArn(value); return *this;}
220
222
225 inline const Aws::String& GetAssessmentRunName() const{ return m_assessmentRunName; }
226 inline bool AssessmentRunNameHasBeenSet() const { return m_assessmentRunNameHasBeenSet; }
227 inline void SetAssessmentRunName(const Aws::String& value) { m_assessmentRunNameHasBeenSet = true; m_assessmentRunName = value; }
228 inline void SetAssessmentRunName(Aws::String&& value) { m_assessmentRunNameHasBeenSet = true; m_assessmentRunName = std::move(value); }
229 inline void SetAssessmentRunName(const char* value) { m_assessmentRunNameHasBeenSet = true; m_assessmentRunName.assign(value); }
231 inline ReplicationTaskAssessmentRun& WithAssessmentRunName(Aws::String&& value) { SetAssessmentRunName(std::move(value)); return *this;}
232 inline ReplicationTaskAssessmentRun& WithAssessmentRunName(const char* value) { SetAssessmentRunName(value); return *this;}
234
236
240 inline bool GetIsLatestTaskAssessmentRun() const{ return m_isLatestTaskAssessmentRun; }
241 inline bool IsLatestTaskAssessmentRunHasBeenSet() const { return m_isLatestTaskAssessmentRunHasBeenSet; }
242 inline void SetIsLatestTaskAssessmentRun(bool value) { m_isLatestTaskAssessmentRunHasBeenSet = true; m_isLatestTaskAssessmentRun = value; }
245
247
252 inline const ReplicationTaskAssessmentRunResultStatistic& GetResultStatistic() const{ return m_resultStatistic; }
253 inline bool ResultStatisticHasBeenSet() const { return m_resultStatisticHasBeenSet; }
254 inline void SetResultStatistic(const ReplicationTaskAssessmentRunResultStatistic& value) { m_resultStatisticHasBeenSet = true; m_resultStatistic = value; }
255 inline void SetResultStatistic(ReplicationTaskAssessmentRunResultStatistic&& value) { m_resultStatisticHasBeenSet = true; m_resultStatistic = std::move(value); }
259 private:
260
261 Aws::String m_replicationTaskAssessmentRunArn;
262 bool m_replicationTaskAssessmentRunArnHasBeenSet = false;
263
264 Aws::String m_replicationTaskArn;
265 bool m_replicationTaskArnHasBeenSet = false;
266
267 Aws::String m_status;
268 bool m_statusHasBeenSet = false;
269
270 Aws::Utils::DateTime m_replicationTaskAssessmentRunCreationDate;
271 bool m_replicationTaskAssessmentRunCreationDateHasBeenSet = false;
272
273 ReplicationTaskAssessmentRunProgress m_assessmentProgress;
274 bool m_assessmentProgressHasBeenSet = false;
275
276 Aws::String m_lastFailureMessage;
277 bool m_lastFailureMessageHasBeenSet = false;
278
279 Aws::String m_serviceAccessRoleArn;
280 bool m_serviceAccessRoleArnHasBeenSet = false;
281
282 Aws::String m_resultLocationBucket;
283 bool m_resultLocationBucketHasBeenSet = false;
284
285 Aws::String m_resultLocationFolder;
286 bool m_resultLocationFolderHasBeenSet = false;
287
288 Aws::String m_resultEncryptionMode;
289 bool m_resultEncryptionModeHasBeenSet = false;
290
291 Aws::String m_resultKmsKeyArn;
292 bool m_resultKmsKeyArnHasBeenSet = false;
293
294 Aws::String m_assessmentRunName;
295 bool m_assessmentRunNameHasBeenSet = false;
296
297 bool m_isLatestTaskAssessmentRun;
298 bool m_isLatestTaskAssessmentRunHasBeenSet = false;
299
301 bool m_resultStatisticHasBeenSet = false;
302 };
303
304} // namespace Model
305} // namespace DatabaseMigrationService
306} // namespace Aws
ReplicationTaskAssessmentRun & WithReplicationTaskAssessmentRunCreationDate(Aws::Utils::DateTime &&value)
ReplicationTaskAssessmentRun & WithResultStatistic(const ReplicationTaskAssessmentRunResultStatistic &value)
ReplicationTaskAssessmentRun & WithReplicationTaskAssessmentRunArn(Aws::String &&value)
ReplicationTaskAssessmentRun & WithResultKmsKeyArn(Aws::String &&value)
ReplicationTaskAssessmentRun & WithResultLocationBucket(Aws::String &&value)
ReplicationTaskAssessmentRun & WithResultLocationFolder(const char *value)
ReplicationTaskAssessmentRun & WithResultLocationFolder(const Aws::String &value)
ReplicationTaskAssessmentRun & WithLastFailureMessage(Aws::String &&value)
ReplicationTaskAssessmentRun & WithResultLocationFolder(Aws::String &&value)
ReplicationTaskAssessmentRun & WithResultKmsKeyArn(const Aws::String &value)
ReplicationTaskAssessmentRun & WithResultLocationBucket(const char *value)
ReplicationTaskAssessmentRun & WithAssessmentProgress(ReplicationTaskAssessmentRunProgress &&value)
void SetResultStatistic(ReplicationTaskAssessmentRunResultStatistic &&value)
ReplicationTaskAssessmentRun & WithReplicationTaskAssessmentRunArn(const char *value)
ReplicationTaskAssessmentRun & WithResultStatistic(ReplicationTaskAssessmentRunResultStatistic &&value)
ReplicationTaskAssessmentRun & WithResultLocationBucket(const Aws::String &value)
ReplicationTaskAssessmentRun & WithAssessmentRunName(const Aws::String &value)
ReplicationTaskAssessmentRun & WithServiceAccessRoleArn(Aws::String &&value)
ReplicationTaskAssessmentRun & WithReplicationTaskArn(const Aws::String &value)
ReplicationTaskAssessmentRun & WithLastFailureMessage(const Aws::String &value)
ReplicationTaskAssessmentRun & WithStatus(const Aws::String &value)
ReplicationTaskAssessmentRun & WithReplicationTaskArn(Aws::String &&value)
void SetAssessmentProgress(ReplicationTaskAssessmentRunProgress &&value)
ReplicationTaskAssessmentRun & WithReplicationTaskArn(const char *value)
const ReplicationTaskAssessmentRunProgress & GetAssessmentProgress() const
const ReplicationTaskAssessmentRunResultStatistic & GetResultStatistic() const
AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskAssessmentRun & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicationTaskAssessmentRun & WithReplicationTaskAssessmentRunArn(const Aws::String &value)
ReplicationTaskAssessmentRun & WithReplicationTaskAssessmentRunCreationDate(const Aws::Utils::DateTime &value)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskAssessmentRun(Aws::Utils::Json::JsonView jsonValue)
ReplicationTaskAssessmentRun & WithResultEncryptionMode(Aws::String &&value)
ReplicationTaskAssessmentRun & WithLastFailureMessage(const char *value)
ReplicationTaskAssessmentRun & WithResultEncryptionMode(const Aws::String &value)
ReplicationTaskAssessmentRun & WithResultEncryptionMode(const char *value)
ReplicationTaskAssessmentRun & WithServiceAccessRoleArn(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationTaskAssessmentRun & WithAssessmentRunName(const char *value)
ReplicationTaskAssessmentRun & WithServiceAccessRoleArn(const Aws::String &value)
ReplicationTaskAssessmentRun & WithAssessmentRunName(Aws::String &&value)
void SetAssessmentProgress(const ReplicationTaskAssessmentRunProgress &value)
void SetResultStatistic(const ReplicationTaskAssessmentRunResultStatistic &value)
ReplicationTaskAssessmentRun & WithAssessmentProgress(const ReplicationTaskAssessmentRunProgress &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue