7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/JobRunDetails.h>
11#include <aws/datazone/model/JobRunError.h>
12#include <aws/datazone/model/JobType.h>
13#include <aws/datazone/model/JobRunMode.h>
14#include <aws/datazone/model/JobRunStatus.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
46 template<
typename CreatedAtT = Aws::Utils::DateTime>
47 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
48 template<
typename CreatedAtT = Aws::Utils::DateTime>
57 template<
typename CreatedByT = Aws::String>
58 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
59 template<
typename CreatedByT = Aws::String>
68 template<
typename DetailsT = JobRunDetails>
69 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet =
true; m_details = std::forward<DetailsT>(value); }
70 template<
typename DetailsT = JobRunDetails>
79 template<
typename DomainIdT = Aws::String>
80 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
81 template<
typename DomainIdT = Aws::String>
90 template<
typename EndTimeT = Aws::Utils::DateTime>
91 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
92 template<
typename EndTimeT = Aws::Utils::DateTime>
101 template<
typename ErrorT = JobRunError>
102 void SetError(ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
103 template<
typename ErrorT = JobRunError>
112 template<
typename IdT = Aws::String>
113 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
114 template<
typename IdT = Aws::String>
123 template<
typename JobIdT = Aws::String>
124 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
125 template<
typename JobIdT = Aws::String>
152 template<
typename StartTimeT = Aws::Utils::DateTime>
153 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
154 template<
typename StartTimeT = Aws::Utils::DateTime>
170 template<
typename RequestIdT = Aws::String>
171 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
172 template<
typename RequestIdT = Aws::String>
178 bool m_createdAtHasBeenSet =
false;
181 bool m_createdByHasBeenSet =
false;
183 JobRunDetails m_details;
184 bool m_detailsHasBeenSet =
false;
187 bool m_domainIdHasBeenSet =
false;
190 bool m_endTimeHasBeenSet =
false;
193 bool m_errorHasBeenSet =
false;
196 bool m_idHasBeenSet =
false;
199 bool m_jobIdHasBeenSet =
false;
202 bool m_jobTypeHasBeenSet =
false;
205 bool m_runModeHasBeenSet =
false;
208 bool m_startTimeHasBeenSet =
false;
211 bool m_statusHasBeenSet =
false;
214 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