/** * 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 { /** *

Device registration state event configuration object for enabling and * disabling relevant topics.

See Also:

AWS * API Reference

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

Device registration state event configuration object for enabling or * disabling Sidewalk related event topics.

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

Device registration state event configuration object for enabling or * disabling Sidewalk related event topics.

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

Device registration state event configuration object for enabling or * disabling Sidewalk related event topics.

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

Device registration state event configuration object for enabling or * disabling Sidewalk related event topics.

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

Device registration state event configuration object for enabling or * disabling Sidewalk related event topics.

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

Device registration state event configuration object for enabling or * disabling Sidewalk related event topics.

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

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

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

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

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

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

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

Denotes whether the wireless device ID device registration state 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 device registration state event topic * is enabled or disabled.

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

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

*/ inline DeviceRegistrationStateEventConfiguration& 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