AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
BulkDeploymentMetrics.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Greengrass {
17namespace Model {
18
26 public:
27 AWS_GREENGRASS_API BulkDeploymentMetrics() = default;
30 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
39 inline int GetInvalidInputRecords() const { return m_invalidInputRecords; }
40 inline bool InvalidInputRecordsHasBeenSet() const { return m_invalidInputRecordsHasBeenSet; }
41 inline void SetInvalidInputRecords(int value) {
42 m_invalidInputRecordsHasBeenSet = true;
43 m_invalidInputRecords = value;
44 }
47 return *this;
48 }
50
52
56 inline int GetRecordsProcessed() const { return m_recordsProcessed; }
57 inline bool RecordsProcessedHasBeenSet() const { return m_recordsProcessedHasBeenSet; }
58 inline void SetRecordsProcessed(int value) {
59 m_recordsProcessedHasBeenSet = true;
60 m_recordsProcessed = value;
61 }
64 return *this;
65 }
67
69
75 inline int GetRetryAttempts() const { return m_retryAttempts; }
76 inline bool RetryAttemptsHasBeenSet() const { return m_retryAttemptsHasBeenSet; }
77 inline void SetRetryAttempts(int value) {
78 m_retryAttemptsHasBeenSet = true;
79 m_retryAttempts = value;
80 }
82 SetRetryAttempts(value);
83 return *this;
84 }
86 private:
87 int m_invalidInputRecords{0};
88
89 int m_recordsProcessed{0};
90
91 int m_retryAttempts{0};
92 bool m_invalidInputRecordsHasBeenSet = false;
93 bool m_recordsProcessedHasBeenSet = false;
94 bool m_retryAttemptsHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace Greengrass
99} // namespace Aws
AWS_GREENGRASS_API BulkDeploymentMetrics()=default
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
BulkDeploymentMetrics & WithRecordsProcessed(int value)
AWS_GREENGRASS_API BulkDeploymentMetrics(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASS_API BulkDeploymentMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
BulkDeploymentMetrics & WithInvalidInputRecords(int value)
BulkDeploymentMetrics & WithRetryAttempts(int value)
Aws::Utils::Json::JsonValue JsonValue