AWS SDK for C++  1.9.132
AWS SDK for C++
AwsJobExponentialRolloutRate.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
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 IoT
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 AwsJobExponentialRolloutRate& WithBaseRatePerMinute(int value) { SetBaseRatePerMinute(value); return *this;}
68 
69 
74  inline double GetIncrementFactor() const{ return m_incrementFactor; }
75 
80  inline bool IncrementFactorHasBeenSet() const { return m_incrementFactorHasBeenSet; }
81 
86  inline void SetIncrementFactor(double value) { m_incrementFactorHasBeenSet = true; m_incrementFactor = value; }
87 
92  inline AwsJobExponentialRolloutRate& WithIncrementFactor(double value) { SetIncrementFactor(value); return *this;}
93 
94 
100  inline const AwsJobRateIncreaseCriteria& GetRateIncreaseCriteria() const{ return m_rateIncreaseCriteria; }
101 
107  inline bool RateIncreaseCriteriaHasBeenSet() const { return m_rateIncreaseCriteriaHasBeenSet; }
108 
114  inline void SetRateIncreaseCriteria(const AwsJobRateIncreaseCriteria& value) { m_rateIncreaseCriteriaHasBeenSet = true; m_rateIncreaseCriteria = value; }
115 
121  inline void SetRateIncreaseCriteria(AwsJobRateIncreaseCriteria&& value) { m_rateIncreaseCriteriaHasBeenSet = true; m_rateIncreaseCriteria = std::move(value); }
122 
128  inline AwsJobExponentialRolloutRate& WithRateIncreaseCriteria(const AwsJobRateIncreaseCriteria& value) { SetRateIncreaseCriteria(value); return *this;}
129 
135  inline AwsJobExponentialRolloutRate& WithRateIncreaseCriteria(AwsJobRateIncreaseCriteria&& value) { SetRateIncreaseCriteria(std::move(value)); return *this;}
136 
137  private:
138 
139  int m_baseRatePerMinute;
140  bool m_baseRatePerMinuteHasBeenSet;
141 
142  double m_incrementFactor;
143  bool m_incrementFactorHasBeenSet;
144 
145  AwsJobRateIncreaseCriteria m_rateIncreaseCriteria;
146  bool m_rateIncreaseCriteriaHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace IoT
151 } // namespace Aws
Aws::IoT::Model::AwsJobExponentialRolloutRate::AwsJobExponentialRolloutRate
AwsJobExponentialRolloutRate(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::AwsJobExponentialRolloutRate
Definition: AwsJobExponentialRolloutRate.h:33
Aws::IoT::Model::AwsJobExponentialRolloutRate::GetBaseRatePerMinute
int GetBaseRatePerMinute() const
Definition: AwsJobExponentialRolloutRate.h:46
Aws::IoT::Model::AwsJobExponentialRolloutRate::SetBaseRatePerMinute
void SetBaseRatePerMinute(int value)
Definition: AwsJobExponentialRolloutRate.h:60
Aws::IoT::Model::AwsJobExponentialRolloutRate::SetIncrementFactor
void SetIncrementFactor(double value)
Definition: AwsJobExponentialRolloutRate.h:86
Aws::IoT::Model::AwsJobExponentialRolloutRate::BaseRatePerMinuteHasBeenSet
bool BaseRatePerMinuteHasBeenSet() const
Definition: AwsJobExponentialRolloutRate.h:53
Aws::IoT::Model::AwsJobExponentialRolloutRate::GetIncrementFactor
double GetIncrementFactor() const
Definition: AwsJobExponentialRolloutRate.h:74
AwsJobRateIncreaseCriteria.h
Aws::IoT::Model::AwsJobExponentialRolloutRate::WithRateIncreaseCriteria
AwsJobExponentialRolloutRate & WithRateIncreaseCriteria(AwsJobRateIncreaseCriteria &&value)
Definition: AwsJobExponentialRolloutRate.h:135
Aws::IoT::Model::AwsJobExponentialRolloutRate::GetRateIncreaseCriteria
const AwsJobRateIncreaseCriteria & GetRateIncreaseCriteria() const
Definition: AwsJobExponentialRolloutRate.h:100
Aws::IoT::Model::AwsJobExponentialRolloutRate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::AwsJobExponentialRolloutRate::SetRateIncreaseCriteria
void SetRateIncreaseCriteria(AwsJobRateIncreaseCriteria &&value)
Definition: AwsJobExponentialRolloutRate.h:121
Aws::IoT::Model::AwsJobExponentialRolloutRate::WithRateIncreaseCriteria
AwsJobExponentialRolloutRate & WithRateIncreaseCriteria(const AwsJobRateIncreaseCriteria &value)
Definition: AwsJobExponentialRolloutRate.h:128
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::AwsJobExponentialRolloutRate::WithBaseRatePerMinute
AwsJobExponentialRolloutRate & WithBaseRatePerMinute(int value)
Definition: AwsJobExponentialRolloutRate.h:67
Aws::IoT::Model::AwsJobExponentialRolloutRate::SetRateIncreaseCriteria
void SetRateIncreaseCriteria(const AwsJobRateIncreaseCriteria &value)
Definition: AwsJobExponentialRolloutRate.h:114
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::AwsJobExponentialRolloutRate::RateIncreaseCriteriaHasBeenSet
bool RateIncreaseCriteriaHasBeenSet() const
Definition: AwsJobExponentialRolloutRate.h:107
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::AwsJobExponentialRolloutRate::AwsJobExponentialRolloutRate
AwsJobExponentialRolloutRate()
Aws::IoT::Model::AwsJobRateIncreaseCriteria
Definition: AwsJobRateIncreaseCriteria.h:31
Aws::IoT::Model::AwsJobExponentialRolloutRate::WithIncrementFactor
AwsJobExponentialRolloutRate & WithIncrementFactor(double value)
Definition: AwsJobExponentialRolloutRate.h:92
Aws::IoT::Model::AwsJobExponentialRolloutRate::IncrementFactorHasBeenSet
bool IncrementFactorHasBeenSet() const
Definition: AwsJobExponentialRolloutRate.h:80
Aws::IoT::Model::AwsJobExponentialRolloutRate::operator=
AwsJobExponentialRolloutRate & operator=(Aws::Utils::Json::JsonView jsonValue)
IoT_EXPORTS.h