AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExponentialRate(const IoTJobExponentialRolloutRate& value) { m_exponentialRateHasBeenSet = true; m_exponentialRate = value; }
49 inline void SetExponentialRate(IoTJobExponentialRolloutRate&& value) { m_exponentialRateHasBeenSet = true; m_exponentialRate = std::move(value); }
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;
70 bool m_maximumPerMinuteHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace GreengrassV2
75} // namespace Aws
IoTJobExecutionsRolloutConfig & WithMaximumPerMinute(int value)
IoTJobExecutionsRolloutConfig & WithExponentialRate(const IoTJobExponentialRolloutRate &value)
IoTJobExecutionsRolloutConfig & WithExponentialRate(IoTJobExponentialRolloutRate &&value)
void SetExponentialRate(const IoTJobExponentialRolloutRate &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)
const IoTJobExponentialRolloutRate & GetExponentialRate() const
Aws::Utils::Json::JsonValue JsonValue