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