/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The channel membership preferences for an
* AppInstanceUser
.See Also:
AWS
* API Reference
The push notification configuration of a message.
*/ inline const PushNotificationPreferences& GetPushNotifications() const{ return m_pushNotifications; } /** *The push notification configuration of a message.
*/ inline bool PushNotificationsHasBeenSet() const { return m_pushNotificationsHasBeenSet; } /** *The push notification configuration of a message.
*/ inline void SetPushNotifications(const PushNotificationPreferences& value) { m_pushNotificationsHasBeenSet = true; m_pushNotifications = value; } /** *The push notification configuration of a message.
*/ inline void SetPushNotifications(PushNotificationPreferences&& value) { m_pushNotificationsHasBeenSet = true; m_pushNotifications = std::move(value); } /** *The push notification configuration of a message.
*/ inline ChannelMembershipPreferences& WithPushNotifications(const PushNotificationPreferences& value) { SetPushNotifications(value); return *this;} /** *The push notification configuration of a message.
*/ inline ChannelMembershipPreferences& WithPushNotifications(PushNotificationPreferences&& value) { SetPushNotifications(std::move(value)); return *this;} private: PushNotificationPreferences m_pushNotifications; bool m_pushNotificationsHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMessaging } // namespace Aws