/** * 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 for a device.

See Also:

AWS API * Reference

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

The target device's ID.

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

The target device's ID.

*/ inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; } /** *

The target device's ID.

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

The target device's ID.

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

The target device's ID.

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

The target device's ID.

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

The target device's ID.

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

The target device's ID.

*/ inline Job& WithDeviceId(const char* value) { SetDeviceId(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 Job& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The job's ID.

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

The job's ID.

*/ inline Job& WithJobId(const char* value) { SetJobId(value); return *this;} private: Aws::String m_deviceId; bool m_deviceIdHasBeenSet = false; Aws::String m_jobId; bool m_jobIdHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws