AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
RunStatisticsForAssets.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace DataZone {
17namespace Model {
18
25 public:
26 AWS_DATAZONE_API RunStatisticsForAssets() = default;
29 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetAdded() const { return m_added; }
36 inline bool AddedHasBeenSet() const { return m_addedHasBeenSet; }
37 inline void SetAdded(int value) {
38 m_addedHasBeenSet = true;
39 m_added = value;
40 }
41 inline RunStatisticsForAssets& WithAdded(int value) {
42 SetAdded(value);
43 return *this;
44 }
46
48
51 inline int GetUpdated() const { return m_updated; }
52 inline bool UpdatedHasBeenSet() const { return m_updatedHasBeenSet; }
53 inline void SetUpdated(int value) {
54 m_updatedHasBeenSet = true;
55 m_updated = value;
56 }
58 SetUpdated(value);
59 return *this;
60 }
62
64
67 inline int GetUnchanged() const { return m_unchanged; }
68 inline bool UnchangedHasBeenSet() const { return m_unchangedHasBeenSet; }
69 inline void SetUnchanged(int value) {
70 m_unchangedHasBeenSet = true;
71 m_unchanged = value;
72 }
74 SetUnchanged(value);
75 return *this;
76 }
78
80
83 inline int GetSkipped() const { return m_skipped; }
84 inline bool SkippedHasBeenSet() const { return m_skippedHasBeenSet; }
85 inline void SetSkipped(int value) {
86 m_skippedHasBeenSet = true;
87 m_skipped = value;
88 }
90 SetSkipped(value);
91 return *this;
92 }
94
96
99 inline int GetFailed() const { return m_failed; }
100 inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; }
101 inline void SetFailed(int value) {
102 m_failedHasBeenSet = true;
103 m_failed = value;
104 }
106 SetFailed(value);
107 return *this;
108 }
110 private:
111 int m_added{0};
112
113 int m_updated{0};
114
115 int m_unchanged{0};
116
117 int m_skipped{0};
118
119 int m_failed{0};
120 bool m_addedHasBeenSet = false;
121 bool m_updatedHasBeenSet = false;
122 bool m_unchangedHasBeenSet = false;
123 bool m_skippedHasBeenSet = false;
124 bool m_failedHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace DataZone
129} // namespace Aws
AWS_DATAZONE_API RunStatisticsForAssets()=default
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
RunStatisticsForAssets & WithSkipped(int value)
RunStatisticsForAssets & WithUnchanged(int value)
RunStatisticsForAssets & WithFailed(int value)
RunStatisticsForAssets & WithAdded(int value)
AWS_DATAZONE_API RunStatisticsForAssets(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API RunStatisticsForAssets & operator=(Aws::Utils::Json::JsonView jsonValue)
RunStatisticsForAssets & WithUpdated(int value)
Aws::Utils::Json::JsonValue JsonValue