1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/panorama/Panorama_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 namespace Utils 14 { 15 namespace Json 16 { 17 class JsonValue; 18 class JsonView; 19 } // namespace Json 20 } // namespace Utils 21 namespace Panorama 22 { 23 namespace Model 24 { 25 26 /** 27 * <p>A job for a device.</p><p><h3>See Also:</h3> <a 28 * href="http://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/Job">AWS API 29 * Reference</a></p> 30 */ 31 class AWS_PANORAMA_API Job 32 { 33 public: 34 Job(); 35 Job(Aws::Utils::Json::JsonView jsonValue); 36 Job& operator=(Aws::Utils::Json::JsonView jsonValue); 37 Aws::Utils::Json::JsonValue Jsonize() const; 38 39 40 /** 41 * <p>The job's ID.</p> 42 */ GetJobId()43 inline const Aws::String& GetJobId() const{ return m_jobId; } 44 45 /** 46 * <p>The job's ID.</p> 47 */ JobIdHasBeenSet()48 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } 49 50 /** 51 * <p>The job's ID.</p> 52 */ SetJobId(const Aws::String & value)53 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } 54 55 /** 56 * <p>The job's ID.</p> 57 */ SetJobId(Aws::String && value)58 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } 59 60 /** 61 * <p>The job's ID.</p> 62 */ SetJobId(const char * value)63 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } 64 65 /** 66 * <p>The job's ID.</p> 67 */ WithJobId(const Aws::String & value)68 inline Job& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} 69 70 /** 71 * <p>The job's ID.</p> 72 */ WithJobId(Aws::String && value)73 inline Job& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} 74 75 /** 76 * <p>The job's ID.</p> 77 */ WithJobId(const char * value)78 inline Job& WithJobId(const char* value) { SetJobId(value); return *this;} 79 80 81 /** 82 * <p>The target device's ID.</p> 83 */ GetDeviceId()84 inline const Aws::String& GetDeviceId() const{ return m_deviceId; } 85 86 /** 87 * <p>The target device's ID.</p> 88 */ DeviceIdHasBeenSet()89 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; } 90 91 /** 92 * <p>The target device's ID.</p> 93 */ SetDeviceId(const Aws::String & value)94 inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; } 95 96 /** 97 * <p>The target device's ID.</p> 98 */ SetDeviceId(Aws::String && value)99 inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); } 100 101 /** 102 * <p>The target device's ID.</p> 103 */ SetDeviceId(const char * value)104 inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); } 105 106 /** 107 * <p>The target device's ID.</p> 108 */ WithDeviceId(const Aws::String & value)109 inline Job& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} 110 111 /** 112 * <p>The target device's ID.</p> 113 */ WithDeviceId(Aws::String && value)114 inline Job& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} 115 116 /** 117 * <p>The target device's ID.</p> 118 */ WithDeviceId(const char * value)119 inline Job& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} 120 121 private: 122 123 Aws::String m_jobId; 124 bool m_jobIdHasBeenSet; 125 126 Aws::String m_deviceId; 127 bool m_deviceIdHasBeenSet; 128 }; 129 130 } // namespace Model 131 } // namespace Panorama 132 } // namespace Aws 133