AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BulkDeploymentMetrics.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_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 Greengrass
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_GREENGRASS_API BulkDeploymentMetrics();
36 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
46 inline int GetInvalidInputRecords() const{ return m_invalidInputRecords; }
47 inline bool InvalidInputRecordsHasBeenSet() const { return m_invalidInputRecordsHasBeenSet; }
48 inline void SetInvalidInputRecords(int value) { m_invalidInputRecordsHasBeenSet = true; m_invalidInputRecords = value; }
49 inline BulkDeploymentMetrics& WithInvalidInputRecords(int value) { SetInvalidInputRecords(value); return *this;}
51
53
57 inline int GetRecordsProcessed() const{ return m_recordsProcessed; }
58 inline bool RecordsProcessedHasBeenSet() const { return m_recordsProcessedHasBeenSet; }
59 inline void SetRecordsProcessed(int value) { m_recordsProcessedHasBeenSet = true; m_recordsProcessed = value; }
60 inline BulkDeploymentMetrics& WithRecordsProcessed(int value) { SetRecordsProcessed(value); return *this;}
62
64
70 inline int GetRetryAttempts() const{ return m_retryAttempts; }
71 inline bool RetryAttemptsHasBeenSet() const { return m_retryAttemptsHasBeenSet; }
72 inline void SetRetryAttempts(int value) { m_retryAttemptsHasBeenSet = true; m_retryAttempts = value; }
73 inline BulkDeploymentMetrics& WithRetryAttempts(int value) { SetRetryAttempts(value); return *this;}
75 private:
76
77 int m_invalidInputRecords;
78 bool m_invalidInputRecordsHasBeenSet = false;
79
80 int m_recordsProcessed;
81 bool m_recordsProcessedHasBeenSet = false;
82
83 int m_retryAttempts;
84 bool m_retryAttemptsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Greengrass
89} // namespace Aws
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