AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
AwsJobExecutionsRolloutConfig.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/AwsJobExponentialRolloutRate.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 AwsJobExecutionsRolloutConfig() = default;
33
35
38 inline int GetMaximumPerMinute() const { return m_maximumPerMinute; }
39 inline bool MaximumPerMinuteHasBeenSet() const { return m_maximumPerMinuteHasBeenSet; }
40 inline void SetMaximumPerMinute(int value) {
41 m_maximumPerMinuteHasBeenSet = true;
42 m_maximumPerMinute = value;
43 }
46 return *this;
47 }
49
51
55 inline const AwsJobExponentialRolloutRate& GetExponentialRate() const { return m_exponentialRate; }
56 inline bool ExponentialRateHasBeenSet() const { return m_exponentialRateHasBeenSet; }
57 template <typename ExponentialRateT = AwsJobExponentialRolloutRate>
58 void SetExponentialRate(ExponentialRateT&& value) {
59 m_exponentialRateHasBeenSet = true;
60 m_exponentialRate = std::forward<ExponentialRateT>(value);
61 }
62 template <typename ExponentialRateT = AwsJobExponentialRolloutRate>
64 SetExponentialRate(std::forward<ExponentialRateT>(value));
65 return *this;
66 }
68 private:
69 int m_maximumPerMinute{0};
70
71 AwsJobExponentialRolloutRate m_exponentialRate;
72 bool m_maximumPerMinuteHasBeenSet = false;
73 bool m_exponentialRateHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace IoT
78} // namespace Aws
AWS_IOT_API AwsJobExecutionsRolloutConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AwsJobExecutionsRolloutConfig & WithMaximumPerMinute(int value)
const AwsJobExponentialRolloutRate & GetExponentialRate() const
AwsJobExecutionsRolloutConfig & WithExponentialRate(ExponentialRateT &&value)
AWS_IOT_API AwsJobExecutionsRolloutConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue