AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeDeviceJobResult.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/DeviceType.h>
11#include <aws/panorama/model/JobType.h>
12#include <aws/panorama/model/UpdateProgress.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Panorama
28{
29namespace Model
30{
32 {
33 public:
34 AWS_PANORAMA_API DescribeDeviceJobResult() = default;
37
38
40
43 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
44 template<typename CreatedTimeT = Aws::Utils::DateTime>
45 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
46 template<typename CreatedTimeT = Aws::Utils::DateTime>
47 DescribeDeviceJobResult& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDeviceArn() const { return m_deviceArn; }
55 template<typename DeviceArnT = Aws::String>
56 void SetDeviceArn(DeviceArnT&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::forward<DeviceArnT>(value); }
57 template<typename DeviceArnT = Aws::String>
58 DescribeDeviceJobResult& WithDeviceArn(DeviceArnT&& value) { SetDeviceArn(std::forward<DeviceArnT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
66 template<typename DeviceIdT = Aws::String>
67 void SetDeviceId(DeviceIdT&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::forward<DeviceIdT>(value); }
68 template<typename DeviceIdT = Aws::String>
69 DescribeDeviceJobResult& WithDeviceId(DeviceIdT&& value) { SetDeviceId(std::forward<DeviceIdT>(value)); return *this;}
71
73
76 inline const Aws::String& GetDeviceName() const { return m_deviceName; }
77 template<typename DeviceNameT = Aws::String>
78 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::forward<DeviceNameT>(value); }
79 template<typename DeviceNameT = Aws::String>
80 DescribeDeviceJobResult& WithDeviceName(DeviceNameT&& value) { SetDeviceName(std::forward<DeviceNameT>(value)); return *this;}
82
84
87 inline DeviceType GetDeviceType() const { return m_deviceType; }
88 inline void SetDeviceType(DeviceType value) { m_deviceTypeHasBeenSet = true; m_deviceType = value; }
89 inline DescribeDeviceJobResult& WithDeviceType(DeviceType value) { SetDeviceType(value); return *this;}
91
93
96 inline const Aws::String& GetImageVersion() const { return m_imageVersion; }
97 template<typename ImageVersionT = Aws::String>
98 void SetImageVersion(ImageVersionT&& value) { m_imageVersionHasBeenSet = true; m_imageVersion = std::forward<ImageVersionT>(value); }
99 template<typename ImageVersionT = Aws::String>
100 DescribeDeviceJobResult& WithImageVersion(ImageVersionT&& value) { SetImageVersion(std::forward<ImageVersionT>(value)); return *this;}
102
104
107 inline const Aws::String& GetJobId() const { return m_jobId; }
108 template<typename JobIdT = Aws::String>
109 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
110 template<typename JobIdT = Aws::String>
111 DescribeDeviceJobResult& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
113
115
118 inline JobType GetJobType() const { return m_jobType; }
119 inline void SetJobType(JobType value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
120 inline DescribeDeviceJobResult& WithJobType(JobType value) { SetJobType(value); return *this;}
122
124
127 inline UpdateProgress GetStatus() const { return m_status; }
128 inline void SetStatus(UpdateProgress value) { m_statusHasBeenSet = true; m_status = value; }
129 inline DescribeDeviceJobResult& WithStatus(UpdateProgress value) { SetStatus(value); return *this;}
131
133
134 inline const Aws::String& GetRequestId() const { return m_requestId; }
135 template<typename RequestIdT = Aws::String>
136 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
137 template<typename RequestIdT = Aws::String>
138 DescribeDeviceJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
140 private:
141
142 Aws::Utils::DateTime m_createdTime{};
143 bool m_createdTimeHasBeenSet = false;
144
145 Aws::String m_deviceArn;
146 bool m_deviceArnHasBeenSet = false;
147
148 Aws::String m_deviceId;
149 bool m_deviceIdHasBeenSet = false;
150
151 Aws::String m_deviceName;
152 bool m_deviceNameHasBeenSet = false;
153
154 DeviceType m_deviceType{DeviceType::NOT_SET};
155 bool m_deviceTypeHasBeenSet = false;
156
157 Aws::String m_imageVersion;
158 bool m_imageVersionHasBeenSet = false;
159
160 Aws::String m_jobId;
161 bool m_jobIdHasBeenSet = false;
162
163 JobType m_jobType{JobType::NOT_SET};
164 bool m_jobTypeHasBeenSet = false;
165
167 bool m_statusHasBeenSet = false;
168
169 Aws::String m_requestId;
170 bool m_requestIdHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace Panorama
175} // namespace Aws
DescribeDeviceJobResult & WithJobType(JobType value)
AWS_PANORAMA_API DescribeDeviceJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PANORAMA_API DescribeDeviceJobResult()=default
DescribeDeviceJobResult & WithImageVersion(ImageVersionT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
DescribeDeviceJobResult & WithRequestId(RequestIdT &&value)
DescribeDeviceJobResult & WithDeviceName(DeviceNameT &&value)
AWS_PANORAMA_API DescribeDeviceJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDeviceJobResult & WithStatus(UpdateProgress value)
DescribeDeviceJobResult & WithDeviceType(DeviceType value)
DescribeDeviceJobResult & WithDeviceId(DeviceIdT &&value)
DescribeDeviceJobResult & WithDeviceArn(DeviceArnT &&value)
DescribeDeviceJobResult & WithJobId(JobIdT &&value)
DescribeDeviceJobResult & WithCreatedTime(CreatedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue