/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The channel membership preferences for push notification.See
* Also:
AWS
* API Reference
Enum value that indicates which push notifications to send to the requested
* member of a channel. ALL
sends all push notifications,
* NONE
sends no push notifications, FILTERED
sends only
* filtered push notifications.
Enum value that indicates which push notifications to send to the requested
* member of a channel. ALL
sends all push notifications,
* NONE
sends no push notifications, FILTERED
sends only
* filtered push notifications.
Enum value that indicates which push notifications to send to the requested
* member of a channel. ALL
sends all push notifications,
* NONE
sends no push notifications, FILTERED
sends only
* filtered push notifications.
Enum value that indicates which push notifications to send to the requested
* member of a channel. ALL
sends all push notifications,
* NONE
sends no push notifications, FILTERED
sends only
* filtered push notifications.
Enum value that indicates which push notifications to send to the requested
* member of a channel. ALL
sends all push notifications,
* NONE
sends no push notifications, FILTERED
sends only
* filtered push notifications.
Enum value that indicates which push notifications to send to the requested
* member of a channel. ALL
sends all push notifications,
* NONE
sends no push notifications, FILTERED
sends only
* filtered push notifications.
The simple JSON object used to send a subset of a push notification to the * requested member.
*/ inline const Aws::String& GetFilterRule() const{ return m_filterRule; } /** *The simple JSON object used to send a subset of a push notification to the * requested member.
*/ inline bool FilterRuleHasBeenSet() const { return m_filterRuleHasBeenSet; } /** *The simple JSON object used to send a subset of a push notification to the * requested member.
*/ inline void SetFilterRule(const Aws::String& value) { m_filterRuleHasBeenSet = true; m_filterRule = value; } /** *The simple JSON object used to send a subset of a push notification to the * requested member.
*/ inline void SetFilterRule(Aws::String&& value) { m_filterRuleHasBeenSet = true; m_filterRule = std::move(value); } /** *The simple JSON object used to send a subset of a push notification to the * requested member.
*/ inline void SetFilterRule(const char* value) { m_filterRuleHasBeenSet = true; m_filterRule.assign(value); } /** *The simple JSON object used to send a subset of a push notification to the * requested member.
*/ inline PushNotificationPreferences& WithFilterRule(const Aws::String& value) { SetFilterRule(value); return *this;} /** *The simple JSON object used to send a subset of a push notification to the * requested member.
*/ inline PushNotificationPreferences& WithFilterRule(Aws::String&& value) { SetFilterRule(std::move(value)); return *this;} /** *The simple JSON object used to send a subset of a push notification to the * requested member.
*/ inline PushNotificationPreferences& WithFilterRule(const char* value) { SetFilterRule(value); return *this;} private: AllowNotifications m_allowNotifications; bool m_allowNotificationsHasBeenSet = false; Aws::String m_filterRule; bool m_filterRuleHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMessaging } // namespace Aws