AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
JobSummary.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/entityresolution/model/JobStatus.h>
10#include <aws/core/utils/DateTime.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() = default;
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::String& GetJobId() const { return m_jobId; }
49 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
50 template<typename JobIdT = Aws::String>
51 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
52 template<typename JobIdT = Aws::String>
53 JobSummary& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
55
57
60 inline JobStatus GetStatus() const { return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(JobStatus value) { m_statusHasBeenSet = true; m_status = value; }
63 inline JobSummary& WithStatus(JobStatus value) { SetStatus(value); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
71 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
72 template<typename StartTimeT = Aws::Utils::DateTime>
73 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
74 template<typename StartTimeT = Aws::Utils::DateTime>
75 JobSummary& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
83 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
84 template<typename EndTimeT = Aws::Utils::DateTime>
85 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
86 template<typename EndTimeT = Aws::Utils::DateTime>
87 JobSummary& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
89 private:
90
91 Aws::String m_jobId;
92 bool m_jobIdHasBeenSet = false;
93
95 bool m_statusHasBeenSet = false;
96
97 Aws::Utils::DateTime m_startTime{};
98 bool m_startTimeHasBeenSet = false;
99
100 Aws::Utils::DateTime m_endTime{};
101 bool m_endTimeHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace EntityResolution
106} // namespace Aws
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ENTITYRESOLUTION_API JobSummary(Aws::Utils::Json::JsonView jsonValue)
JobSummary & WithEndTime(EndTimeT &&value)
Definition JobSummary.h:87
const Aws::Utils::DateTime & GetStartTime() const
Definition JobSummary.h:70
JobSummary & WithStatus(JobStatus value)
Definition JobSummary.h:63
void SetStartTime(StartTimeT &&value)
Definition JobSummary.h:73
JobSummary & WithStartTime(StartTimeT &&value)
Definition JobSummary.h:75
AWS_ENTITYRESOLUTION_API JobSummary()=default
const Aws::String & GetJobId() const
Definition JobSummary.h:48
JobSummary & WithJobId(JobIdT &&value)
Definition JobSummary.h:53
AWS_ENTITYRESOLUTION_API JobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndTime() const
Definition JobSummary.h:82
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue