AWS SDK for C++  1.9.125
AWS SDK for C++
JobExecutionsRolloutConfig.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 
32  {
33  public:
38 
39 
44  inline int GetMaximumPerMinute() const{ return m_maximumPerMinute; }
45 
50  inline bool MaximumPerMinuteHasBeenSet() const { return m_maximumPerMinuteHasBeenSet; }
51 
56  inline void SetMaximumPerMinute(int value) { m_maximumPerMinuteHasBeenSet = true; m_maximumPerMinute = value; }
57 
62  inline JobExecutionsRolloutConfig& WithMaximumPerMinute(int value) { SetMaximumPerMinute(value); return *this;}
63 
64 
69  inline const ExponentialRolloutRate& GetExponentialRate() const{ return m_exponentialRate; }
70 
75  inline bool ExponentialRateHasBeenSet() const { return m_exponentialRateHasBeenSet; }
76 
81  inline void SetExponentialRate(const ExponentialRolloutRate& value) { m_exponentialRateHasBeenSet = true; m_exponentialRate = value; }
82 
87  inline void SetExponentialRate(ExponentialRolloutRate&& value) { m_exponentialRateHasBeenSet = true; m_exponentialRate = std::move(value); }
88 
93  inline JobExecutionsRolloutConfig& WithExponentialRate(const ExponentialRolloutRate& value) { SetExponentialRate(value); return *this;}
94 
99  inline JobExecutionsRolloutConfig& WithExponentialRate(ExponentialRolloutRate&& value) { SetExponentialRate(std::move(value)); return *this;}
100 
101  private:
102 
103  int m_maximumPerMinute;
104  bool m_maximumPerMinuteHasBeenSet;
105 
106  ExponentialRolloutRate m_exponentialRate;
107  bool m_exponentialRateHasBeenSet;
108  };
109 
110 } // namespace Model
111 } // namespace IoT
112 } // namespace Aws
Aws::IoT::Model::JobExecutionsRolloutConfig::GetMaximumPerMinute
int GetMaximumPerMinute() const
Definition: JobExecutionsRolloutConfig.h:44
Aws::IoT::Model::JobExecutionsRolloutConfig::JobExecutionsRolloutConfig
JobExecutionsRolloutConfig()
Aws::IoT::Model::JobExecutionsRolloutConfig::ExponentialRateHasBeenSet
bool ExponentialRateHasBeenSet() const
Definition: JobExecutionsRolloutConfig.h:75
Aws::IoT::Model::JobExecutionsRolloutConfig::MaximumPerMinuteHasBeenSet
bool MaximumPerMinuteHasBeenSet() const
Definition: JobExecutionsRolloutConfig.h:50
Aws::IoT::Model::JobExecutionsRolloutConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::JobExecutionsRolloutConfig::JobExecutionsRolloutConfig
JobExecutionsRolloutConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::JobExecutionsRolloutConfig::WithExponentialRate
JobExecutionsRolloutConfig & WithExponentialRate(const ExponentialRolloutRate &value)
Definition: JobExecutionsRolloutConfig.h:93
Aws::IoT::Model::JobExecutionsRolloutConfig::operator=
JobExecutionsRolloutConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::ExponentialRolloutRate
Definition: ExponentialRolloutRate.h:33
Aws::IoT::Model::JobExecutionsRolloutConfig::SetExponentialRate
void SetExponentialRate(const ExponentialRolloutRate &value)
Definition: JobExecutionsRolloutConfig.h:81
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::JobExecutionsRolloutConfig::SetExponentialRate
void SetExponentialRate(ExponentialRolloutRate &&value)
Definition: JobExecutionsRolloutConfig.h:87
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::JobExecutionsRolloutConfig::GetExponentialRate
const ExponentialRolloutRate & GetExponentialRate() const
Definition: JobExecutionsRolloutConfig.h:69
Aws::IoT::Model::JobExecutionsRolloutConfig::WithExponentialRate
JobExecutionsRolloutConfig & WithExponentialRate(ExponentialRolloutRate &&value)
Definition: JobExecutionsRolloutConfig.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::JobExecutionsRolloutConfig::SetMaximumPerMinute
void SetMaximumPerMinute(int value)
Definition: JobExecutionsRolloutConfig.h:56
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
ExponentialRolloutRate.h
Aws::IoT::Model::JobExecutionsRolloutConfig::WithMaximumPerMinute
JobExecutionsRolloutConfig & WithMaximumPerMinute(int value)
Definition: JobExecutionsRolloutConfig.h:62
IoT_EXPORTS.h
Aws::IoT::Model::JobExecutionsRolloutConfig
Definition: JobExecutionsRolloutConfig.h:32