AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
49 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
50 inline DeviceJob& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
51 inline DeviceJob& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
59 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
60 inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
61 inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
62 inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
63 inline DeviceJob& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
64 inline DeviceJob& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
65 inline DeviceJob& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
67
69
72 inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
73 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
74 inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
75 inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
76 inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
77 inline DeviceJob& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
78 inline DeviceJob& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
79 inline DeviceJob& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
81
83
86 inline const Aws::String& GetJobId() const{ return m_jobId; }
87 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
88 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
89 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
90 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
91 inline DeviceJob& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
92 inline DeviceJob& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
93 inline DeviceJob& WithJobId(const char* value) { SetJobId(value); return *this;}
95
97
100 inline const JobType& GetJobType() const{ return m_jobType; }
101 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
102 inline void SetJobType(const JobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
103 inline void SetJobType(JobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = std::move(value); }
104 inline DeviceJob& WithJobType(const JobType& value) { SetJobType(value); return *this;}
105 inline DeviceJob& WithJobType(JobType&& value) { SetJobType(std::move(value)); return *this;}
107 private:
108
109 Aws::Utils::DateTime m_createdTime;
110 bool m_createdTimeHasBeenSet = false;
111
112 Aws::String m_deviceId;
113 bool m_deviceIdHasBeenSet = false;
114
115 Aws::String m_deviceName;
116 bool m_deviceNameHasBeenSet = false;
117
118 Aws::String m_jobId;
119 bool m_jobIdHasBeenSet = false;
120
121 JobType m_jobType;
122 bool m_jobTypeHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace Panorama
127} // namespace Aws
DeviceJob & WithDeviceId(Aws::String &&value)
Definition DeviceJob.h:64
const JobType & GetJobType() const
Definition DeviceJob.h:100
DeviceJob & WithJobId(const char *value)
Definition DeviceJob.h:93
AWS_PANORAMA_API DeviceJob & operator=(Aws::Utils::Json::JsonView jsonValue)
DeviceJob & WithDeviceId(const Aws::String &value)
Definition DeviceJob.h:63
void SetJobId(Aws::String &&value)
Definition DeviceJob.h:89
void SetDeviceName(const char *value)
Definition DeviceJob.h:76
DeviceJob & WithJobId(const Aws::String &value)
Definition DeviceJob.h:91
DeviceJob & WithJobId(Aws::String &&value)
Definition DeviceJob.h:92
void SetJobType(JobType &&value)
Definition DeviceJob.h:103
void SetJobId(const Aws::String &value)
Definition DeviceJob.h:88
void SetJobId(const char *value)
Definition DeviceJob.h:90
void SetDeviceId(Aws::String &&value)
Definition DeviceJob.h:61
const Aws::String & GetDeviceName() const
Definition DeviceJob.h:72
AWS_PANORAMA_API DeviceJob()
DeviceJob & WithDeviceName(Aws::String &&value)
Definition DeviceJob.h:78
const Aws::String & GetJobId() const
Definition DeviceJob.h:86
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition DeviceJob.h:48
DeviceJob & WithJobType(const JobType &value)
Definition DeviceJob.h:104
void SetDeviceId(const Aws::String &value)
Definition DeviceJob.h:60
const Aws::Utils::DateTime & GetCreatedTime() const
Definition DeviceJob.h:46
AWS_PANORAMA_API DeviceJob(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceId(const char *value)
Definition DeviceJob.h:62
void SetDeviceName(const Aws::String &value)
Definition DeviceJob.h:74
DeviceJob & WithDeviceId(const char *value)
Definition DeviceJob.h:65
const Aws::String & GetDeviceId() const
Definition DeviceJob.h:58
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition DeviceJob.h:49
DeviceJob & WithJobType(JobType &&value)
Definition DeviceJob.h:105
void SetJobType(const JobType &value)
Definition DeviceJob.h:102
DeviceJob & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition DeviceJob.h:51
void SetDeviceName(Aws::String &&value)
Definition DeviceJob.h:75
DeviceJob & WithDeviceName(const char *value)
Definition DeviceJob.h:79
DeviceJob & WithDeviceName(const Aws::String &value)
Definition DeviceJob.h:77
DeviceJob & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition DeviceJob.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue