AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ReplicationTaskAssessmentRunResultStatistic.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DatabaseMigrationService
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskAssessmentRunResultStatistic() = default;
36 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline int GetPassed() const { return m_passed; }
45 inline bool PassedHasBeenSet() const { return m_passedHasBeenSet; }
46 inline void SetPassed(int value) { m_passedHasBeenSet = true; m_passed = value; }
47 inline ReplicationTaskAssessmentRunResultStatistic& WithPassed(int value) { SetPassed(value); return *this;}
49
51
55 inline int GetFailed() const { return m_failed; }
56 inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; }
57 inline void SetFailed(int value) { m_failedHasBeenSet = true; m_failed = value; }
58 inline ReplicationTaskAssessmentRunResultStatistic& WithFailed(int value) { SetFailed(value); return *this;}
60
62
66 inline int GetError() const { return m_error; }
67 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
68 inline void SetError(int value) { m_errorHasBeenSet = true; m_error = value; }
69 inline ReplicationTaskAssessmentRunResultStatistic& WithError(int value) { SetError(value); return *this;}
71
73
76 inline int GetWarning() const { return m_warning; }
77 inline bool WarningHasBeenSet() const { return m_warningHasBeenSet; }
78 inline void SetWarning(int value) { m_warningHasBeenSet = true; m_warning = value; }
79 inline ReplicationTaskAssessmentRunResultStatistic& WithWarning(int value) { SetWarning(value); return *this;}
81
83
87 inline int GetCancelled() const { return m_cancelled; }
88 inline bool CancelledHasBeenSet() const { return m_cancelledHasBeenSet; }
89 inline void SetCancelled(int value) { m_cancelledHasBeenSet = true; m_cancelled = value; }
92
94
98 inline int GetSkipped() const { return m_skipped; }
99 inline bool SkippedHasBeenSet() const { return m_skippedHasBeenSet; }
100 inline void SetSkipped(int value) { m_skippedHasBeenSet = true; m_skipped = value; }
101 inline ReplicationTaskAssessmentRunResultStatistic& WithSkipped(int value) { SetSkipped(value); return *this;}
103 private:
104
105 int m_passed{0};
106 bool m_passedHasBeenSet = false;
107
108 int m_failed{0};
109 bool m_failedHasBeenSet = false;
110
111 int m_error{0};
112 bool m_errorHasBeenSet = false;
113
114 int m_warning{0};
115 bool m_warningHasBeenSet = false;
116
117 int m_cancelled{0};
118 bool m_cancelledHasBeenSet = false;
119
120 int m_skipped{0};
121 bool m_skippedHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace DatabaseMigrationService
126} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskAssessmentRunResultStatistic & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskAssessmentRunResultStatistic(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API ReplicationTaskAssessmentRunResultStatistic()=default
Aws::Utils::Json::JsonValue JsonValue