AWS SDK for C++  1.9.129
AWS SDK for C++
AwsJobExecutionsRolloutConfig.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 
43  inline int GetMaximumPerMinute() const{ return m_maximumPerMinute; }
44 
48  inline bool MaximumPerMinuteHasBeenSet() const { return m_maximumPerMinuteHasBeenSet; }
49 
53  inline void SetMaximumPerMinute(int value) { m_maximumPerMinuteHasBeenSet = true; m_maximumPerMinute = value; }
54 
58  inline AwsJobExecutionsRolloutConfig& WithMaximumPerMinute(int value) { SetMaximumPerMinute(value); return *this;}
59 
60 
65  inline const AwsJobExponentialRolloutRate& GetExponentialRate() const{ return m_exponentialRate; }
66 
71  inline bool ExponentialRateHasBeenSet() const { return m_exponentialRateHasBeenSet; }
72 
77  inline void SetExponentialRate(const AwsJobExponentialRolloutRate& value) { m_exponentialRateHasBeenSet = true; m_exponentialRate = value; }
78 
83  inline void SetExponentialRate(AwsJobExponentialRolloutRate&& value) { m_exponentialRateHasBeenSet = true; m_exponentialRate = std::move(value); }
84 
89  inline AwsJobExecutionsRolloutConfig& WithExponentialRate(const AwsJobExponentialRolloutRate& value) { SetExponentialRate(value); return *this;}
90 
95  inline AwsJobExecutionsRolloutConfig& WithExponentialRate(AwsJobExponentialRolloutRate&& value) { SetExponentialRate(std::move(value)); return *this;}
96 
97  private:
98 
99  int m_maximumPerMinute;
100  bool m_maximumPerMinuteHasBeenSet;
101 
102  AwsJobExponentialRolloutRate m_exponentialRate;
103  bool m_exponentialRateHasBeenSet;
104  };
105 
106 } // namespace Model
107 } // namespace IoT
108 } // namespace Aws
Aws::IoT::Model::AwsJobExecutionsRolloutConfig::GetMaximumPerMinute
int GetMaximumPerMinute() const
Definition: AwsJobExecutionsRolloutConfig.h:43
Aws::IoT::Model::AwsJobExecutionsRolloutConfig::MaximumPerMinuteHasBeenSet
bool MaximumPerMinuteHasBeenSet() const
Definition: AwsJobExecutionsRolloutConfig.h:48
AwsJobExponentialRolloutRate.h
Aws::IoT::Model::AwsJobExponentialRolloutRate
Definition: AwsJobExponentialRolloutRate.h:33
Aws::IoT::Model::AwsJobExecutionsRolloutConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::AwsJobExecutionsRolloutConfig
Definition: AwsJobExecutionsRolloutConfig.h:32
Aws::IoT::Model::AwsJobExecutionsRolloutConfig::WithExponentialRate
AwsJobExecutionsRolloutConfig & WithExponentialRate(AwsJobExponentialRolloutRate &&value)
Definition: AwsJobExecutionsRolloutConfig.h:95
Aws::IoT::Model::AwsJobExecutionsRolloutConfig::AwsJobExecutionsRolloutConfig
AwsJobExecutionsRolloutConfig()
Aws::IoT::Model::AwsJobExecutionsRolloutConfig::GetExponentialRate
const AwsJobExponentialRolloutRate & GetExponentialRate() const
Definition: AwsJobExecutionsRolloutConfig.h:65
Aws::IoT::Model::AwsJobExecutionsRolloutConfig::SetExponentialRate
void SetExponentialRate(AwsJobExponentialRolloutRate &&value)
Definition: AwsJobExecutionsRolloutConfig.h:83
Aws::IoT::Model::AwsJobExecutionsRolloutConfig::operator=
AwsJobExecutionsRolloutConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::AwsJobExecutionsRolloutConfig::ExponentialRateHasBeenSet
bool ExponentialRateHasBeenSet() const
Definition: AwsJobExecutionsRolloutConfig.h:71
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::AwsJobExecutionsRolloutConfig::WithExponentialRate
AwsJobExecutionsRolloutConfig & WithExponentialRate(const AwsJobExponentialRolloutRate &value)
Definition: AwsJobExecutionsRolloutConfig.h:89
Aws::IoT::Model::AwsJobExecutionsRolloutConfig::SetExponentialRate
void SetExponentialRate(const AwsJobExponentialRolloutRate &value)
Definition: AwsJobExecutionsRolloutConfig.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::AwsJobExecutionsRolloutConfig::AwsJobExecutionsRolloutConfig
AwsJobExecutionsRolloutConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::AwsJobExecutionsRolloutConfig::SetMaximumPerMinute
void SetMaximumPerMinute(int value)
Definition: AwsJobExecutionsRolloutConfig.h:53
Aws::IoT::Model::AwsJobExecutionsRolloutConfig::WithMaximumPerMinute
AwsJobExecutionsRolloutConfig & WithMaximumPerMinute(int value)
Definition: AwsJobExecutionsRolloutConfig.h:58
IoT_EXPORTS.h