AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ProactiveRefreshTokenRenewal.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace IoTManagedIntegrations {
17namespace Model {
18
26 public:
27 AWS_IOTMANAGEDINTEGRATIONS_API ProactiveRefreshTokenRenewal() = default;
28 AWS_IOTMANAGEDINTEGRATIONS_API ProactiveRefreshTokenRenewal(Aws::Utils::Json::JsonView jsonValue);
29 AWS_IOTMANAGEDINTEGRATIONS_API ProactiveRefreshTokenRenewal& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline bool GetEnabled() const { return m_enabled; }
37 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
38 inline void SetEnabled(bool value) {
39 m_enabledHasBeenSet = true;
40 m_enabled = value;
41 }
43 SetEnabled(value);
44 return *this;
45 }
47
49
53 inline int GetDaysBeforeRenewal() const { return m_daysBeforeRenewal; }
54 inline bool DaysBeforeRenewalHasBeenSet() const { return m_daysBeforeRenewalHasBeenSet; }
55 inline void SetDaysBeforeRenewal(int value) {
56 m_daysBeforeRenewalHasBeenSet = true;
57 m_daysBeforeRenewal = value;
58 }
61 return *this;
62 }
64 private:
65 bool m_enabled{false};
66
67 int m_daysBeforeRenewal{0};
68 bool m_enabledHasBeenSet = false;
69 bool m_daysBeforeRenewalHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace IoTManagedIntegrations
74} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTMANAGEDINTEGRATIONS_API ProactiveRefreshTokenRenewal(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API ProactiveRefreshTokenRenewal()=default
AWS_IOTMANAGEDINTEGRATIONS_API ProactiveRefreshTokenRenewal & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue