7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/rolesanywhere/model/NotificationChannel.h>
9#include <aws/rolesanywhere/model/NotificationEvent.h>
22namespace RolesAnywhere
63 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
84 inline void SetThreshold(
int value) { m_thresholdHasBeenSet =
true; m_threshold = value; }
90 bool m_channelHasBeenSet =
false;
92 bool m_enabled{
false};
93 bool m_enabledHasBeenSet =
false;
96 bool m_eventHasBeenSet =
false;
99 bool m_thresholdHasBeenSet =
false;
void SetEnabled(bool value)
void SetChannel(NotificationChannel value)
bool EventHasBeenSet() const
NotificationChannel GetChannel() const
NotificationEvent GetEvent() const
NotificationSetting & WithEnabled(bool value)
bool EnabledHasBeenSet() const
NotificationSetting & WithEvent(NotificationEvent value)
bool ThresholdHasBeenSet() const
AWS_ROLESANYWHERE_API NotificationSetting(Aws::Utils::Json::JsonView jsonValue)
NotificationSetting & WithThreshold(int value)
bool ChannelHasBeenSet() const
AWS_ROLESANYWHERE_API NotificationSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEvent(NotificationEvent value)
void SetThreshold(int value)
NotificationSetting & WithChannel(NotificationChannel value)
AWS_ROLESANYWHERE_API NotificationSetting()=default
Aws::Utils::Json::JsonValue JsonValue