AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeviceJob.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/panorama/model/JobType.h>
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:
36 AWS_PANORAMA_API DeviceJob() = default;
37 AWS_PANORAMA_API DeviceJob(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PANORAMA_API DeviceJob& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
47 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
48 template<typename CreatedTimeT = Aws::Utils::DateTime>
49 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
50 template<typename CreatedTimeT = Aws::Utils::DateTime>
51 DeviceJob& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
59 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
60 template<typename DeviceIdT = Aws::String>
61 void SetDeviceId(DeviceIdT&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::forward<DeviceIdT>(value); }
62 template<typename DeviceIdT = Aws::String>
63 DeviceJob& WithDeviceId(DeviceIdT&& value) { SetDeviceId(std::forward<DeviceIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDeviceName() const { return m_deviceName; }
71 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
72 template<typename DeviceNameT = Aws::String>
73 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::forward<DeviceNameT>(value); }
74 template<typename DeviceNameT = Aws::String>
75 DeviceJob& WithDeviceName(DeviceNameT&& value) { SetDeviceName(std::forward<DeviceNameT>(value)); return *this;}
77
79
82 inline const Aws::String& GetJobId() const { return m_jobId; }
83 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
84 template<typename JobIdT = Aws::String>
85 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
86 template<typename JobIdT = Aws::String>
87 DeviceJob& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
89
91
94 inline JobType GetJobType() const { return m_jobType; }
95 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
96 inline void SetJobType(JobType value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
97 inline DeviceJob& WithJobType(JobType value) { SetJobType(value); return *this;}
99 private:
100
101 Aws::Utils::DateTime m_createdTime{};
102 bool m_createdTimeHasBeenSet = false;
103
104 Aws::String m_deviceId;
105 bool m_deviceIdHasBeenSet = false;
106
107 Aws::String m_deviceName;
108 bool m_deviceNameHasBeenSet = false;
109
110 Aws::String m_jobId;
111 bool m_jobIdHasBeenSet = false;
112
113 JobType m_jobType{JobType::NOT_SET};
114 bool m_jobTypeHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace Panorama
119} // namespace Aws
DeviceJob & WithCreatedTime(CreatedTimeT &&value)
Definition DeviceJob.h:51
void SetDeviceId(DeviceIdT &&value)
Definition DeviceJob.h:61
AWS_PANORAMA_API DeviceJob & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceName(DeviceNameT &&value)
Definition DeviceJob.h:73
AWS_PANORAMA_API DeviceJob()=default
const Aws::String & GetDeviceName() const
Definition DeviceJob.h:70
void SetCreatedTime(CreatedTimeT &&value)
Definition DeviceJob.h:49
void SetJobType(JobType value)
Definition DeviceJob.h:96
DeviceJob & WithDeviceId(DeviceIdT &&value)
Definition DeviceJob.h:63
const Aws::String & GetJobId() const
Definition DeviceJob.h:82
const Aws::Utils::DateTime & GetCreatedTime() const
Definition DeviceJob.h:46
AWS_PANORAMA_API DeviceJob(Aws::Utils::Json::JsonView jsonValue)
DeviceJob & WithJobType(JobType value)
Definition DeviceJob.h:97
const Aws::String & GetDeviceId() const
Definition DeviceJob.h:58
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetJobId(JobIdT &&value)
Definition DeviceJob.h:85
DeviceJob & WithDeviceName(DeviceNameT &&value)
Definition DeviceJob.h:75
DeviceJob & WithJobId(JobIdT &&value)
Definition DeviceJob.h:87
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue