AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
MetadataTransferJobProgress.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace IoTTwinMaker {
17namespace Model {
18
25 public:
26 AWS_IOTTWINMAKER_API MetadataTransferJobProgress() = default;
29 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetTotalCount() const { return m_totalCount; }
36 inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
37 inline void SetTotalCount(int value) {
38 m_totalCountHasBeenSet = true;
39 m_totalCount = value;
40 }
42 SetTotalCount(value);
43 return *this;
44 }
46
48
51 inline int GetSucceededCount() const { return m_succeededCount; }
52 inline bool SucceededCountHasBeenSet() const { return m_succeededCountHasBeenSet; }
53 inline void SetSucceededCount(int value) {
54 m_succeededCountHasBeenSet = true;
55 m_succeededCount = value;
56 }
58 SetSucceededCount(value);
59 return *this;
60 }
62
64
67 inline int GetSkippedCount() const { return m_skippedCount; }
68 inline bool SkippedCountHasBeenSet() const { return m_skippedCountHasBeenSet; }
69 inline void SetSkippedCount(int value) {
70 m_skippedCountHasBeenSet = true;
71 m_skippedCount = value;
72 }
74 SetSkippedCount(value);
75 return *this;
76 }
78
80
83 inline int GetFailedCount() const { return m_failedCount; }
84 inline bool FailedCountHasBeenSet() const { return m_failedCountHasBeenSet; }
85 inline void SetFailedCount(int value) {
86 m_failedCountHasBeenSet = true;
87 m_failedCount = value;
88 }
90 SetFailedCount(value);
91 return *this;
92 }
94 private:
95 int m_totalCount{0};
96
97 int m_succeededCount{0};
98
99 int m_skippedCount{0};
100
101 int m_failedCount{0};
102 bool m_totalCountHasBeenSet = false;
103 bool m_succeededCountHasBeenSet = false;
104 bool m_skippedCountHasBeenSet = false;
105 bool m_failedCountHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace IoTTwinMaker
110} // namespace Aws
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTTWINMAKER_API MetadataTransferJobProgress(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTWINMAKER_API MetadataTransferJobProgress & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTWINMAKER_API MetadataTransferJobProgress()=default
MetadataTransferJobProgress & WithSucceededCount(int value)
Aws::Utils::Json::JsonValue JsonValue