AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
PackageImportJob.h
Go to the documentation of this file.
1
6#pragma once
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Panorama
25{
26namespace Model
27{
28
35 {
36 public:
41
42
46 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
47
51 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
52
56 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
57
61 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
62
66 inline PackageImportJob& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
67
71 inline PackageImportJob& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
72
73
77 inline const Aws::String& GetJobId() const{ return m_jobId; }
78
82 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
83
87 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
88
92 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
93
97 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
98
102 inline PackageImportJob& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
103
107 inline PackageImportJob& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
108
112 inline PackageImportJob& WithJobId(const char* value) { SetJobId(value); return *this;}
113
114
118 inline const PackageImportJobType& GetJobType() const{ return m_jobType; }
119
123 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
124
128 inline void SetJobType(const PackageImportJobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
129
133 inline void SetJobType(PackageImportJobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = std::move(value); }
134
138 inline PackageImportJob& WithJobType(const PackageImportJobType& value) { SetJobType(value); return *this;}
139
143 inline PackageImportJob& WithJobType(PackageImportJobType&& value) { SetJobType(std::move(value)); return *this;}
144
145
149 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
150
154 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
155
159 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
160
164 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
165
170
174 inline PackageImportJob& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
175
176
180 inline const PackageImportJobStatus& GetStatus() const{ return m_status; }
181
185 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
186
190 inline void SetStatus(const PackageImportJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
191
195 inline void SetStatus(PackageImportJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
196
200 inline PackageImportJob& WithStatus(const PackageImportJobStatus& value) { SetStatus(value); return *this;}
201
205 inline PackageImportJob& WithStatus(PackageImportJobStatus&& value) { SetStatus(std::move(value)); return *this;}
206
207
211 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
212
216 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
217
221 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
222
226 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
227
231 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
232
236 inline PackageImportJob& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
237
241 inline PackageImportJob& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
242
246 inline PackageImportJob& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
247
248 private:
249
250 Aws::Utils::DateTime m_createdTime;
251 bool m_createdTimeHasBeenSet = false;
252
253 Aws::String m_jobId;
254 bool m_jobIdHasBeenSet = false;
255
256 PackageImportJobType m_jobType;
257 bool m_jobTypeHasBeenSet = false;
258
259 Aws::Utils::DateTime m_lastUpdatedTime;
260 bool m_lastUpdatedTimeHasBeenSet = false;
261
262 PackageImportJobStatus m_status;
263 bool m_statusHasBeenSet = false;
264
265 Aws::String m_statusMessage;
266 bool m_statusMessageHasBeenSet = false;
267 };
268
269} // namespace Model
270} // namespace Panorama
271} // namespace Aws
#define AWS_PANORAMA_API
PackageImportJob & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
PackageImportJob & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetStatusMessage(const char *value)
PackageImportJob & WithStatus(PackageImportJobStatus &&value)
PackageImportJob & WithJobId(const char *value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedTime() const
PackageImportJob & WithJobType(PackageImportJobType &&value)
void SetStatusMessage(const Aws::String &value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
PackageImportJob & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetStatus(PackageImportJobStatus &&value)
AWS_PANORAMA_API PackageImportJob & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStatusMessage() const
AWS_PANORAMA_API PackageImportJob(Aws::Utils::Json::JsonView jsonValue)
void SetStatusMessage(Aws::String &&value)
PackageImportJob & WithStatusMessage(const Aws::String &value)
void SetJobType(const PackageImportJobType &value)
void SetJobId(Aws::String &&value)
const PackageImportJobStatus & GetStatus() const
const Aws::String & GetJobId() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
PackageImportJob & WithStatus(const PackageImportJobStatus &value)
const PackageImportJobType & GetJobType() const
PackageImportJob & WithJobType(const PackageImportJobType &value)
PackageImportJob & WithStatusMessage(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetJobId(const Aws::String &value)
void SetStatus(const PackageImportJobStatus &value)
PackageImportJob & WithJobId(Aws::String &&value)
void SetJobType(PackageImportJobType &&value)
PackageImportJob & WithJobId(const Aws::String &value)
PackageImportJob & WithStatusMessage(const char *value)
PackageImportJob & WithCreatedTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String