AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
Job.h
Go to the documentation of this file.
1
6#pragma once
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Panorama
22{
23namespace Model
24{
25
31 class Job
32 {
33 public:
38
39
43 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
44
48 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
49
53 inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
54
58 inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
59
63 inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
64
68 inline Job& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
69
73 inline Job& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
74
78 inline Job& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
79
80
84 inline const Aws::String& GetJobId() const{ return m_jobId; }
85
89 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
90
94 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
95
99 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
100
104 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
105
109 inline Job& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
110
114 inline Job& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
115
119 inline Job& WithJobId(const char* value) { SetJobId(value); return *this;}
120
121 private:
122
123 Aws::String m_deviceId;
124 bool m_deviceIdHasBeenSet = false;
125
126 Aws::String m_jobId;
127 bool m_jobIdHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace Panorama
132} // namespace Aws
#define AWS_PANORAMA_API
AWS_PANORAMA_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceId(Aws::String &&value)
Definition: Job.h:58
void SetDeviceId(const char *value)
Definition: Job.h:63
bool JobIdHasBeenSet() const
Definition: Job.h:89
void SetJobId(const char *value)
Definition: Job.h:104
const Aws::String & GetJobId() const
Definition: Job.h:84
AWS_PANORAMA_API Job()
void SetJobId(const Aws::String &value)
Definition: Job.h:94
void SetDeviceId(const Aws::String &value)
Definition: Job.h:53
void SetJobId(Aws::String &&value)
Definition: Job.h:99
Job & WithJobId(const Aws::String &value)
Definition: Job.h:109
Job & WithDeviceId(const Aws::String &value)
Definition: Job.h:68
const Aws::String & GetDeviceId() const
Definition: Job.h:43
AWS_PANORAMA_API Job(Aws::Utils::Json::JsonView jsonValue)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
Job & WithDeviceId(Aws::String &&value)
Definition: Job.h:73
Job & WithJobId(Aws::String &&value)
Definition: Job.h:114
Job & WithJobId(const char *value)
Definition: Job.h:119
bool DeviceIdHasBeenSet() const
Definition: Job.h:48
Job & WithDeviceId(const char *value)
Definition: Job.h:78
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String