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

LoRaWAN application configuration, which can be used to perform * geolocation.

See Also:

AWS * API Reference

*/ class ApplicationConfig { public: AWS_IOTWIRELESS_API ApplicationConfig(); AWS_IOTWIRELESS_API ApplicationConfig(Aws::Utils::Json::JsonView jsonValue); AWS_IOTWIRELESS_API ApplicationConfig& 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 ApplicationConfig& WithFPort(int value) { SetFPort(value); return *this;} /** *

Application type, which can be specified to obtain real-time position * information of your LoRaWAN device.

*/ inline const ApplicationConfigType& GetType() const{ return m_type; } /** *

Application type, which can be specified to obtain real-time position * information of your LoRaWAN device.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

Application type, which can be specified to obtain real-time position * information of your LoRaWAN device.

*/ inline void SetType(const ApplicationConfigType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

Application type, which can be specified to obtain real-time position * information of your LoRaWAN device.

*/ inline void SetType(ApplicationConfigType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

Application type, which can be specified to obtain real-time position * information of your LoRaWAN device.

*/ inline ApplicationConfig& WithType(const ApplicationConfigType& value) { SetType(value); return *this;} /** *

Application type, which can be specified to obtain real-time position * information of your LoRaWAN device.

*/ inline ApplicationConfig& WithType(ApplicationConfigType&& value) { SetType(std::move(value)); return *this;} /** *

The name of the position data destination that describes the AWS IoT rule * that processes the device's position data for use by AWS IoT Core for * LoRaWAN.

*/ inline const Aws::String& GetDestinationName() const{ return m_destinationName; } /** *

The name of the position data destination that describes the AWS IoT rule * that processes the device's position data for use by AWS IoT Core for * LoRaWAN.

*/ inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; } /** *

The name of the position data destination that describes the AWS IoT rule * that processes the device's position data for use by AWS IoT Core for * LoRaWAN.

*/ inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; } /** *

The name of the position data destination that describes the AWS IoT rule * that processes the device's position data for use by AWS IoT Core for * LoRaWAN.

*/ inline void SetDestinationName(Aws::String&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::move(value); } /** *

The name of the position data destination that describes the AWS IoT rule * that processes the device's position data for use by AWS IoT Core for * LoRaWAN.

*/ inline void SetDestinationName(const char* value) { m_destinationNameHasBeenSet = true; m_destinationName.assign(value); } /** *

The name of the position data destination that describes the AWS IoT rule * that processes the device's position data for use by AWS IoT Core for * LoRaWAN.

*/ inline ApplicationConfig& WithDestinationName(const Aws::String& value) { SetDestinationName(value); return *this;} /** *

The name of the position data destination that describes the AWS IoT rule * that processes the device's position data for use by AWS IoT Core for * LoRaWAN.

*/ inline ApplicationConfig& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;} /** *

The name of the position data destination that describes the AWS IoT rule * that processes the device's position data for use by AWS IoT Core for * LoRaWAN.

*/ inline ApplicationConfig& WithDestinationName(const char* value) { SetDestinationName(value); return *this;} private: int m_fPort; bool m_fPortHasBeenSet = false; ApplicationConfigType m_type; bool m_typeHasBeenSet = false; Aws::String m_destinationName; bool m_destinationNameHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws