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

LoRaWAN router info.

See Also:

AWS * API Reference

*/ class LoRaWANSendDataToDevice { public: AWS_IOTWIRELESS_API LoRaWANSendDataToDevice(); AWS_IOTWIRELESS_API LoRaWANSendDataToDevice(Aws::Utils::Json::JsonView jsonValue); AWS_IOTWIRELESS_API LoRaWANSendDataToDevice& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const; inline int GetFPort() const{ return m_fPort; } inline bool FPortHasBeenSet() const { return m_fPortHasBeenSet; } inline void SetFPort(int value) { m_fPortHasBeenSet = true; m_fPort = value; } inline LoRaWANSendDataToDevice& WithFPort(int value) { SetFPort(value); return *this;} /** *

Choose the gateways that you want to use for the downlink data traffic when * the wireless device is running in class B or class C mode.

*/ inline const ParticipatingGateways& GetParticipatingGateways() const{ return m_participatingGateways; } /** *

Choose the gateways that you want to use for the downlink data traffic when * the wireless device is running in class B or class C mode.

*/ inline bool ParticipatingGatewaysHasBeenSet() const { return m_participatingGatewaysHasBeenSet; } /** *

Choose the gateways that you want to use for the downlink data traffic when * the wireless device is running in class B or class C mode.

*/ inline void SetParticipatingGateways(const ParticipatingGateways& value) { m_participatingGatewaysHasBeenSet = true; m_participatingGateways = value; } /** *

Choose the gateways that you want to use for the downlink data traffic when * the wireless device is running in class B or class C mode.

*/ inline void SetParticipatingGateways(ParticipatingGateways&& value) { m_participatingGatewaysHasBeenSet = true; m_participatingGateways = std::move(value); } /** *

Choose the gateways that you want to use for the downlink data traffic when * the wireless device is running in class B or class C mode.

*/ inline LoRaWANSendDataToDevice& WithParticipatingGateways(const ParticipatingGateways& value) { SetParticipatingGateways(value); return *this;} /** *

Choose the gateways that you want to use for the downlink data traffic when * the wireless device is running in class B or class C mode.

*/ inline LoRaWANSendDataToDevice& WithParticipatingGateways(ParticipatingGateways&& value) { SetParticipatingGateways(std::move(value)); return *this;} private: int m_fPort; bool m_fPortHasBeenSet = false; ParticipatingGateways m_participatingGateways; bool m_participatingGatewaysHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws