/** * 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 Panorama { namespace Model { /** *

A job's configuration.

See Also:

AWS * API Reference

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

A configuration for an over-the-air (OTA) upgrade. Required for OTA jobs.

*/ inline const OTAJobConfig& GetOTAJobConfig() const{ return m_oTAJobConfig; } /** *

A configuration for an over-the-air (OTA) upgrade. Required for OTA jobs.

*/ inline bool OTAJobConfigHasBeenSet() const { return m_oTAJobConfigHasBeenSet; } /** *

A configuration for an over-the-air (OTA) upgrade. Required for OTA jobs.

*/ inline void SetOTAJobConfig(const OTAJobConfig& value) { m_oTAJobConfigHasBeenSet = true; m_oTAJobConfig = value; } /** *

A configuration for an over-the-air (OTA) upgrade. Required for OTA jobs.

*/ inline void SetOTAJobConfig(OTAJobConfig&& value) { m_oTAJobConfigHasBeenSet = true; m_oTAJobConfig = std::move(value); } /** *

A configuration for an over-the-air (OTA) upgrade. Required for OTA jobs.

*/ inline DeviceJobConfig& WithOTAJobConfig(const OTAJobConfig& value) { SetOTAJobConfig(value); return *this;} /** *

A configuration for an over-the-air (OTA) upgrade. Required for OTA jobs.

*/ inline DeviceJobConfig& WithOTAJobConfig(OTAJobConfig&& value) { SetOTAJobConfig(std::move(value)); return *this;} private: OTAJobConfig m_oTAJobConfig; bool m_oTAJobConfigHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws