7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/JobRunDetails.h>
11#include <aws/datazone/model/JobRunError.h>
12#include <aws/datazone/model/JobRunMode.h>
13#include <aws/datazone/model/JobRunStatus.h>
14#include <aws/datazone/model/JobType.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename DomainIdT = Aws::String>
42 m_domainIdHasBeenSet =
true;
43 m_domainId = std::forward<DomainIdT>(value);
45 template <
typename DomainIdT = Aws::String>
57 template <
typename IdT = Aws::String>
59 m_idHasBeenSet =
true;
60 m_id = std::forward<IdT>(value);
62 template <
typename IdT = Aws::String>
64 SetId(std::forward<IdT>(value));
74 template <
typename JobIdT = Aws::String>
76 m_jobIdHasBeenSet =
true;
77 m_jobId = std::forward<JobIdT>(value);
79 template <
typename JobIdT = Aws::String>
81 SetJobId(std::forward<JobIdT>(value));
92 m_jobTypeHasBeenSet =
true;
107 m_runModeHasBeenSet =
true;
121 template <
typename DetailsT = JobRunDetails>
123 m_detailsHasBeenSet =
true;
124 m_details = std::forward<DetailsT>(value);
126 template <
typename DetailsT = JobRunDetails>
139 m_statusHasBeenSet =
true;
153 template <
typename ErrorT = JobRunError>
155 m_errorHasBeenSet =
true;
156 m_error = std::forward<ErrorT>(value);
158 template <
typename ErrorT = JobRunError>
160 SetError(std::forward<ErrorT>(value));
170 template <
typename CreatedByT = Aws::String>
172 m_createdByHasBeenSet =
true;
173 m_createdBy = std::forward<CreatedByT>(value);
175 template <
typename CreatedByT = Aws::String>
187 template <
typename CreatedAtT = Aws::Utils::DateTime>
189 m_createdAtHasBeenSet =
true;
190 m_createdAt = std::forward<CreatedAtT>(value);
192 template <
typename CreatedAtT = Aws::Utils::DateTime>
204 template <
typename StartTimeT = Aws::Utils::DateTime>
206 m_startTimeHasBeenSet =
true;
207 m_startTime = std::forward<StartTimeT>(value);
209 template <
typename StartTimeT = Aws::Utils::DateTime>
221 template <
typename EndTimeT = Aws::Utils::DateTime>
223 m_endTimeHasBeenSet =
true;
224 m_endTime = std::forward<EndTimeT>(value);
226 template <
typename EndTimeT = Aws::Utils::DateTime>
236 template <
typename RequestIdT = Aws::String>
238 m_requestIdHasBeenSet =
true;
239 m_requestId = std::forward<RequestIdT>(value);
241 template <
typename RequestIdT = Aws::String>
258 JobRunDetails m_details;
273 bool m_domainIdHasBeenSet =
false;
274 bool m_idHasBeenSet =
false;
275 bool m_jobIdHasBeenSet =
false;
276 bool m_jobTypeHasBeenSet =
false;
277 bool m_runModeHasBeenSet =
false;
278 bool m_detailsHasBeenSet =
false;
279 bool m_statusHasBeenSet =
false;
280 bool m_errorHasBeenSet =
false;
281 bool m_createdByHasBeenSet =
false;
282 bool m_createdAtHasBeenSet =
false;
283 bool m_startTimeHasBeenSet =
false;
284 bool m_endTimeHasBeenSet =
false;
285 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_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