AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobSummary.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/entityresolution/model/JobStatus.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 EntityResolution
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_ENTITYRESOLUTION_API JobSummary();
39 AWS_ENTITYRESOLUTION_API JobSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ENTITYRESOLUTION_API JobSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
49 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
50 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
51 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
52 inline JobSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
53 inline JobSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetJobId() const{ return m_jobId; }
61 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
62 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
63 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
64 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
65 inline JobSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
66 inline JobSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
67 inline JobSummary& WithJobId(const char* value) { SetJobId(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
75 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
76 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
77 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
78 inline JobSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
79 inline JobSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
81
83
86 inline const JobStatus& GetStatus() const{ return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(const JobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
89 inline void SetStatus(JobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
90 inline JobSummary& WithStatus(const JobStatus& value) { SetStatus(value); return *this;}
91 inline JobSummary& WithStatus(JobStatus&& value) { SetStatus(std::move(value)); return *this;}
93 private:
94
95 Aws::Utils::DateTime m_endTime;
96 bool m_endTimeHasBeenSet = false;
97
98 Aws::String m_jobId;
99 bool m_jobIdHasBeenSet = false;
100
101 Aws::Utils::DateTime m_startTime;
102 bool m_startTimeHasBeenSet = false;
103
104 JobStatus m_status;
105 bool m_statusHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace EntityResolution
110} // namespace Aws
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
JobSummary & WithEndTime(const Aws::Utils::DateTime &value)
Definition JobSummary.h:52
JobSummary & WithJobId(const char *value)
Definition JobSummary.h:67
AWS_ENTITYRESOLUTION_API JobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const JobStatus &value)
Definition JobSummary.h:88
JobSummary & WithJobId(Aws::String &&value)
Definition JobSummary.h:66
void SetEndTime(Aws::Utils::DateTime &&value)
Definition JobSummary.h:51
void SetJobId(Aws::String &&value)
Definition JobSummary.h:63
JobSummary & WithStatus(JobStatus &&value)
Definition JobSummary.h:91
const Aws::Utils::DateTime & GetStartTime() const
Definition JobSummary.h:74
const JobStatus & GetStatus() const
Definition JobSummary.h:86
void SetStatus(JobStatus &&value)
Definition JobSummary.h:89
void SetStartTime(const Aws::Utils::DateTime &value)
Definition JobSummary.h:76
void SetStartTime(Aws::Utils::DateTime &&value)
Definition JobSummary.h:77
const Aws::String & GetJobId() const
Definition JobSummary.h:60
JobSummary & WithStartTime(const Aws::Utils::DateTime &value)
Definition JobSummary.h:78
AWS_ENTITYRESOLUTION_API JobSummary()
AWS_ENTITYRESOLUTION_API JobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
JobSummary & WithEndTime(Aws::Utils::DateTime &&value)
Definition JobSummary.h:53
JobSummary & WithStartTime(Aws::Utils::DateTime &&value)
Definition JobSummary.h:79
const Aws::Utils::DateTime & GetEndTime() const
Definition JobSummary.h:48
void SetEndTime(const Aws::Utils::DateTime &value)
Definition JobSummary.h:50
JobSummary & WithJobId(const Aws::String &value)
Definition JobSummary.h:65
void SetJobId(const Aws::String &value)
Definition JobSummary.h:62
JobSummary & WithStatus(const JobStatus &value)
Definition JobSummary.h:90
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue