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

Gateway list item object that specifies the frequency and list of gateways * for which the downlink message should be sent.

See Also:

AWS * API Reference

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

The ID of the wireless gateways that you want to add to the list of gateways * when sending downlink messages.

*/ inline const Aws::String& GetGatewayId() const{ return m_gatewayId; } /** *

The ID of the wireless gateways that you want to add to the list of gateways * when sending downlink messages.

*/ inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; } /** *

The ID of the wireless gateways that you want to add to the list of gateways * when sending downlink messages.

*/ inline void SetGatewayId(const Aws::String& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; } /** *

The ID of the wireless gateways that you want to add to the list of gateways * when sending downlink messages.

*/ inline void SetGatewayId(Aws::String&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); } /** *

The ID of the wireless gateways that you want to add to the list of gateways * when sending downlink messages.

*/ inline void SetGatewayId(const char* value) { m_gatewayIdHasBeenSet = true; m_gatewayId.assign(value); } /** *

The ID of the wireless gateways that you want to add to the list of gateways * when sending downlink messages.

*/ inline GatewayListItem& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;} /** *

The ID of the wireless gateways that you want to add to the list of gateways * when sending downlink messages.

*/ inline GatewayListItem& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;} /** *

The ID of the wireless gateways that you want to add to the list of gateways * when sending downlink messages.

*/ inline GatewayListItem& WithGatewayId(const char* value) { SetGatewayId(value); return *this;} /** *

The frequency to use for the gateways when sending a downlink message to the * wireless device.

*/ inline int GetDownlinkFrequency() const{ return m_downlinkFrequency; } /** *

The frequency to use for the gateways when sending a downlink message to the * wireless device.

*/ inline bool DownlinkFrequencyHasBeenSet() const { return m_downlinkFrequencyHasBeenSet; } /** *

The frequency to use for the gateways when sending a downlink message to the * wireless device.

*/ inline void SetDownlinkFrequency(int value) { m_downlinkFrequencyHasBeenSet = true; m_downlinkFrequency = value; } /** *

The frequency to use for the gateways when sending a downlink message to the * wireless device.

*/ inline GatewayListItem& WithDownlinkFrequency(int value) { SetDownlinkFrequency(value); return *this;} private: Aws::String m_gatewayId; bool m_gatewayIdHasBeenSet = false; int m_downlinkFrequency; bool m_downlinkFrequencyHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws