7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/rolesanywhere/model/NotificationChannel.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rolesanywhere/model/NotificationEvent.h>
23namespace RolesAnywhere
66 template<
typename ConfiguredByT = Aws::String>
67 void SetConfiguredBy(ConfiguredByT&& value) { m_configuredByHasBeenSet =
true; m_configuredBy = std::forward<ConfiguredByT>(value); }
68 template<
typename ConfiguredByT = Aws::String>
78 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
98 inline void SetThreshold(
int value) { m_thresholdHasBeenSet =
true; m_threshold = value; }
104 bool m_channelHasBeenSet =
false;
107 bool m_configuredByHasBeenSet =
false;
109 bool m_enabled{
false};
110 bool m_enabledHasBeenSet =
false;
113 bool m_eventHasBeenSet =
false;
116 bool m_thresholdHasBeenSet =
false;
AWS_ROLESANYWHERE_API NotificationSettingDetail(Aws::Utils::Json::JsonView jsonValue)
void SetConfiguredBy(ConfiguredByT &&value)
AWS_ROLESANYWHERE_API NotificationSettingDetail()=default
bool EventHasBeenSet() const
const Aws::String & GetConfiguredBy() const
void SetEvent(NotificationEvent value)
NotificationSettingDetail & WithConfiguredBy(ConfiguredByT &&value)
AWS_ROLESANYWHERE_API NotificationSettingDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ThresholdHasBeenSet() const
NotificationSettingDetail & WithThreshold(int value)
bool ConfiguredByHasBeenSet() const
void SetEnabled(bool value)
NotificationEvent GetEvent() const
void SetChannel(NotificationChannel value)
bool EnabledHasBeenSet() const
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
NotificationChannel GetChannel() const
NotificationSettingDetail & WithEvent(NotificationEvent value)
void SetThreshold(int value)
bool ChannelHasBeenSet() const
NotificationSettingDetail & WithChannel(NotificationChannel value)
NotificationSettingDetail & WithEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue