AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
IoTJobExecutionsRolloutConfig.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/greengrassv2/model/IoTJobExponentialRolloutRate.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GreengrassV2
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_GREENGRASSV2_API IoTJobExecutionsRolloutConfig() = default;
39 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const IoTJobExponentialRolloutRate& GetExponentialRate() const { return m_exponentialRate; }
47 inline bool ExponentialRateHasBeenSet() const { return m_exponentialRateHasBeenSet; }
48 template<typename ExponentialRateT = IoTJobExponentialRolloutRate>
49 void SetExponentialRate(ExponentialRateT&& value) { m_exponentialRateHasBeenSet = true; m_exponentialRate = std::forward<ExponentialRateT>(value); }
50 template<typename ExponentialRateT = IoTJobExponentialRolloutRate>
51 IoTJobExecutionsRolloutConfig& WithExponentialRate(ExponentialRateT&& value) { SetExponentialRate(std::forward<ExponentialRateT>(value)); return *this;}
53
55
59 inline int GetMaximumPerMinute() const { return m_maximumPerMinute; }
60 inline bool MaximumPerMinuteHasBeenSet() const { return m_maximumPerMinuteHasBeenSet; }
61 inline void SetMaximumPerMinute(int value) { m_maximumPerMinuteHasBeenSet = true; m_maximumPerMinute = value; }
64 private:
65
66 IoTJobExponentialRolloutRate m_exponentialRate;
67 bool m_exponentialRateHasBeenSet = false;
68
69 int m_maximumPerMinute{0};
70 bool m_maximumPerMinuteHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace GreengrassV2
75} // namespace Aws
IoTJobExecutionsRolloutConfig & WithMaximumPerMinute(int value)
IoTJobExecutionsRolloutConfig & WithExponentialRate(ExponentialRateT &&value)
AWS_GREENGRASSV2_API IoTJobExecutionsRolloutConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASSV2_API IoTJobExecutionsRolloutConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASSV2_API IoTJobExecutionsRolloutConfig()=default
const IoTJobExponentialRolloutRate & GetExponentialRate() const
Aws::Utils::Json::JsonValue JsonValue