/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Panorama { namespace Model { class DescribeDeviceJobResult { public: AWS_PANORAMA_API DescribeDeviceJobResult(); AWS_PANORAMA_API DescribeDeviceJobResult(const Aws::AmazonWebServiceResult& result); AWS_PANORAMA_API DescribeDeviceJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

When the job was created.

*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *

When the job was created.

*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; } /** *

When the job was created.

*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); } /** *

When the job was created.

*/ inline DescribeDeviceJobResult& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

When the job was created.

*/ inline DescribeDeviceJobResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

The device's ARN.

*/ inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; } /** *

The device's ARN.

*/ inline void SetDeviceArn(const Aws::String& value) { m_deviceArn = value; } /** *

The device's ARN.

*/ inline void SetDeviceArn(Aws::String&& value) { m_deviceArn = std::move(value); } /** *

The device's ARN.

*/ inline void SetDeviceArn(const char* value) { m_deviceArn.assign(value); } /** *

The device's ARN.

*/ inline DescribeDeviceJobResult& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;} /** *

The device's ARN.

*/ inline DescribeDeviceJobResult& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;} /** *

The device's ARN.

*/ inline DescribeDeviceJobResult& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;} /** *

The device's ID.

*/ inline const Aws::String& GetDeviceId() const{ return m_deviceId; } /** *

The device's ID.

*/ inline void SetDeviceId(const Aws::String& value) { m_deviceId = value; } /** *

The device's ID.

*/ inline void SetDeviceId(Aws::String&& value) { m_deviceId = std::move(value); } /** *

The device's ID.

*/ inline void SetDeviceId(const char* value) { m_deviceId.assign(value); } /** *

The device's ID.

*/ inline DescribeDeviceJobResult& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} /** *

The device's ID.

*/ inline DescribeDeviceJobResult& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} /** *

The device's ID.

*/ inline DescribeDeviceJobResult& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} /** *

The device's name.

*/ inline const Aws::String& GetDeviceName() const{ return m_deviceName; } /** *

The device's name.

*/ inline void SetDeviceName(const Aws::String& value) { m_deviceName = value; } /** *

The device's name.

*/ inline void SetDeviceName(Aws::String&& value) { m_deviceName = std::move(value); } /** *

The device's name.

*/ inline void SetDeviceName(const char* value) { m_deviceName.assign(value); } /** *

The device's name.

*/ inline DescribeDeviceJobResult& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;} /** *

The device's name.

*/ inline DescribeDeviceJobResult& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;} /** *

The device's name.

*/ inline DescribeDeviceJobResult& WithDeviceName(const char* value) { SetDeviceName(value); return *this;} /** *

The device's type.

*/ inline const DeviceType& GetDeviceType() const{ return m_deviceType; } /** *

The device's type.

*/ inline void SetDeviceType(const DeviceType& value) { m_deviceType = value; } /** *

The device's type.

*/ inline void SetDeviceType(DeviceType&& value) { m_deviceType = std::move(value); } /** *

The device's type.

*/ inline DescribeDeviceJobResult& WithDeviceType(const DeviceType& value) { SetDeviceType(value); return *this;} /** *

The device's type.

*/ inline DescribeDeviceJobResult& WithDeviceType(DeviceType&& value) { SetDeviceType(std::move(value)); return *this;} /** *

For an OTA job, the target version of the device software.

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

For an OTA job, the target version of the device software.

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

For an OTA job, the target version of the device software.

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

For an OTA job, the target version of the device software.

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

For an OTA job, the target version of the device software.

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

For an OTA job, the target version of the device software.

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

For an OTA job, the target version of the device software.

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

The job's ID.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The job's ID.

*/ inline void SetJobId(const Aws::String& value) { m_jobId = value; } /** *

The job's ID.

*/ inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); } /** *

The job's ID.

*/ inline void SetJobId(const char* value) { m_jobId.assign(value); } /** *

The job's ID.

*/ inline DescribeDeviceJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The job's ID.

*/ inline DescribeDeviceJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The job's ID.

*/ inline DescribeDeviceJobResult& WithJobId(const char* value) { SetJobId(value); return *this;} /** *

The job's type.

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

The job's type.

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

The job's type.

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

The job's type.

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

The job's type.

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

The job's status.

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

The job's status.

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

The job's status.

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

The job's status.

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

The job's status.

*/ inline DescribeDeviceJobResult& WithStatus(UpdateProgress&& value) { SetStatus(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeDeviceJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDeviceJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDeviceJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_createdTime; Aws::String m_deviceArn; Aws::String m_deviceId; Aws::String m_deviceName; DeviceType m_deviceType; Aws::String m_imageVersion; Aws::String m_jobId; JobType m_jobType; UpdateProgress m_status; Aws::String m_requestId; }; } // namespace Model } // namespace Panorama } // namespace Aws