AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37
38
40
43 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
44 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; }
45 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); }
46 inline DescribeDeviceJobResult& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
47 inline DescribeDeviceJobResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
49
51
54 inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
55 inline void SetDeviceArn(const Aws::String& value) { m_deviceArn = value; }
56 inline void SetDeviceArn(Aws::String&& value) { m_deviceArn = std::move(value); }
57 inline void SetDeviceArn(const char* value) { m_deviceArn.assign(value); }
58 inline DescribeDeviceJobResult& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
59 inline DescribeDeviceJobResult& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
60 inline DescribeDeviceJobResult& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
62
64
67 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
68 inline void SetDeviceId(const Aws::String& value) { m_deviceId = value; }
69 inline void SetDeviceId(Aws::String&& value) { m_deviceId = std::move(value); }
70 inline void SetDeviceId(const char* value) { m_deviceId.assign(value); }
71 inline DescribeDeviceJobResult& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
72 inline DescribeDeviceJobResult& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
73 inline DescribeDeviceJobResult& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
75
77
80 inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
81 inline void SetDeviceName(const Aws::String& value) { m_deviceName = value; }
82 inline void SetDeviceName(Aws::String&& value) { m_deviceName = std::move(value); }
83 inline void SetDeviceName(const char* value) { m_deviceName.assign(value); }
84 inline DescribeDeviceJobResult& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
85 inline DescribeDeviceJobResult& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
86 inline DescribeDeviceJobResult& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
88
90
93 inline const DeviceType& GetDeviceType() const{ return m_deviceType; }
94 inline void SetDeviceType(const DeviceType& value) { m_deviceType = value; }
95 inline void SetDeviceType(DeviceType&& value) { m_deviceType = std::move(value); }
96 inline DescribeDeviceJobResult& WithDeviceType(const DeviceType& value) { SetDeviceType(value); return *this;}
97 inline DescribeDeviceJobResult& WithDeviceType(DeviceType&& value) { SetDeviceType(std::move(value)); return *this;}
99
101
104 inline const Aws::String& GetImageVersion() const{ return m_imageVersion; }
105 inline void SetImageVersion(const Aws::String& value) { m_imageVersion = value; }
106 inline void SetImageVersion(Aws::String&& value) { m_imageVersion = std::move(value); }
107 inline void SetImageVersion(const char* value) { m_imageVersion.assign(value); }
108 inline DescribeDeviceJobResult& WithImageVersion(const Aws::String& value) { SetImageVersion(value); return *this;}
109 inline DescribeDeviceJobResult& WithImageVersion(Aws::String&& value) { SetImageVersion(std::move(value)); return *this;}
110 inline DescribeDeviceJobResult& WithImageVersion(const char* value) { SetImageVersion(value); return *this;}
112
114
117 inline const Aws::String& GetJobId() const{ return m_jobId; }
118 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
119 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
120 inline void SetJobId(const char* value) { m_jobId.assign(value); }
121 inline DescribeDeviceJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
122 inline DescribeDeviceJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
123 inline DescribeDeviceJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
125
127
130 inline const JobType& GetJobType() const{ return m_jobType; }
131 inline void SetJobType(const JobType& value) { m_jobType = value; }
132 inline void SetJobType(JobType&& value) { m_jobType = std::move(value); }
133 inline DescribeDeviceJobResult& WithJobType(const JobType& value) { SetJobType(value); return *this;}
134 inline DescribeDeviceJobResult& WithJobType(JobType&& value) { SetJobType(std::move(value)); return *this;}
136
138
141 inline const UpdateProgress& GetStatus() const{ return m_status; }
142 inline void SetStatus(const UpdateProgress& value) { m_status = value; }
143 inline void SetStatus(UpdateProgress&& value) { m_status = std::move(value); }
144 inline DescribeDeviceJobResult& WithStatus(const UpdateProgress& value) { SetStatus(value); return *this;}
145 inline DescribeDeviceJobResult& WithStatus(UpdateProgress&& value) { SetStatus(std::move(value)); return *this;}
147
149
150 inline const Aws::String& GetRequestId() const{ return m_requestId; }
151 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
152 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
153 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
154 inline DescribeDeviceJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
155 inline DescribeDeviceJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
156 inline DescribeDeviceJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
158 private:
159
160 Aws::Utils::DateTime m_createdTime;
161
162 Aws::String m_deviceArn;
163
164 Aws::String m_deviceId;
165
166 Aws::String m_deviceName;
167
168 DeviceType m_deviceType;
169
170 Aws::String m_imageVersion;
171
172 Aws::String m_jobId;
173
174 JobType m_jobType;
175
176 UpdateProgress m_status;
177
178 Aws::String m_requestId;
179 };
180
181} // namespace Model
182} // namespace Panorama
183} // namespace Aws
DescribeDeviceJobResult & WithDeviceType(const DeviceType &value)
DescribeDeviceJobResult & WithStatus(UpdateProgress &&value)
DescribeDeviceJobResult & WithJobType(const JobType &value)
AWS_PANORAMA_API DescribeDeviceJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDeviceJobResult & WithImageVersion(const char *value)
DescribeDeviceJobResult & WithDeviceArn(Aws::String &&value)
DescribeDeviceJobResult & WithDeviceName(const Aws::String &value)
DescribeDeviceJobResult & WithDeviceType(DeviceType &&value)
DescribeDeviceJobResult & WithDeviceName(const char *value)
DescribeDeviceJobResult & WithJobId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTime() const
DescribeDeviceJobResult & WithJobType(JobType &&value)
DescribeDeviceJobResult & WithJobId(const char *value)
DescribeDeviceJobResult & WithStatus(const UpdateProgress &value)
DescribeDeviceJobResult & WithImageVersion(const Aws::String &value)
DescribeDeviceJobResult & WithImageVersion(Aws::String &&value)
DescribeDeviceJobResult & WithJobId(Aws::String &&value)
DescribeDeviceJobResult & WithDeviceArn(const Aws::String &value)
DescribeDeviceJobResult & WithDeviceId(const char *value)
AWS_PANORAMA_API DescribeDeviceJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDeviceJobResult & WithDeviceId(const Aws::String &value)
DescribeDeviceJobResult & WithCreatedTime(const Aws::Utils::DateTime &value)
DescribeDeviceJobResult & WithDeviceId(Aws::String &&value)
DescribeDeviceJobResult & WithRequestId(Aws::String &&value)
DescribeDeviceJobResult & WithRequestId(const Aws::String &value)
DescribeDeviceJobResult & WithDeviceName(Aws::String &&value)
DescribeDeviceJobResult & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
DescribeDeviceJobResult & WithRequestId(const char *value)
DescribeDeviceJobResult & WithDeviceArn(const char *value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue