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

Join event configuration object for enabling or disabling * topic.

See Also:

AWS * API Reference

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

Join event configuration object for enabling or disabling LoRaWAN related * event topics.

*/ inline const LoRaWANJoinEventNotificationConfigurations& GetLoRaWAN() const{ return m_loRaWAN; } /** *

Join event configuration object for enabling or disabling LoRaWAN related * event topics.

*/ inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; } /** *

Join event configuration object for enabling or disabling LoRaWAN related * event topics.

*/ inline void SetLoRaWAN(const LoRaWANJoinEventNotificationConfigurations& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = value; } /** *

Join event configuration object for enabling or disabling LoRaWAN related * event topics.

*/ inline void SetLoRaWAN(LoRaWANJoinEventNotificationConfigurations&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::move(value); } /** *

Join event configuration object for enabling or disabling LoRaWAN related * event topics.

*/ inline JoinEventConfiguration& WithLoRaWAN(const LoRaWANJoinEventNotificationConfigurations& value) { SetLoRaWAN(value); return *this;} /** *

Join event configuration object for enabling or disabling LoRaWAN related * event topics.

*/ inline JoinEventConfiguration& WithLoRaWAN(LoRaWANJoinEventNotificationConfigurations&& value) { SetLoRaWAN(std::move(value)); return *this;} /** *

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

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

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

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

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

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

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

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

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

*/ inline JoinEventConfiguration& WithWirelessDeviceIdEventTopic(EventNotificationTopicStatus&& value) { SetWirelessDeviceIdEventTopic(std::move(value)); return *this;} private: LoRaWANJoinEventNotificationConfigurations m_loRaWAN; bool m_loRaWANHasBeenSet = false; EventNotificationTopicStatus m_wirelessDeviceIdEventTopic; bool m_wirelessDeviceIdEventTopicHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws