AWS SDK for C++  1.9.123
AWS SDK for C++
IoTJobExecutionsRolloutConfig.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 
34  {
35  public:
40 
41 
45  inline const IoTJobExponentialRolloutRate& GetExponentialRate() const{ return m_exponentialRate; }
46 
50  inline bool ExponentialRateHasBeenSet() const { return m_exponentialRateHasBeenSet; }
51 
55  inline void SetExponentialRate(const IoTJobExponentialRolloutRate& value) { m_exponentialRateHasBeenSet = true; m_exponentialRate = value; }
56 
60  inline void SetExponentialRate(IoTJobExponentialRolloutRate&& value) { m_exponentialRateHasBeenSet = true; m_exponentialRate = std::move(value); }
61 
65  inline IoTJobExecutionsRolloutConfig& WithExponentialRate(const IoTJobExponentialRolloutRate& value) { SetExponentialRate(value); return *this;}
66 
70  inline IoTJobExecutionsRolloutConfig& WithExponentialRate(IoTJobExponentialRolloutRate&& value) { SetExponentialRate(std::move(value)); return *this;}
71 
72 
77  inline int GetMaximumPerMinute() const{ return m_maximumPerMinute; }
78 
83  inline bool MaximumPerMinuteHasBeenSet() const { return m_maximumPerMinuteHasBeenSet; }
84 
89  inline void SetMaximumPerMinute(int value) { m_maximumPerMinuteHasBeenSet = true; m_maximumPerMinute = value; }
90 
95  inline IoTJobExecutionsRolloutConfig& WithMaximumPerMinute(int value) { SetMaximumPerMinute(value); return *this;}
96 
97  private:
98 
99  IoTJobExponentialRolloutRate m_exponentialRate;
100  bool m_exponentialRateHasBeenSet;
101 
102  int m_maximumPerMinute;
103  bool m_maximumPerMinuteHasBeenSet;
104  };
105 
106 } // namespace Model
107 } // namespace GreengrassV2
108 } // namespace Aws
Aws::GreengrassV2::Model::IoTJobExecutionsRolloutConfig::SetExponentialRate
void SetExponentialRate(IoTJobExponentialRolloutRate &&value)
Definition: IoTJobExecutionsRolloutConfig.h:60
Aws::GreengrassV2::Model::IoTJobExecutionsRolloutConfig::SetMaximumPerMinute
void SetMaximumPerMinute(int value)
Definition: IoTJobExecutionsRolloutConfig.h:89
Aws::GreengrassV2::Model::IoTJobExecutionsRolloutConfig::WithExponentialRate
IoTJobExecutionsRolloutConfig & WithExponentialRate(IoTJobExponentialRolloutRate &&value)
Definition: IoTJobExecutionsRolloutConfig.h:70
Aws::GreengrassV2::Model::IoTJobExecutionsRolloutConfig::ExponentialRateHasBeenSet
bool ExponentialRateHasBeenSet() const
Definition: IoTJobExecutionsRolloutConfig.h:50
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::IoTJobExecutionsRolloutConfig::IoTJobExecutionsRolloutConfig
IoTJobExecutionsRolloutConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::IoTJobExecutionsRolloutConfig::SetExponentialRate
void SetExponentialRate(const IoTJobExponentialRolloutRate &value)
Definition: IoTJobExecutionsRolloutConfig.h:55
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::IoTJobExecutionsRolloutConfig::operator=
IoTJobExecutionsRolloutConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
IoTJobExponentialRolloutRate.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::GreengrassV2::Model::IoTJobExecutionsRolloutConfig::GetExponentialRate
const IoTJobExponentialRolloutRate & GetExponentialRate() const
Definition: IoTJobExecutionsRolloutConfig.h:45
Aws::GreengrassV2::Model::IoTJobExecutionsRolloutConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GreengrassV2::Model::IoTJobExecutionsRolloutConfig::WithMaximumPerMinute
IoTJobExecutionsRolloutConfig & WithMaximumPerMinute(int value)
Definition: IoTJobExecutionsRolloutConfig.h:95
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::IoTJobExecutionsRolloutConfig::GetMaximumPerMinute
int GetMaximumPerMinute() const
Definition: IoTJobExecutionsRolloutConfig.h:77
Aws::GreengrassV2::Model::IoTJobExponentialRolloutRate
Definition: IoTJobExponentialRolloutRate.h:33
Aws::GreengrassV2::Model::IoTJobExecutionsRolloutConfig::IoTJobExecutionsRolloutConfig
IoTJobExecutionsRolloutConfig()
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::IoTJobExecutionsRolloutConfig::MaximumPerMinuteHasBeenSet
bool MaximumPerMinuteHasBeenSet() const
Definition: IoTJobExecutionsRolloutConfig.h:83
Aws::GreengrassV2::Model::IoTJobExecutionsRolloutConfig
Definition: IoTJobExecutionsRolloutConfig.h:34
Aws::GreengrassV2::Model::IoTJobExecutionsRolloutConfig::WithExponentialRate
IoTJobExecutionsRolloutConfig & WithExponentialRate(const IoTJobExponentialRolloutRate &value)
Definition: IoTJobExecutionsRolloutConfig.h:65