/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A notification setting key to reset. A notification setting key includes the
* event and the channel. See Also:
AWS
* API Reference
The specified channel of notification.
*/ inline const NotificationChannel& GetChannel() const{ return m_channel; } /** *The specified channel of notification.
*/ inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; } /** *The specified channel of notification.
*/ inline void SetChannel(const NotificationChannel& value) { m_channelHasBeenSet = true; m_channel = value; } /** *The specified channel of notification.
*/ inline void SetChannel(NotificationChannel&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); } /** *The specified channel of notification.
*/ inline NotificationSettingKey& WithChannel(const NotificationChannel& value) { SetChannel(value); return *this;} /** *The specified channel of notification.
*/ inline NotificationSettingKey& WithChannel(NotificationChannel&& value) { SetChannel(std::move(value)); return *this;} /** *The notification setting event to reset.
*/ inline const NotificationEvent& GetEvent() const{ return m_event; } /** *The notification setting event to reset.
*/ inline bool EventHasBeenSet() const { return m_eventHasBeenSet; } /** *The notification setting event to reset.
*/ inline void SetEvent(const NotificationEvent& value) { m_eventHasBeenSet = true; m_event = value; } /** *The notification setting event to reset.
*/ inline void SetEvent(NotificationEvent&& value) { m_eventHasBeenSet = true; m_event = std::move(value); } /** *The notification setting event to reset.
*/ inline NotificationSettingKey& WithEvent(const NotificationEvent& value) { SetEvent(value); return *this;} /** *The notification setting event to reset.
*/ inline NotificationSettingKey& WithEvent(NotificationEvent&& value) { SetEvent(std::move(value)); return *this;} private: NotificationChannel m_channel; bool m_channelHasBeenSet = false; NotificationEvent m_event; bool m_eventHasBeenSet = false; }; } // namespace Model } // namespace RolesAnywhere } // namespace Aws