7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/JobRunDetails.h>
12#include <aws/datazone/model/JobRunError.h>
13#include <aws/datazone/model/JobRunMode.h>
14#include <aws/datazone/model/JobRunStatus.h>
15#include <aws/datazone/model/JobType.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
41 template <
typename DomainIdT = Aws::String>
43 m_domainIdHasBeenSet =
true;
44 m_domainId = std::forward<DomainIdT>(value);
46 template <
typename DomainIdT = Aws::String>
58 template <
typename IdT = Aws::String>
60 m_idHasBeenSet =
true;
61 m_id = std::forward<IdT>(value);
63 template <
typename IdT = Aws::String>
65 SetId(std::forward<IdT>(value));
75 template <
typename JobIdT = Aws::String>
77 m_jobIdHasBeenSet =
true;
78 m_jobId = std::forward<JobIdT>(value);
80 template <
typename JobIdT = Aws::String>
82 SetJobId(std::forward<JobIdT>(value));
93 m_jobTypeHasBeenSet =
true;
108 m_runModeHasBeenSet =
true;
122 template <
typename DetailsT = JobRunDetails>
124 m_detailsHasBeenSet =
true;
125 m_details = std::forward<DetailsT>(value);
127 template <
typename DetailsT = JobRunDetails>
140 m_statusHasBeenSet =
true;
154 template <
typename ErrorT = JobRunError>
156 m_errorHasBeenSet =
true;
157 m_error = std::forward<ErrorT>(value);
159 template <
typename ErrorT = JobRunError>
161 SetError(std::forward<ErrorT>(value));
171 template <
typename CreatedByT = Aws::String>
173 m_createdByHasBeenSet =
true;
174 m_createdBy = std::forward<CreatedByT>(value);
176 template <
typename CreatedByT = Aws::String>
188 template <
typename CreatedAtT = Aws::Utils::DateTime>
190 m_createdAtHasBeenSet =
true;
191 m_createdAt = std::forward<CreatedAtT>(value);
193 template <
typename CreatedAtT = Aws::Utils::DateTime>
205 template <
typename StartTimeT = Aws::Utils::DateTime>
207 m_startTimeHasBeenSet =
true;
208 m_startTime = std::forward<StartTimeT>(value);
210 template <
typename StartTimeT = Aws::Utils::DateTime>
222 template <
typename EndTimeT = Aws::Utils::DateTime>
224 m_endTimeHasBeenSet =
true;
225 m_endTime = std::forward<EndTimeT>(value);
227 template <
typename EndTimeT = Aws::Utils::DateTime>
237 template <
typename RequestIdT = Aws::String>
239 m_requestIdHasBeenSet =
true;
240 m_requestId = std::forward<RequestIdT>(value);
242 template <
typename RequestIdT = Aws::String>
261 JobRunDetails m_details;
277 bool m_domainIdHasBeenSet =
false;
278 bool m_idHasBeenSet =
false;
279 bool m_jobIdHasBeenSet =
false;
280 bool m_jobTypeHasBeenSet =
false;
281 bool m_runModeHasBeenSet =
false;
282 bool m_detailsHasBeenSet =
false;
283 bool m_statusHasBeenSet =
false;
284 bool m_errorHasBeenSet =
false;
285 bool m_createdByHasBeenSet =
false;
286 bool m_createdAtHasBeenSet =
false;
287 bool m_startTimeHasBeenSet =
false;
288 bool m_endTimeHasBeenSet =
false;
289 bool m_requestIdHasBeenSet =
false;
JobRunMode GetRunMode() const
AWS_DATAZONE_API GetJobRunResult()=default
JobType GetJobType() const
GetJobRunResult & WithJobId(JobIdT &&value)
const JobRunError & GetError() const
void SetStatus(JobRunStatus value)
void SetEndTime(EndTimeT &&value)
void SetRunMode(JobRunMode value)
GetJobRunResult & WithEndTime(EndTimeT &&value)
GetJobRunResult & WithRequestId(RequestIdT &&value)
JobRunStatus GetStatus() const
void SetRequestId(RequestIdT &&value)
GetJobRunResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetCreatedBy() const
GetJobRunResult & WithCreatedBy(CreatedByT &&value)
void SetError(ErrorT &&value)
GetJobRunResult & WithDomainId(DomainIdT &&value)
const Aws::Utils::DateTime & GetEndTime() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetJobRunResult & WithStartTime(StartTimeT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetDomainId() const
void SetStartTime(StartTimeT &&value)
void SetJobId(JobIdT &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetCreatedBy(CreatedByT &&value)
void SetJobType(JobType value)
GetJobRunResult & WithJobType(JobType value)
GetJobRunResult & WithDetails(DetailsT &&value)
GetJobRunResult & WithId(IdT &&value)
GetJobRunResult & WithRunMode(JobRunMode value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_DATAZONE_API GetJobRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDetails(DetailsT &&value)
AWS_DATAZONE_API GetJobRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetId() const
GetJobRunResult & WithError(ErrorT &&value)
void SetDomainId(DomainIdT &&value)
GetJobRunResult & WithStatus(JobRunStatus value)
const Aws::String & GetJobId() const
void SetCreatedAt(CreatedAtT &&value)
const JobRunDetails & GetDetails() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue