AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
RateIncreaseCriteria.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace IoT {
17namespace Model {
18
26 public:
27 AWS_IOT_API RateIncreaseCriteria() = default;
31
33
37 inline int GetNumberOfNotifiedThings() const { return m_numberOfNotifiedThings; }
38 inline bool NumberOfNotifiedThingsHasBeenSet() const { return m_numberOfNotifiedThingsHasBeenSet; }
39 inline void SetNumberOfNotifiedThings(int value) {
40 m_numberOfNotifiedThingsHasBeenSet = true;
41 m_numberOfNotifiedThings = value;
42 }
45 return *this;
46 }
48
50
54 inline int GetNumberOfSucceededThings() const { return m_numberOfSucceededThings; }
55 inline bool NumberOfSucceededThingsHasBeenSet() const { return m_numberOfSucceededThingsHasBeenSet; }
56 inline void SetNumberOfSucceededThings(int value) {
57 m_numberOfSucceededThingsHasBeenSet = true;
58 m_numberOfSucceededThings = value;
59 }
62 return *this;
63 }
65 private:
66 int m_numberOfNotifiedThings{0};
67
68 int m_numberOfSucceededThings{0};
69 bool m_numberOfNotifiedThingsHasBeenSet = false;
70 bool m_numberOfSucceededThingsHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace IoT
75} // namespace Aws
RateIncreaseCriteria & WithNumberOfNotifiedThings(int value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API RateIncreaseCriteria()=default
RateIncreaseCriteria & WithNumberOfSucceededThings(int value)
AWS_IOT_API RateIncreaseCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API RateIncreaseCriteria(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue