AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ProactiveRefreshTokenRenewal.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTManagedIntegrations
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_IOTMANAGEDINTEGRATIONS_API ProactiveRefreshTokenRenewal() = default;
34 AWS_IOTMANAGEDINTEGRATIONS_API ProactiveRefreshTokenRenewal(Aws::Utils::Json::JsonView jsonValue);
35 AWS_IOTMANAGEDINTEGRATIONS_API ProactiveRefreshTokenRenewal& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline bool GetEnabled() const { return m_enabled; }
44 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
45 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
46 inline ProactiveRefreshTokenRenewal& WithEnabled(bool value) { SetEnabled(value); return *this;}
48
50
54 inline int GetDaysBeforeRenewal() const { return m_daysBeforeRenewal; }
55 inline bool DaysBeforeRenewalHasBeenSet() const { return m_daysBeforeRenewalHasBeenSet; }
56 inline void SetDaysBeforeRenewal(int value) { m_daysBeforeRenewalHasBeenSet = true; m_daysBeforeRenewal = value; }
59 private:
60
61 bool m_enabled{false};
62 bool m_enabledHasBeenSet = false;
63
64 int m_daysBeforeRenewal{0};
65 bool m_daysBeforeRenewalHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace IoTManagedIntegrations
70} // 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