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

LoRaWANGatewayCurrentVersion object.

See Also:

AWS * API Reference

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

The version of the gateways that should receive the update.

*/ inline const LoRaWANGatewayVersion& GetCurrentVersion() const{ return m_currentVersion; } /** *

The version of the gateways that should receive the update.

*/ inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; } /** *

The version of the gateways that should receive the update.

*/ inline void SetCurrentVersion(const LoRaWANGatewayVersion& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; } /** *

The version of the gateways that should receive the update.

*/ inline void SetCurrentVersion(LoRaWANGatewayVersion&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); } /** *

The version of the gateways that should receive the update.

*/ inline LoRaWANGatewayCurrentVersion& WithCurrentVersion(const LoRaWANGatewayVersion& value) { SetCurrentVersion(value); return *this;} /** *

The version of the gateways that should receive the update.

*/ inline LoRaWANGatewayCurrentVersion& WithCurrentVersion(LoRaWANGatewayVersion&& value) { SetCurrentVersion(std::move(value)); return *this;} private: LoRaWANGatewayVersion m_currentVersion; bool m_currentVersionHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws