AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 private:
93
94 int m_passed;
95 bool m_passedHasBeenSet = false;
96
97 int m_failed;
98 bool m_failedHasBeenSet = false;
99
100 int m_error;
101 bool m_errorHasBeenSet = false;
102
103 int m_warning;
104 bool m_warningHasBeenSet = false;
105
106 int m_cancelled;
107 bool m_cancelledHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace DatabaseMigrationService
112} // 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::Utils::Json::JsonValue JsonValue