AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MetadataTransferJobProgress.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_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 IoTTwinMaker
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_IOTTWINMAKER_API MetadataTransferJobProgress() = default;
35 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetTotalCount() const { return m_totalCount; }
43 inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
44 inline void SetTotalCount(int value) { m_totalCountHasBeenSet = true; m_totalCount = value; }
45 inline MetadataTransferJobProgress& WithTotalCount(int value) { SetTotalCount(value); return *this;}
47
49
52 inline int GetSucceededCount() const { return m_succeededCount; }
53 inline bool SucceededCountHasBeenSet() const { return m_succeededCountHasBeenSet; }
54 inline void SetSucceededCount(int value) { m_succeededCountHasBeenSet = true; m_succeededCount = value; }
55 inline MetadataTransferJobProgress& WithSucceededCount(int value) { SetSucceededCount(value); return *this;}
57
59
62 inline int GetSkippedCount() const { return m_skippedCount; }
63 inline bool SkippedCountHasBeenSet() const { return m_skippedCountHasBeenSet; }
64 inline void SetSkippedCount(int value) { m_skippedCountHasBeenSet = true; m_skippedCount = value; }
65 inline MetadataTransferJobProgress& WithSkippedCount(int value) { SetSkippedCount(value); return *this;}
67
69
72 inline int GetFailedCount() const { return m_failedCount; }
73 inline bool FailedCountHasBeenSet() const { return m_failedCountHasBeenSet; }
74 inline void SetFailedCount(int value) { m_failedCountHasBeenSet = true; m_failedCount = value; }
75 inline MetadataTransferJobProgress& WithFailedCount(int value) { SetFailedCount(value); return *this;}
77 private:
78
79 int m_totalCount{0};
80 bool m_totalCountHasBeenSet = false;
81
82 int m_succeededCount{0};
83 bool m_succeededCountHasBeenSet = false;
84
85 int m_skippedCount{0};
86 bool m_skippedCountHasBeenSet = false;
87
88 int m_failedCount{0};
89 bool m_failedCountHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace IoTTwinMaker
94} // 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