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

LoRaWANUpdateGatewayTaskCreate object.

See Also:

AWS * API Reference

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

The signature used to verify the update firmware.

*/ inline const Aws::String& GetUpdateSignature() const{ return m_updateSignature; } /** *

The signature used to verify the update firmware.

*/ inline bool UpdateSignatureHasBeenSet() const { return m_updateSignatureHasBeenSet; } /** *

The signature used to verify the update firmware.

*/ inline void SetUpdateSignature(const Aws::String& value) { m_updateSignatureHasBeenSet = true; m_updateSignature = value; } /** *

The signature used to verify the update firmware.

*/ inline void SetUpdateSignature(Aws::String&& value) { m_updateSignatureHasBeenSet = true; m_updateSignature = std::move(value); } /** *

The signature used to verify the update firmware.

*/ inline void SetUpdateSignature(const char* value) { m_updateSignatureHasBeenSet = true; m_updateSignature.assign(value); } /** *

The signature used to verify the update firmware.

*/ inline LoRaWANUpdateGatewayTaskCreate& WithUpdateSignature(const Aws::String& value) { SetUpdateSignature(value); return *this;} /** *

The signature used to verify the update firmware.

*/ inline LoRaWANUpdateGatewayTaskCreate& WithUpdateSignature(Aws::String&& value) { SetUpdateSignature(std::move(value)); return *this;} /** *

The signature used to verify the update firmware.

*/ inline LoRaWANUpdateGatewayTaskCreate& WithUpdateSignature(const char* value) { SetUpdateSignature(value); return *this;} /** *

The CRC of the signature private key to check.

*/ inline long long GetSigKeyCrc() const{ return m_sigKeyCrc; } /** *

The CRC of the signature private key to check.

*/ inline bool SigKeyCrcHasBeenSet() const { return m_sigKeyCrcHasBeenSet; } /** *

The CRC of the signature private key to check.

*/ inline void SetSigKeyCrc(long long value) { m_sigKeyCrcHasBeenSet = true; m_sigKeyCrc = value; } /** *

The CRC of the signature private key to check.

*/ inline LoRaWANUpdateGatewayTaskCreate& WithSigKeyCrc(long long value) { SetSigKeyCrc(value); return *this;} /** *

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 LoRaWANUpdateGatewayTaskCreate& WithCurrentVersion(const LoRaWANGatewayVersion& value) { SetCurrentVersion(value); return *this;} /** *

The version of the gateways that should receive the update.

*/ inline LoRaWANUpdateGatewayTaskCreate& 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 LoRaWANUpdateGatewayTaskCreate& WithUpdateVersion(const LoRaWANGatewayVersion& value) { SetUpdateVersion(value); return *this;} /** *

The firmware version to update the gateway to.

*/ inline LoRaWANUpdateGatewayTaskCreate& WithUpdateVersion(LoRaWANGatewayVersion&& value) { SetUpdateVersion(std::move(value)); return *this;} private: Aws::String m_updateSignature; bool m_updateSignatureHasBeenSet = false; long long m_sigKeyCrc; bool m_sigKeyCrcHasBeenSet = false; LoRaWANGatewayVersion m_currentVersion; bool m_currentVersionHasBeenSet = false; LoRaWANGatewayVersion m_updateVersion; bool m_updateVersionHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws