AWS SDK for C++  1.9.123
AWS SDK for C++
IoTJobExponentialRolloutRate.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GreengrassV2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
46  inline int GetBaseRatePerMinute() const{ return m_baseRatePerMinute; }
47 
53  inline bool BaseRatePerMinuteHasBeenSet() const { return m_baseRatePerMinuteHasBeenSet; }
54 
60  inline void SetBaseRatePerMinute(int value) { m_baseRatePerMinuteHasBeenSet = true; m_baseRatePerMinute = value; }
61 
67  inline IoTJobExponentialRolloutRate& WithBaseRatePerMinute(int value) { SetBaseRatePerMinute(value); return *this;}
68 
69 
75  inline double GetIncrementFactor() const{ return m_incrementFactor; }
76 
82  inline bool IncrementFactorHasBeenSet() const { return m_incrementFactorHasBeenSet; }
83 
89  inline void SetIncrementFactor(double value) { m_incrementFactorHasBeenSet = true; m_incrementFactor = value; }
90 
96  inline IoTJobExponentialRolloutRate& WithIncrementFactor(double value) { SetIncrementFactor(value); return *this;}
97 
98 
102  inline const IoTJobRateIncreaseCriteria& GetRateIncreaseCriteria() const{ return m_rateIncreaseCriteria; }
103 
107  inline bool RateIncreaseCriteriaHasBeenSet() const { return m_rateIncreaseCriteriaHasBeenSet; }
108 
112  inline void SetRateIncreaseCriteria(const IoTJobRateIncreaseCriteria& value) { m_rateIncreaseCriteriaHasBeenSet = true; m_rateIncreaseCriteria = value; }
113 
117  inline void SetRateIncreaseCriteria(IoTJobRateIncreaseCriteria&& value) { m_rateIncreaseCriteriaHasBeenSet = true; m_rateIncreaseCriteria = std::move(value); }
118 
122  inline IoTJobExponentialRolloutRate& WithRateIncreaseCriteria(const IoTJobRateIncreaseCriteria& value) { SetRateIncreaseCriteria(value); return *this;}
123 
127  inline IoTJobExponentialRolloutRate& WithRateIncreaseCriteria(IoTJobRateIncreaseCriteria&& value) { SetRateIncreaseCriteria(std::move(value)); return *this;}
128 
129  private:
130 
131  int m_baseRatePerMinute;
132  bool m_baseRatePerMinuteHasBeenSet;
133 
134  double m_incrementFactor;
135  bool m_incrementFactorHasBeenSet;
136 
137  IoTJobRateIncreaseCriteria m_rateIncreaseCriteria;
138  bool m_rateIncreaseCriteriaHasBeenSet;
139  };
140 
141 } // namespace Model
142 } // namespace GreengrassV2
143 } // namespace Aws
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::GetRateIncreaseCriteria
const IoTJobRateIncreaseCriteria & GetRateIncreaseCriteria() const
Definition: IoTJobExponentialRolloutRate.h:102
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::RateIncreaseCriteriaHasBeenSet
bool RateIncreaseCriteriaHasBeenSet() const
Definition: IoTJobExponentialRolloutRate.h:107
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::IoTJobExponentialRolloutRate
IoTJobExponentialRolloutRate()
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::operator=
IoTJobExponentialRolloutRate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::SetBaseRatePerMinute
void SetBaseRatePerMinute(int value)
Definition: IoTJobExponentialRolloutRate.h:60
GreengrassV2_EXPORTS.h
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::SetRateIncreaseCriteria
void SetRateIncreaseCriteria(IoTJobRateIncreaseCriteria &&value)
Definition: IoTJobExponentialRolloutRate.h:117
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::SetRateIncreaseCriteria
void SetRateIncreaseCriteria(const IoTJobRateIncreaseCriteria &value)
Definition: IoTJobExponentialRolloutRate.h:112
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::WithRateIncreaseCriteria
IoTJobExponentialRolloutRate & WithRateIncreaseCriteria(const IoTJobRateIncreaseCriteria &value)
Definition: IoTJobExponentialRolloutRate.h:122
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::BaseRatePerMinuteHasBeenSet
bool BaseRatePerMinuteHasBeenSet() const
Definition: IoTJobExponentialRolloutRate.h:53
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::GetBaseRatePerMinute
int GetBaseRatePerMinute() const
Definition: IoTJobExponentialRolloutRate.h:46
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::SetIncrementFactor
void SetIncrementFactor(double value)
Definition: IoTJobExponentialRolloutRate.h:89
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::WithBaseRatePerMinute
IoTJobExponentialRolloutRate & WithBaseRatePerMinute(int value)
Definition: IoTJobExponentialRolloutRate.h:67
IoTJobRateIncreaseCriteria.h
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::WithIncrementFactor
IoTJobExponentialRolloutRate & WithIncrementFactor(double value)
Definition: IoTJobExponentialRolloutRate.h:96
Aws::GreengrassV2::Model::IoTJobRateIncreaseCriteria
Definition: IoTJobRateIncreaseCriteria.h:32
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate
Definition: IoTJobExponentialRolloutRate.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::IoTJobExponentialRolloutRate
IoTJobExponentialRolloutRate(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::WithRateIncreaseCriteria
IoTJobExponentialRolloutRate & WithRateIncreaseCriteria(IoTJobRateIncreaseCriteria &&value)
Definition: IoTJobExponentialRolloutRate.h:127
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::IncrementFactorHasBeenSet
bool IncrementFactorHasBeenSet() const
Definition: IoTJobExponentialRolloutRate.h:82
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate::GetIncrementFactor
double GetIncrementFactor() const
Definition: IoTJobExponentialRolloutRate.h:75