/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A job that runs on a device.See Also:
AWS
* API Reference
When the job was created.
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *When the job was created.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *When the job was created.
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *When the job was created.
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *When the job was created.
*/ inline DeviceJob& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *When the job was created.
*/ inline DeviceJob& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *The ID of the target device.
*/ inline const Aws::String& GetDeviceId() const{ return m_deviceId; } /** *The ID of the target device.
*/ inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; } /** *The ID of the target device.
*/ inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; } /** *The ID of the target device.
*/ inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); } /** *The ID of the target device.
*/ inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); } /** *The ID of the target device.
*/ inline DeviceJob& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} /** *The ID of the target device.
*/ inline DeviceJob& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} /** *The ID of the target device.
*/ inline DeviceJob& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} /** *The name of the target device
*/ inline const Aws::String& GetDeviceName() const{ return m_deviceName; } /** *The name of the target device
*/ inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; } /** *The name of the target device
*/ inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; } /** *The name of the target device
*/ inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); } /** *The name of the target device
*/ inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); } /** *The name of the target device
*/ inline DeviceJob& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;} /** *The name of the target device
*/ inline DeviceJob& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;} /** *The name of the target device
*/ inline DeviceJob& WithDeviceName(const char* value) { SetDeviceName(value); return *this;} /** *The job's ID.
*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *The job's ID.
*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *The job's ID.
*/ inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } /** *The job's ID.
*/ inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } /** *The job's ID.
*/ inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } /** *The job's ID.
*/ inline DeviceJob& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *The job's ID.
*/ inline DeviceJob& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *The job's ID.
*/ inline DeviceJob& 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 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 DeviceJob& WithJobType(const JobType& value) { SetJobType(value); return *this;} /** *The job's type.
*/ inline DeviceJob& WithJobType(JobType&& value) { SetJobType(std::move(value)); return *this;} private: Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::String m_deviceId; bool m_deviceIdHasBeenSet = false; Aws::String m_deviceName; bool m_deviceNameHasBeenSet = false; Aws::String m_jobId; bool m_jobIdHasBeenSet = false; JobType m_jobType; bool m_jobTypeHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws