AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsJobExponentialRolloutRate.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/AwsJobRateIncreaseCriteria.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
33 {
34 public:
39
40
42
47 inline int GetBaseRatePerMinute() const{ return m_baseRatePerMinute; }
48 inline bool BaseRatePerMinuteHasBeenSet() const { return m_baseRatePerMinuteHasBeenSet; }
49 inline void SetBaseRatePerMinute(int value) { m_baseRatePerMinuteHasBeenSet = true; m_baseRatePerMinute = value; }
52
54
58 inline double GetIncrementFactor() const{ return m_incrementFactor; }
59 inline bool IncrementFactorHasBeenSet() const { return m_incrementFactorHasBeenSet; }
60 inline void SetIncrementFactor(double value) { m_incrementFactorHasBeenSet = true; m_incrementFactor = value; }
61 inline AwsJobExponentialRolloutRate& WithIncrementFactor(double value) { SetIncrementFactor(value); return *this;}
63
65
70 inline const AwsJobRateIncreaseCriteria& GetRateIncreaseCriteria() const{ return m_rateIncreaseCriteria; }
71 inline bool RateIncreaseCriteriaHasBeenSet() const { return m_rateIncreaseCriteriaHasBeenSet; }
72 inline void SetRateIncreaseCriteria(const AwsJobRateIncreaseCriteria& value) { m_rateIncreaseCriteriaHasBeenSet = true; m_rateIncreaseCriteria = value; }
73 inline void SetRateIncreaseCriteria(AwsJobRateIncreaseCriteria&& value) { m_rateIncreaseCriteriaHasBeenSet = true; m_rateIncreaseCriteria = std::move(value); }
77 private:
78
79 int m_baseRatePerMinute;
80 bool m_baseRatePerMinuteHasBeenSet = false;
81
82 double m_incrementFactor;
83 bool m_incrementFactorHasBeenSet = false;
84
85 AwsJobRateIncreaseCriteria m_rateIncreaseCriteria;
86 bool m_rateIncreaseCriteriaHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace IoT
91} // namespace Aws
AwsJobExponentialRolloutRate & WithRateIncreaseCriteria(const AwsJobRateIncreaseCriteria &value)
AwsJobExponentialRolloutRate & WithBaseRatePerMinute(int value)
AwsJobExponentialRolloutRate & WithIncrementFactor(double value)
void SetRateIncreaseCriteria(AwsJobRateIncreaseCriteria &&value)
void SetRateIncreaseCriteria(const AwsJobRateIncreaseCriteria &value)
AWS_IOT_API AwsJobExponentialRolloutRate(Aws::Utils::Json::JsonView jsonValue)
const AwsJobRateIncreaseCriteria & GetRateIncreaseCriteria() const
AwsJobExponentialRolloutRate & WithRateIncreaseCriteria(AwsJobRateIncreaseCriteria &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API AwsJobExponentialRolloutRate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue