AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#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 IoT
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOT_API AwsJobExecutionsRolloutConfig() = default;
38
39
41
44 inline int GetMaximumPerMinute() const { return m_maximumPerMinute; }
45 inline bool MaximumPerMinuteHasBeenSet() const { return m_maximumPerMinuteHasBeenSet; }
46 inline void SetMaximumPerMinute(int value) { m_maximumPerMinuteHasBeenSet = true; m_maximumPerMinute = value; }
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) { m_exponentialRateHasBeenSet = true; m_exponentialRate = std::forward<ExponentialRateT>(value); }
59 template<typename ExponentialRateT = AwsJobExponentialRolloutRate>
60 AwsJobExecutionsRolloutConfig& WithExponentialRate(ExponentialRateT&& value) { SetExponentialRate(std::forward<ExponentialRateT>(value)); return *this;}
62 private:
63
64 int m_maximumPerMinute{0};
65 bool m_maximumPerMinuteHasBeenSet = false;
66
67 AwsJobExponentialRolloutRate m_exponentialRate;
68 bool m_exponentialRateHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace IoT
73} // 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