7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
9#include <aws/rolesanywhere/model/NotificationChannel.h>
10#include <aws/rolesanywhere/model/NotificationEvent.h>
21namespace RolesAnywhere {
45 m_enabledHasBeenSet =
true;
61 m_eventHasBeenSet =
true;
77 m_thresholdHasBeenSet =
true;
96 m_channelHasBeenSet =
true;
114 template <
typename ConfiguredByT = Aws::String>
116 m_configuredByHasBeenSet =
true;
117 m_configuredBy = std::forward<ConfiguredByT>(value);
119 template <
typename ConfiguredByT = Aws::String>
126 bool m_enabled{
false};
135 bool m_enabledHasBeenSet =
false;
136 bool m_eventHasBeenSet =
false;
137 bool m_thresholdHasBeenSet =
false;
138 bool m_channelHasBeenSet =
false;
139 bool m_configuredByHasBeenSet =
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