AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
OtaTaskExecutionRolloutConfig.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/iot-managed-integrations/model/ExponentialRolloutRate.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTManagedIntegrations
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskExecutionRolloutConfig() = default;
35 AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskExecutionRolloutConfig(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskExecutionRolloutConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const ExponentialRolloutRate& GetExponentialRolloutRate() const { return m_exponentialRolloutRate; }
46 inline bool ExponentialRolloutRateHasBeenSet() const { return m_exponentialRolloutRateHasBeenSet; }
47 template<typename ExponentialRolloutRateT = ExponentialRolloutRate>
48 void SetExponentialRolloutRate(ExponentialRolloutRateT&& value) { m_exponentialRolloutRateHasBeenSet = true; m_exponentialRolloutRate = std::forward<ExponentialRolloutRateT>(value); }
49 template<typename ExponentialRolloutRateT = ExponentialRolloutRate>
50 OtaTaskExecutionRolloutConfig& WithExponentialRolloutRate(ExponentialRolloutRateT&& value) { SetExponentialRolloutRate(std::forward<ExponentialRolloutRateT>(value)); return *this;}
52
54
58 inline int GetMaximumPerMinute() const { return m_maximumPerMinute; }
59 inline bool MaximumPerMinuteHasBeenSet() const { return m_maximumPerMinuteHasBeenSet; }
60 inline void SetMaximumPerMinute(int value) { m_maximumPerMinuteHasBeenSet = true; m_maximumPerMinute = value; }
63 private:
64
65 ExponentialRolloutRate m_exponentialRolloutRate;
66 bool m_exponentialRolloutRateHasBeenSet = false;
67
68 int m_maximumPerMinute{0};
69 bool m_maximumPerMinuteHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace IoTManagedIntegrations
74} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskExecutionRolloutConfig()=default
AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskExecutionRolloutConfig(Aws::Utils::Json::JsonView jsonValue)
OtaTaskExecutionRolloutConfig & WithExponentialRolloutRate(ExponentialRolloutRateT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskExecutionRolloutConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue