AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
JobExecutionsRolloutConfig.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/ExponentialRolloutRate.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoT {
20namespace Model {
21
28 public:
29 AWS_IOT_API JobExecutionsRolloutConfig() = default;
33
35
39 inline int GetMaximumPerMinute() const { return m_maximumPerMinute; }
40 inline bool MaximumPerMinuteHasBeenSet() const { return m_maximumPerMinuteHasBeenSet; }
41 inline void SetMaximumPerMinute(int value) {
42 m_maximumPerMinuteHasBeenSet = true;
43 m_maximumPerMinute = value;
44 }
47 return *this;
48 }
50
52
56 inline const ExponentialRolloutRate& GetExponentialRate() const { return m_exponentialRate; }
57 inline bool ExponentialRateHasBeenSet() const { return m_exponentialRateHasBeenSet; }
58 template <typename ExponentialRateT = ExponentialRolloutRate>
59 void SetExponentialRate(ExponentialRateT&& value) {
60 m_exponentialRateHasBeenSet = true;
61 m_exponentialRate = std::forward<ExponentialRateT>(value);
62 }
63 template <typename ExponentialRateT = ExponentialRolloutRate>
65 SetExponentialRate(std::forward<ExponentialRateT>(value));
66 return *this;
67 }
69 private:
70 int m_maximumPerMinute{0};
71
72 ExponentialRolloutRate m_exponentialRate;
73 bool m_maximumPerMinuteHasBeenSet = false;
74 bool m_exponentialRateHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace IoT
79} // namespace Aws
JobExecutionsRolloutConfig & WithMaximumPerMinute(int value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API JobExecutionsRolloutConfig(Aws::Utils::Json::JsonView jsonValue)
const ExponentialRolloutRate & GetExponentialRate() const
JobExecutionsRolloutConfig & WithExponentialRate(ExponentialRateT &&value)
AWS_IOT_API JobExecutionsRolloutConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API JobExecutionsRolloutConfig()=default
Aws::Utils::Json::JsonValue JsonValue