AWS SDK for C++

AWS SDK for C++ Version 1.11.874

Loading...
Searching...
No Matches
TransformationJobSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/healthlake/HealthLake_EXPORTS.h>
10#include <aws/healthlake/model/SourceFormat.h>
11#include <aws/healthlake/model/TransformationJobStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace HealthLake {
23namespace Model {
24
33 public:
34 AWS_HEALTHLAKE_API TransformationJobSummary() = default;
37 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetJobId() const { return m_jobId; }
44 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
45 template <typename JobIdT = Aws::String>
46 void SetJobId(JobIdT&& value) {
47 m_jobIdHasBeenSet = true;
48 m_jobId = std::forward<JobIdT>(value);
49 }
50 template <typename JobIdT = Aws::String>
52 SetJobId(std::forward<JobIdT>(value));
53 return *this;
54 }
56
58
61 inline TransformationJobStatus GetJobStatus() const { return m_jobStatus; }
62 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
64 m_jobStatusHasBeenSet = true;
65 m_jobStatus = value;
66 }
68 SetJobStatus(value);
69 return *this;
70 }
72
74
77 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
78 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
79 template <typename SubmitTimeT = Aws::Utils::DateTime>
80 void SetSubmitTime(SubmitTimeT&& value) {
81 m_submitTimeHasBeenSet = true;
82 m_submitTime = std::forward<SubmitTimeT>(value);
83 }
84 template <typename SubmitTimeT = Aws::Utils::DateTime>
86 SetSubmitTime(std::forward<SubmitTimeT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetJobName() const { return m_jobName; }
96 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
97 template <typename JobNameT = Aws::String>
98 void SetJobName(JobNameT&& value) {
99 m_jobNameHasBeenSet = true;
100 m_jobName = std::forward<JobNameT>(value);
101 }
102 template <typename JobNameT = Aws::String>
104 SetJobName(std::forward<JobNameT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
114 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
115 template <typename EndTimeT = Aws::Utils::DateTime>
116 void SetEndTime(EndTimeT&& value) {
117 m_endTimeHasBeenSet = true;
118 m_endTime = std::forward<EndTimeT>(value);
119 }
120 template <typename EndTimeT = Aws::Utils::DateTime>
122 SetEndTime(std::forward<EndTimeT>(value));
123 return *this;
124 }
126
128
131 inline SourceFormat GetSourceFormat() const { return m_sourceFormat; }
132 inline bool SourceFormatHasBeenSet() const { return m_sourceFormatHasBeenSet; }
133 inline void SetSourceFormat(SourceFormat value) {
134 m_sourceFormatHasBeenSet = true;
135 m_sourceFormat = value;
136 }
138 SetSourceFormat(value);
139 return *this;
140 }
142 private:
143 Aws::String m_jobId;
144
146
147 Aws::Utils::DateTime m_submitTime{};
148
149 Aws::String m_jobName;
150
151 Aws::Utils::DateTime m_endTime{};
152
153 SourceFormat m_sourceFormat{SourceFormat::NOT_SET};
154 bool m_jobIdHasBeenSet = false;
155 bool m_jobStatusHasBeenSet = false;
156 bool m_submitTimeHasBeenSet = false;
157 bool m_jobNameHasBeenSet = false;
158 bool m_endTimeHasBeenSet = false;
159 bool m_sourceFormatHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace HealthLake
164} // namespace Aws
AWS_HEALTHLAKE_API TransformationJobSummary(Aws::Utils::Json::JsonView jsonValue)
TransformationJobSummary & WithJobId(JobIdT &&value)
TransformationJobSummary & WithEndTime(EndTimeT &&value)
TransformationJobSummary & WithSubmitTime(SubmitTimeT &&value)
TransformationJobSummary & WithJobStatus(TransformationJobStatus value)
AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
TransformationJobSummary & WithJobName(JobNameT &&value)
TransformationJobSummary & WithSourceFormat(SourceFormat value)
AWS_HEALTHLAKE_API TransformationJobSummary()=default
AWS_HEALTHLAKE_API TransformationJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue