7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3control/model/JobStatus.h>
10#include <aws/s3control/model/JobManifest.h>
11#include <aws/s3control/model/JobOperation.h>
12#include <aws/s3control/model/JobProgressSummary.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/s3control/model/JobReport.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/s3control/model/JobManifestGenerator.h>
17#include <aws/s3control/model/S3GeneratedManifestDescriptor.h>
18#include <aws/s3control/model/JobFailure.h>
57 template<
typename JobIdT = Aws::String>
58 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
59 template<
typename JobIdT = Aws::String>
71 inline void SetConfirmationRequired(
bool value) { m_confirmationRequiredHasBeenSet =
true; m_confirmationRequired = value; }
82 template<
typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
84 template<
typename DescriptionT = Aws::String>
94 template<
typename JobArnT = Aws::String>
95 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet =
true; m_jobArn = std::forward<JobArnT>(value); }
96 template<
typename JobArnT = Aws::String>
116 template<
typename ManifestT = JobManifest>
117 void SetManifest(ManifestT&& value) { m_manifestHasBeenSet =
true; m_manifest = std::forward<ManifestT>(value); }
118 template<
typename ManifestT = JobManifest>
129 template<
typename OperationT = JobOperation>
130 void SetOperation(OperationT&& value) { m_operationHasBeenSet =
true; m_operation = std::forward<OperationT>(value); }
131 template<
typename OperationT = JobOperation>
141 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
152 template<
typename ProgressSummaryT = JobProgressSummary>
153 void SetProgressSummary(ProgressSummaryT&& value) { m_progressSummaryHasBeenSet =
true; m_progressSummary = std::forward<ProgressSummaryT>(value); }
154 template<
typename ProgressSummaryT = JobProgressSummary>
164 template<
typename StatusUpdateReasonT = Aws::String>
165 void SetStatusUpdateReason(StatusUpdateReasonT&& value) { m_statusUpdateReasonHasBeenSet =
true; m_statusUpdateReason = std::forward<StatusUpdateReasonT>(value); }
166 template<
typename StatusUpdateReasonT = Aws::String>
177 template<
typename FailureReasonsT = Aws::Vector<JobFailure>>
178 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet =
true; m_failureReasons = std::forward<FailureReasonsT>(value); }
179 template<
typename FailureReasonsT = Aws::Vector<JobFailure>>
181 template<
typename FailureReasonsT = JobFailure>
182 JobDescriptor&
AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet =
true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
return *
this; }
192 template<
typename ReportT = JobReport>
193 void SetReport(ReportT&& value) { m_reportHasBeenSet =
true; m_report = std::forward<ReportT>(value); }
194 template<
typename ReportT = JobReport>
204 template<
typename CreationTimeT = Aws::Utils::DateTime>
205 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
206 template<
typename CreationTimeT = Aws::Utils::DateTime>
217 template<
typename TerminationDateT = Aws::Utils::DateTime>
218 void SetTerminationDate(TerminationDateT&& value) { m_terminationDateHasBeenSet =
true; m_terminationDate = std::forward<TerminationDateT>(value); }
219 template<
typename TerminationDateT = Aws::Utils::DateTime>
230 template<
typename RoleArnT = Aws::String>
231 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
232 template<
typename RoleArnT = Aws::String>
242 template<
typename SuspendedDateT = Aws::Utils::DateTime>
243 void SetSuspendedDate(SuspendedDateT&& value) { m_suspendedDateHasBeenSet =
true; m_suspendedDate = std::forward<SuspendedDateT>(value); }
244 template<
typename SuspendedDateT = Aws::Utils::DateTime>
257 template<
typename SuspendedCauseT = Aws::String>
258 void SetSuspendedCause(SuspendedCauseT&& value) { m_suspendedCauseHasBeenSet =
true; m_suspendedCause = std::forward<SuspendedCauseT>(value); }
259 template<
typename SuspendedCauseT = Aws::String>
270 template<
typename ManifestGeneratorT = JobManifestGenerator>
271 void SetManifestGenerator(ManifestGeneratorT&& value) { m_manifestGeneratorHasBeenSet =
true; m_manifestGenerator = std::forward<ManifestGeneratorT>(value); }
272 template<
typename ManifestGeneratorT = JobManifestGenerator>
283 template<
typename GeneratedManifestDescriptorT = S3GeneratedManifestDescriptor>
284 void SetGeneratedManifestDescriptor(GeneratedManifestDescriptorT&& value) { m_generatedManifestDescriptorHasBeenSet =
true; m_generatedManifestDescriptor = std::forward<GeneratedManifestDescriptorT>(value); }
285 template<
typename GeneratedManifestDescriptorT = S3GeneratedManifestDescriptor>
291 bool m_jobIdHasBeenSet =
false;
293 bool m_confirmationRequired{
false};
294 bool m_confirmationRequiredHasBeenSet =
false;
297 bool m_descriptionHasBeenSet =
false;
300 bool m_jobArnHasBeenSet =
false;
303 bool m_statusHasBeenSet =
false;
305 JobManifest m_manifest;
306 bool m_manifestHasBeenSet =
false;
308 JobOperation m_operation;
309 bool m_operationHasBeenSet =
false;
312 bool m_priorityHasBeenSet =
false;
314 JobProgressSummary m_progressSummary;
315 bool m_progressSummaryHasBeenSet =
false;
318 bool m_statusUpdateReasonHasBeenSet =
false;
321 bool m_failureReasonsHasBeenSet =
false;
324 bool m_reportHasBeenSet =
false;
327 bool m_creationTimeHasBeenSet =
false;
330 bool m_terminationDateHasBeenSet =
false;
333 bool m_roleArnHasBeenSet =
false;
336 bool m_suspendedDateHasBeenSet =
false;
339 bool m_suspendedCauseHasBeenSet =
false;
341 JobManifestGenerator m_manifestGenerator;
342 bool m_manifestGeneratorHasBeenSet =
false;
344 S3GeneratedManifestDescriptor m_generatedManifestDescriptor;
345 bool m_generatedManifestDescriptorHasBeenSet =
false;
bool GetConfirmationRequired() const
const Aws::Utils::DateTime & GetTerminationDate() const
AWS_S3CONTROL_API JobDescriptor & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
JobDescriptor & WithStatus(JobStatus value)
JobDescriptor & WithManifest(ManifestT &&value)
bool RoleArnHasBeenSet() const
JobDescriptor & WithReport(ReportT &&value)
const Aws::String & GetRoleArn() const
void SetSuspendedCause(SuspendedCauseT &&value)
const JobManifest & GetManifest() const
JobDescriptor & WithStatusUpdateReason(StatusUpdateReasonT &&value)
AWS_S3CONTROL_API JobDescriptor(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ConfirmationRequiredHasBeenSet() const
bool FailureReasonsHasBeenSet() const
JobDescriptor & WithTerminationDate(TerminationDateT &&value)
bool SuspendedDateHasBeenSet() const
const JobManifestGenerator & GetManifestGenerator() const
const JobReport & GetReport() const
const JobOperation & GetOperation() const
JobDescriptor & WithFailureReasons(FailureReasonsT &&value)
const Aws::Vector< JobFailure > & GetFailureReasons() const
void SetCreationTime(CreationTimeT &&value)
bool ManifestHasBeenSet() const
void SetManifestGenerator(ManifestGeneratorT &&value)
const Aws::Utils::DateTime & GetSuspendedDate() const
void SetSuspendedDate(SuspendedDateT &&value)
JobDescriptor & WithPriority(int value)
JobDescriptor & WithDescription(DescriptionT &&value)
void SetStatusUpdateReason(StatusUpdateReasonT &&value)
const Aws::String & GetSuspendedCause() const
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
JobDescriptor & WithCreationTime(CreationTimeT &&value)
void SetOperation(OperationT &&value)
JobDescriptor & WithOperation(OperationT &&value)
void SetGeneratedManifestDescriptor(GeneratedManifestDescriptorT &&value)
JobDescriptor & WithConfirmationRequired(bool value)
JobDescriptor & AddFailureReasons(FailureReasonsT &&value)
bool TerminationDateHasBeenSet() const
JobDescriptor & WithManifestGenerator(ManifestGeneratorT &&value)
const S3GeneratedManifestDescriptor & GetGeneratedManifestDescriptor() const
void SetReport(ReportT &&value)
bool PriorityHasBeenSet() const
bool JobArnHasBeenSet() const
JobStatus GetStatus() const
bool ManifestGeneratorHasBeenSet() const
const Aws::String & GetJobId() const
bool SuspendedCauseHasBeenSet() const
JobDescriptor & WithGeneratedManifestDescriptor(GeneratedManifestDescriptorT &&value)
void SetStatus(JobStatus value)
void SetFailureReasons(FailureReasonsT &&value)
void SetPriority(int value)
bool ProgressSummaryHasBeenSet() const
AWS_S3CONTROL_API JobDescriptor()=default
bool JobIdHasBeenSet() const
bool GeneratedManifestDescriptorHasBeenSet() const
bool CreationTimeHasBeenSet() const
bool DescriptionHasBeenSet() const
JobDescriptor & WithJobId(JobIdT &&value)
const Aws::String & GetStatusUpdateReason() const
JobDescriptor & WithRoleArn(RoleArnT &&value)
void SetRoleArn(RoleArnT &&value)
bool StatusUpdateReasonHasBeenSet() const
void SetManifest(ManifestT &&value)
void SetTerminationDate(TerminationDateT &&value)
const Aws::String & GetJobArn() const
bool StatusHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool OperationHasBeenSet() const
const Aws::String & GetDescription() const
bool ReportHasBeenSet() const
void SetConfirmationRequired(bool value)
JobDescriptor & WithSuspendedCause(SuspendedCauseT &&value)
JobDescriptor & WithJobArn(JobArnT &&value)
JobDescriptor & WithProgressSummary(ProgressSummaryT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
JobDescriptor & WithSuspendedDate(SuspendedDateT &&value)
void SetJobArn(JobArnT &&value)
void SetJobId(JobIdT &&value)
const JobProgressSummary & GetProgressSummary() const
void SetProgressSummary(ProgressSummaryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector