/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Panorama { namespace Model { /** *

Returns information about the latest device job.

See Also:

* AWS * API Reference

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

The target version of the device software.

*/ inline const Aws::String& GetImageVersion() const{ return m_imageVersion; } /** *

The target version of the device software.

*/ inline bool ImageVersionHasBeenSet() const { return m_imageVersionHasBeenSet; } /** *

The target version of the device software.

*/ inline void SetImageVersion(const Aws::String& value) { m_imageVersionHasBeenSet = true; m_imageVersion = value; } /** *

The target version of the device software.

*/ inline void SetImageVersion(Aws::String&& value) { m_imageVersionHasBeenSet = true; m_imageVersion = std::move(value); } /** *

The target version of the device software.

*/ inline void SetImageVersion(const char* value) { m_imageVersionHasBeenSet = true; m_imageVersion.assign(value); } /** *

The target version of the device software.

*/ inline LatestDeviceJob& WithImageVersion(const Aws::String& value) { SetImageVersion(value); return *this;} /** *

The target version of the device software.

*/ inline LatestDeviceJob& WithImageVersion(Aws::String&& value) { SetImageVersion(std::move(value)); return *this;} /** *

The target version of the device software.

*/ inline LatestDeviceJob& WithImageVersion(const char* value) { SetImageVersion(value); return *this;} /** *

The job's type.

*/ inline const JobType& GetJobType() const{ return m_jobType; } /** *

The job's type.

*/ inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; } /** *

The job's type.

*/ inline void SetJobType(const JobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; } /** *

The job's type.

*/ inline void SetJobType(JobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = std::move(value); } /** *

The job's type.

*/ inline LatestDeviceJob& WithJobType(const JobType& value) { SetJobType(value); return *this;} /** *

The job's type.

*/ inline LatestDeviceJob& WithJobType(JobType&& value) { SetJobType(std::move(value)); return *this;} /** *

Status of the latest device job.

*/ inline const UpdateProgress& GetStatus() const{ return m_status; } /** *

Status of the latest device job.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Status of the latest device job.

*/ inline void SetStatus(const UpdateProgress& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Status of the latest device job.

*/ inline void SetStatus(UpdateProgress&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Status of the latest device job.

*/ inline LatestDeviceJob& WithStatus(const UpdateProgress& value) { SetStatus(value); return *this;} /** *

Status of the latest device job.

*/ inline LatestDeviceJob& WithStatus(UpdateProgress&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_imageVersion; bool m_imageVersionHasBeenSet = false; JobType m_jobType; bool m_jobTypeHasBeenSet = false; UpdateProgress m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws