/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTWireless { namespace Model { /** *

Proximity event configuration object for enabling and disabling relevant * topics.

See Also:

AWS * API Reference

*/ class ProximityEventConfiguration { public: AWS_IOTWIRELESS_API ProximityEventConfiguration(); AWS_IOTWIRELESS_API ProximityEventConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_IOTWIRELESS_API ProximityEventConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Proximity event configuration object for enabling or disabling Sidewalk * related event topics.

*/ inline const SidewalkEventNotificationConfigurations& GetSidewalk() const{ return m_sidewalk; } /** *

Proximity event configuration object for enabling or disabling Sidewalk * related event topics.

*/ inline bool SidewalkHasBeenSet() const { return m_sidewalkHasBeenSet; } /** *

Proximity event configuration object for enabling or disabling Sidewalk * related event topics.

*/ inline void SetSidewalk(const SidewalkEventNotificationConfigurations& value) { m_sidewalkHasBeenSet = true; m_sidewalk = value; } /** *

Proximity event configuration object for enabling or disabling Sidewalk * related event topics.

*/ inline void SetSidewalk(SidewalkEventNotificationConfigurations&& value) { m_sidewalkHasBeenSet = true; m_sidewalk = std::move(value); } /** *

Proximity event configuration object for enabling or disabling Sidewalk * related event topics.

*/ inline ProximityEventConfiguration& WithSidewalk(const SidewalkEventNotificationConfigurations& value) { SetSidewalk(value); return *this;} /** *

Proximity event configuration object for enabling or disabling Sidewalk * related event topics.

*/ inline ProximityEventConfiguration& WithSidewalk(SidewalkEventNotificationConfigurations&& value) { SetSidewalk(std::move(value)); return *this;} /** *

Denotes whether the wireless device ID proximity event topic is enabled or * disabled.

*/ inline const EventNotificationTopicStatus& GetWirelessDeviceIdEventTopic() const{ return m_wirelessDeviceIdEventTopic; } /** *

Denotes whether the wireless device ID proximity event topic is enabled or * disabled.

*/ inline bool WirelessDeviceIdEventTopicHasBeenSet() const { return m_wirelessDeviceIdEventTopicHasBeenSet; } /** *

Denotes whether the wireless device ID proximity event topic is enabled or * disabled.

*/ inline void SetWirelessDeviceIdEventTopic(const EventNotificationTopicStatus& value) { m_wirelessDeviceIdEventTopicHasBeenSet = true; m_wirelessDeviceIdEventTopic = value; } /** *

Denotes whether the wireless device ID proximity event topic is enabled or * disabled.

*/ inline void SetWirelessDeviceIdEventTopic(EventNotificationTopicStatus&& value) { m_wirelessDeviceIdEventTopicHasBeenSet = true; m_wirelessDeviceIdEventTopic = std::move(value); } /** *

Denotes whether the wireless device ID proximity event topic is enabled or * disabled.

*/ inline ProximityEventConfiguration& WithWirelessDeviceIdEventTopic(const EventNotificationTopicStatus& value) { SetWirelessDeviceIdEventTopic(value); return *this;} /** *

Denotes whether the wireless device ID proximity event topic is enabled or * disabled.

*/ inline ProximityEventConfiguration& WithWirelessDeviceIdEventTopic(EventNotificationTopicStatus&& value) { SetWirelessDeviceIdEventTopic(std::move(value)); return *this;} private: SidewalkEventNotificationConfigurations m_sidewalk; bool m_sidewalkHasBeenSet = false; EventNotificationTopicStatus m_wirelessDeviceIdEventTopic; bool m_wirelessDeviceIdEventTopicHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws