/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include LoRaWANUpdateGatewayTaskEntry object.See Also:
AWS
* API Reference
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 LoRaWANUpdateGatewayTaskEntry& WithCurrentVersion(const LoRaWANGatewayVersion& value) { SetCurrentVersion(value); return *this;} /** *The version of the gateways that should receive the update.
*/ inline LoRaWANUpdateGatewayTaskEntry& WithCurrentVersion(LoRaWANGatewayVersion&& value) { SetCurrentVersion(std::move(value)); return *this;} /** *The firmware version to update the gateway to.
*/ inline const LoRaWANGatewayVersion& GetUpdateVersion() const{ return m_updateVersion; } /** *The firmware version to update the gateway to.
*/ inline bool UpdateVersionHasBeenSet() const { return m_updateVersionHasBeenSet; } /** *The firmware version to update the gateway to.
*/ inline void SetUpdateVersion(const LoRaWANGatewayVersion& value) { m_updateVersionHasBeenSet = true; m_updateVersion = value; } /** *The firmware version to update the gateway to.
*/ inline void SetUpdateVersion(LoRaWANGatewayVersion&& value) { m_updateVersionHasBeenSet = true; m_updateVersion = std::move(value); } /** *The firmware version to update the gateway to.
*/ inline LoRaWANUpdateGatewayTaskEntry& WithUpdateVersion(const LoRaWANGatewayVersion& value) { SetUpdateVersion(value); return *this;} /** *The firmware version to update the gateway to.
*/ inline LoRaWANUpdateGatewayTaskEntry& WithUpdateVersion(LoRaWANGatewayVersion&& value) { SetUpdateVersion(std::move(value)); return *this;} private: LoRaWANGatewayVersion m_currentVersion; bool m_currentVersionHasBeenSet = false; LoRaWANGatewayVersion m_updateVersion; bool m_updateVersionHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws