AWS SDK for C++  1.9.155
AWS SDK for C++
JobSummary.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Amplify
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetJobArn() const{ return m_jobArn; }
48 
52  inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
53 
57  inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
58 
62  inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
63 
67  inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
68 
72  inline JobSummary& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
73 
77  inline JobSummary& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
78 
82  inline JobSummary& WithJobArn(const char* value) { SetJobArn(value); return *this;}
83 
84 
88  inline const Aws::String& GetJobId() const{ return m_jobId; }
89 
93  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
94 
98  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
99 
103  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
104 
108  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
109 
113  inline JobSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
114 
118  inline JobSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
119 
123  inline JobSummary& WithJobId(const char* value) { SetJobId(value); return *this;}
124 
125 
129  inline const Aws::String& GetCommitId() const{ return m_commitId; }
130 
134  inline bool CommitIdHasBeenSet() const { return m_commitIdHasBeenSet; }
135 
139  inline void SetCommitId(const Aws::String& value) { m_commitIdHasBeenSet = true; m_commitId = value; }
140 
144  inline void SetCommitId(Aws::String&& value) { m_commitIdHasBeenSet = true; m_commitId = std::move(value); }
145 
149  inline void SetCommitId(const char* value) { m_commitIdHasBeenSet = true; m_commitId.assign(value); }
150 
154  inline JobSummary& WithCommitId(const Aws::String& value) { SetCommitId(value); return *this;}
155 
159  inline JobSummary& WithCommitId(Aws::String&& value) { SetCommitId(std::move(value)); return *this;}
160 
164  inline JobSummary& WithCommitId(const char* value) { SetCommitId(value); return *this;}
165 
166 
170  inline const Aws::String& GetCommitMessage() const{ return m_commitMessage; }
171 
175  inline bool CommitMessageHasBeenSet() const { return m_commitMessageHasBeenSet; }
176 
180  inline void SetCommitMessage(const Aws::String& value) { m_commitMessageHasBeenSet = true; m_commitMessage = value; }
181 
185  inline void SetCommitMessage(Aws::String&& value) { m_commitMessageHasBeenSet = true; m_commitMessage = std::move(value); }
186 
190  inline void SetCommitMessage(const char* value) { m_commitMessageHasBeenSet = true; m_commitMessage.assign(value); }
191 
195  inline JobSummary& WithCommitMessage(const Aws::String& value) { SetCommitMessage(value); return *this;}
196 
200  inline JobSummary& WithCommitMessage(Aws::String&& value) { SetCommitMessage(std::move(value)); return *this;}
201 
205  inline JobSummary& WithCommitMessage(const char* value) { SetCommitMessage(value); return *this;}
206 
207 
211  inline const Aws::Utils::DateTime& GetCommitTime() const{ return m_commitTime; }
212 
216  inline bool CommitTimeHasBeenSet() const { return m_commitTimeHasBeenSet; }
217 
221  inline void SetCommitTime(const Aws::Utils::DateTime& value) { m_commitTimeHasBeenSet = true; m_commitTime = value; }
222 
226  inline void SetCommitTime(Aws::Utils::DateTime&& value) { m_commitTimeHasBeenSet = true; m_commitTime = std::move(value); }
227 
231  inline JobSummary& WithCommitTime(const Aws::Utils::DateTime& value) { SetCommitTime(value); return *this;}
232 
236  inline JobSummary& WithCommitTime(Aws::Utils::DateTime&& value) { SetCommitTime(std::move(value)); return *this;}
237 
238 
242  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
243 
247  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
248 
252  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
253 
257  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
258 
262  inline JobSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
263 
267  inline JobSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
268 
269 
273  inline const JobStatus& GetStatus() const{ return m_status; }
274 
278  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
279 
283  inline void SetStatus(const JobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
284 
288  inline void SetStatus(JobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
289 
293  inline JobSummary& WithStatus(const JobStatus& value) { SetStatus(value); return *this;}
294 
298  inline JobSummary& WithStatus(JobStatus&& value) { SetStatus(std::move(value)); return *this;}
299 
300 
304  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
305 
309  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
310 
314  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
315 
319  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
320 
324  inline JobSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
325 
329  inline JobSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
330 
331 
339  inline const JobType& GetJobType() const{ return m_jobType; }
340 
348  inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
349 
357  inline void SetJobType(const JobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
358 
366  inline void SetJobType(JobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = std::move(value); }
367 
375  inline JobSummary& WithJobType(const JobType& value) { SetJobType(value); return *this;}
376 
384  inline JobSummary& WithJobType(JobType&& value) { SetJobType(std::move(value)); return *this;}
385 
386  private:
387 
388  Aws::String m_jobArn;
389  bool m_jobArnHasBeenSet;
390 
391  Aws::String m_jobId;
392  bool m_jobIdHasBeenSet;
393 
394  Aws::String m_commitId;
395  bool m_commitIdHasBeenSet;
396 
397  Aws::String m_commitMessage;
398  bool m_commitMessageHasBeenSet;
399 
400  Aws::Utils::DateTime m_commitTime;
401  bool m_commitTimeHasBeenSet;
402 
403  Aws::Utils::DateTime m_startTime;
404  bool m_startTimeHasBeenSet;
405 
406  JobStatus m_status;
407  bool m_statusHasBeenSet;
408 
409  Aws::Utils::DateTime m_endTime;
410  bool m_endTimeHasBeenSet;
411 
412  JobType m_jobType;
413  bool m_jobTypeHasBeenSet;
414  };
415 
416 } // namespace Model
417 } // namespace Amplify
418 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Amplify_EXPORTS.h
Aws::Amplify::Model::JobSummary::SetCommitId
void SetCommitId(Aws::String &&value)
Definition: JobSummary.h:144
Aws::Amplify::Model::JobSummary::WithCommitTime
JobSummary & WithCommitTime(const Aws::Utils::DateTime &value)
Definition: JobSummary.h:231
Aws::Amplify::Model::JobSummary::SetJobArn
void SetJobArn(Aws::String &&value)
Definition: JobSummary.h:62
Aws::Amplify::Model::JobSummary::WithCommitMessage
JobSummary & WithCommitMessage(const Aws::String &value)
Definition: JobSummary.h:195
Aws::Amplify::Model::JobSummary::GetJobId
const Aws::String & GetJobId() const
Definition: JobSummary.h:88
Aws::Amplify::Model::JobSummary::SetJobId
void SetJobId(const char *value)
Definition: JobSummary.h:108
Aws::Amplify::Model::JobSummary::GetJobType
const JobType & GetJobType() const
Definition: JobSummary.h:339
Aws::Amplify::Model::JobSummary::WithJobArn
JobSummary & WithJobArn(const Aws::String &value)
Definition: JobSummary.h:72
Aws::Amplify::Model::JobSummary::WithStartTime
JobSummary & WithStartTime(Aws::Utils::DateTime &&value)
Definition: JobSummary.h:267
Aws::Amplify::Model::JobSummary::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: JobSummary.h:242
JobType.h
DateTime.h
Aws::Amplify::Model::JobSummary::SetCommitId
void SetCommitId(const Aws::String &value)
Definition: JobSummary.h:139
Aws::Amplify::Model::JobSummary::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: JobSummary.h:252
Aws::Amplify::Model::JobSummary::SetJobArn
void SetJobArn(const Aws::String &value)
Definition: JobSummary.h:57
Aws::Amplify::Model::JobSummary::SetJobArn
void SetJobArn(const char *value)
Definition: JobSummary.h:67
Aws::Amplify::Model::JobSummary::GetCommitMessage
const Aws::String & GetCommitMessage() const
Definition: JobSummary.h:170
Aws::Amplify::Model::JobType
JobType
Definition: JobType.h:17
Aws::Amplify::Model::JobSummary::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: JobSummary.h:247
Aws::Amplify::Model::JobSummary::WithCommitMessage
JobSummary & WithCommitMessage(const char *value)
Definition: JobSummary.h:205
Aws::Amplify::Model::JobSummary::JobSummary
JobSummary()
Aws::Amplify::Model::JobSummary::WithJobId
JobSummary & WithJobId(const Aws::String &value)
Definition: JobSummary.h:113
Aws::Amplify::Model::JobSummary::CommitMessageHasBeenSet
bool CommitMessageHasBeenSet() const
Definition: JobSummary.h:175
Aws::Amplify::Model::JobSummary::WithJobId
JobSummary & WithJobId(Aws::String &&value)
Definition: JobSummary.h:118
Aws::Amplify::Model::JobSummary::WithCommitTime
JobSummary & WithCommitTime(Aws::Utils::DateTime &&value)
Definition: JobSummary.h:236
Aws::Amplify::Model::JobStatus
JobStatus
Definition: JobStatus.h:17
Aws::Amplify::Model::JobSummary::SetCommitId
void SetCommitId(const char *value)
Definition: JobSummary.h:149
Aws::Amplify::Model::JobSummary::SetJobType
void SetJobType(JobType &&value)
Definition: JobSummary.h:366
Aws::Amplify::Model::JobSummary::SetJobId
void SetJobId(const Aws::String &value)
Definition: JobSummary.h:98
Aws::Amplify::Model::JobSummary::SetCommitMessage
void SetCommitMessage(const Aws::String &value)
Definition: JobSummary.h:180
Aws::Amplify::Model::JobSummary::GetCommitTime
const Aws::Utils::DateTime & GetCommitTime() const
Definition: JobSummary.h:211
Aws::Amplify::Model::JobSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: JobSummary.h:278
Aws::Amplify::Model::JobSummary::JobArnHasBeenSet
bool JobArnHasBeenSet() const
Definition: JobSummary.h:52
Aws::Amplify::Model::JobSummary::GetCommitId
const Aws::String & GetCommitId() const
Definition: JobSummary.h:129
Aws::Amplify::Model::JobSummary::WithJobArn
JobSummary & WithJobArn(Aws::String &&value)
Definition: JobSummary.h:77
Aws::Amplify::Model::JobSummary::SetCommitMessage
void SetCommitMessage(Aws::String &&value)
Definition: JobSummary.h:185
Aws::Amplify::Model::JobSummary::SetCommitMessage
void SetCommitMessage(const char *value)
Definition: JobSummary.h:190
Aws::Amplify::Model::JobSummary::WithJobType
JobSummary & WithJobType(JobType &&value)
Definition: JobSummary.h:384
Aws::Amplify::Model::JobSummary::SetCommitTime
void SetCommitTime(Aws::Utils::DateTime &&value)
Definition: JobSummary.h:226
Aws::Amplify::Model::JobSummary::SetJobType
void SetJobType(const JobType &value)
Definition: JobSummary.h:357
Aws::Amplify::Model::JobSummary::SetJobId
void SetJobId(Aws::String &&value)
Definition: JobSummary.h:103
Aws::Amplify::Model::JobSummary::SetStatus
void SetStatus(JobStatus &&value)
Definition: JobSummary.h:288
Aws::Amplify::Model::JobSummary::operator=
JobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Amplify::Model::JobSummary
Definition: JobSummary.h:36
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Amplify::Model::JobSummary::SetCommitTime
void SetCommitTime(const Aws::Utils::DateTime &value)
Definition: JobSummary.h:221
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Amplify::Model::JobSummary::WithJobId
JobSummary & WithJobId(const char *value)
Definition: JobSummary.h:123
Aws::Amplify::Model::JobSummary::JobSummary
JobSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Amplify::Model::JobSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Amplify::Model::JobSummary::JobTypeHasBeenSet
bool JobTypeHasBeenSet() const
Definition: JobSummary.h:348
Aws::Amplify::Model::JobSummary::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: JobSummary.h:309
Aws::Amplify::Model::JobSummary::WithJobType
JobSummary & WithJobType(const JobType &value)
Definition: JobSummary.h:375
Aws::Amplify::Model::JobSummary::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: JobSummary.h:257
Aws::Amplify::Model::JobSummary::WithEndTime
JobSummary & WithEndTime(const Aws::Utils::DateTime &value)
Definition: JobSummary.h:324
Aws::Amplify::Model::JobSummary::WithCommitMessage
JobSummary & WithCommitMessage(Aws::String &&value)
Definition: JobSummary.h:200
Aws::Amplify::Model::JobSummary::WithStartTime
JobSummary & WithStartTime(const Aws::Utils::DateTime &value)
Definition: JobSummary.h:262
Aws::Amplify::Model::JobSummary::GetStatus
const JobStatus & GetStatus() const
Definition: JobSummary.h:273
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Amplify::Model::JobSummary::GetJobArn
const Aws::String & GetJobArn() const
Definition: JobSummary.h:47
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::JobSummary::WithCommitId
JobSummary & WithCommitId(const char *value)
Definition: JobSummary.h:164
Aws::Amplify::Model::JobSummary::WithEndTime
JobSummary & WithEndTime(Aws::Utils::DateTime &&value)
Definition: JobSummary.h:329
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::JobSummary::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: JobSummary.h:93
Aws::Amplify::Model::JobSummary::WithCommitId
JobSummary & WithCommitId(Aws::String &&value)
Definition: JobSummary.h:159
JobStatus.h
Aws::Amplify::Model::JobSummary::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: JobSummary.h:304
Aws::Amplify::Model::JobSummary::WithJobArn
JobSummary & WithJobArn(const char *value)
Definition: JobSummary.h:82
Aws::Amplify::Model::JobSummary::WithCommitId
JobSummary & WithCommitId(const Aws::String &value)
Definition: JobSummary.h:154
Aws::Amplify::Model::JobSummary::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: JobSummary.h:319
Aws::Amplify::Model::JobSummary::WithStatus
JobSummary & WithStatus(const JobStatus &value)
Definition: JobSummary.h:293
Aws::Amplify::Model::JobSummary::SetStatus
void SetStatus(const JobStatus &value)
Definition: JobSummary.h:283
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28
Aws::Amplify::Model::JobSummary::CommitIdHasBeenSet
bool CommitIdHasBeenSet() const
Definition: JobSummary.h:134
Aws::Amplify::Model::JobSummary::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: JobSummary.h:314
Aws::Amplify::Model::JobSummary::WithStatus
JobSummary & WithStatus(JobStatus &&value)
Definition: JobSummary.h:298
Aws::Amplify::Model::JobSummary::CommitTimeHasBeenSet
bool CommitTimeHasBeenSet() const
Definition: JobSummary.h:216