AWS SDK for C++

AWS SDK for C++ Version 1.11.929

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTManagedIntegrations {
20namespace Model {
21
28 public:
29 AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskExecutionRolloutConfig() = default;
30 AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskExecutionRolloutConfig(Aws::Utils::Json::JsonView jsonValue);
31 AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskExecutionRolloutConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline const ExponentialRolloutRate& GetExponentialRolloutRate() const { return m_exponentialRolloutRate; }
40 inline bool ExponentialRolloutRateHasBeenSet() const { return m_exponentialRolloutRateHasBeenSet; }
41 template <typename ExponentialRolloutRateT = ExponentialRolloutRate>
42 void SetExponentialRolloutRate(ExponentialRolloutRateT&& value) {
43 m_exponentialRolloutRateHasBeenSet = true;
44 m_exponentialRolloutRate = std::forward<ExponentialRolloutRateT>(value);
45 }
46 template <typename ExponentialRolloutRateT = ExponentialRolloutRate>
48 SetExponentialRolloutRate(std::forward<ExponentialRolloutRateT>(value));
49 return *this;
50 }
52
54
58 inline int GetMaximumPerMinute() const { return m_maximumPerMinute; }
59 inline bool MaximumPerMinuteHasBeenSet() const { return m_maximumPerMinuteHasBeenSet; }
60 inline void SetMaximumPerMinute(int value) {
61 m_maximumPerMinuteHasBeenSet = true;
62 m_maximumPerMinute = value;
63 }
66 return *this;
67 }
69 private:
70 ExponentialRolloutRate m_exponentialRolloutRate;
71
72 int m_maximumPerMinute{0};
73 bool m_exponentialRolloutRateHasBeenSet = false;
74 bool m_maximumPerMinuteHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace IoTManagedIntegrations
79} // 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