AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DeviceJob.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Panorama
24{
25namespace Model
26{
27
34 {
35 public:
40
41
45 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
46
50 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
51
55 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
56
60 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
61
65 inline DeviceJob& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
66
70 inline DeviceJob& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
71
72
76 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
77
81 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
82
86 inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
87
91 inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
92
96 inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
97
101 inline DeviceJob& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
102
106 inline DeviceJob& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
107
111 inline DeviceJob& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
112
113
117 inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
118
122 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
123
127 inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
128
132 inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
133
137 inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
138
142 inline DeviceJob& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
143
147 inline DeviceJob& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
148
152 inline DeviceJob& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
153
154
158 inline const Aws::String& GetJobId() const{ return m_jobId; }
159
163 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
164
168 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
169
173 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
174
178 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
179
183 inline DeviceJob& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
184
188 inline DeviceJob& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
189
193 inline DeviceJob& WithJobId(const char* value) { SetJobId(value); return *this;}
194
195
199 inline const JobType& GetJobType() const{ return m_jobType; }
200
204 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
205
209 inline void SetJobType(const JobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
210
214 inline void SetJobType(JobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = std::move(value); }
215
219 inline DeviceJob& WithJobType(const JobType& value) { SetJobType(value); return *this;}
220
224 inline DeviceJob& WithJobType(JobType&& value) { SetJobType(std::move(value)); return *this;}
225
226 private:
227
228 Aws::Utils::DateTime m_createdTime;
229 bool m_createdTimeHasBeenSet = false;
230
231 Aws::String m_deviceId;
232 bool m_deviceIdHasBeenSet = false;
233
234 Aws::String m_deviceName;
235 bool m_deviceNameHasBeenSet = false;
236
237 Aws::String m_jobId;
238 bool m_jobIdHasBeenSet = false;
239
240 JobType m_jobType;
241 bool m_jobTypeHasBeenSet = false;
242 };
243
244} // namespace Model
245} // namespace Panorama
246} // namespace Aws
#define AWS_PANORAMA_API
DeviceJob & WithDeviceId(Aws::String &&value)
Definition: DeviceJob.h:106
const JobType & GetJobType() const
Definition: DeviceJob.h:199
DeviceJob & WithJobId(const char *value)
Definition: DeviceJob.h:193
AWS_PANORAMA_API DeviceJob & operator=(Aws::Utils::Json::JsonView jsonValue)
DeviceJob & WithDeviceId(const Aws::String &value)
Definition: DeviceJob.h:101
void SetJobId(Aws::String &&value)
Definition: DeviceJob.h:173
void SetDeviceName(const char *value)
Definition: DeviceJob.h:137
DeviceJob & WithJobId(const Aws::String &value)
Definition: DeviceJob.h:183
DeviceJob & WithJobId(Aws::String &&value)
Definition: DeviceJob.h:188
void SetJobType(JobType &&value)
Definition: DeviceJob.h:214
bool CreatedTimeHasBeenSet() const
Definition: DeviceJob.h:50
void SetJobId(const Aws::String &value)
Definition: DeviceJob.h:168
void SetJobId(const char *value)
Definition: DeviceJob.h:178
void SetDeviceId(Aws::String &&value)
Definition: DeviceJob.h:91
const Aws::String & GetDeviceName() const
Definition: DeviceJob.h:117
AWS_PANORAMA_API DeviceJob()
DeviceJob & WithDeviceName(Aws::String &&value)
Definition: DeviceJob.h:147
const Aws::String & GetJobId() const
Definition: DeviceJob.h:158
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition: DeviceJob.h:55
DeviceJob & WithJobType(const JobType &value)
Definition: DeviceJob.h:219
void SetDeviceId(const Aws::String &value)
Definition: DeviceJob.h:86
const Aws::Utils::DateTime & GetCreatedTime() const
Definition: DeviceJob.h:45
AWS_PANORAMA_API DeviceJob(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceId(const char *value)
Definition: DeviceJob.h:96
void SetDeviceName(const Aws::String &value)
Definition: DeviceJob.h:127
DeviceJob & WithDeviceId(const char *value)
Definition: DeviceJob.h:111
const Aws::String & GetDeviceId() const
Definition: DeviceJob.h:76
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition: DeviceJob.h:60
DeviceJob & WithJobType(JobType &&value)
Definition: DeviceJob.h:224
void SetJobType(const JobType &value)
Definition: DeviceJob.h:209
DeviceJob & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition: DeviceJob.h:70
void SetDeviceName(Aws::String &&value)
Definition: DeviceJob.h:132
DeviceJob & WithDeviceName(const char *value)
Definition: DeviceJob.h:152
DeviceJob & WithDeviceName(const Aws::String &value)
Definition: DeviceJob.h:142
DeviceJob & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition: DeviceJob.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String