/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace S3Control { namespace Model { class AWS_S3CONTROL_API UpdateJobStatusResult { public: UpdateJobStatusResult(); UpdateJobStatusResult(const Aws::AmazonWebServiceResult& result); UpdateJobStatusResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID for the job whose status was updated.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The ID for the job whose status was updated.

*/ inline void SetJobId(const Aws::String& value) { m_jobId = value; } /** *

The ID for the job whose status was updated.

*/ inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); } /** *

The ID for the job whose status was updated.

*/ inline void SetJobId(const char* value) { m_jobId.assign(value); } /** *

The ID for the job whose status was updated.

*/ inline UpdateJobStatusResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The ID for the job whose status was updated.

*/ inline UpdateJobStatusResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The ID for the job whose status was updated.

*/ inline UpdateJobStatusResult& WithJobId(const char* value) { SetJobId(value); return *this;} /** *

The current status for the specified job.

*/ inline const JobStatus& GetStatus() const{ return m_status; } /** *

The current status for the specified job.

*/ inline void SetStatus(const JobStatus& value) { m_status = value; } /** *

The current status for the specified job.

*/ inline void SetStatus(JobStatus&& value) { m_status = std::move(value); } /** *

The current status for the specified job.

*/ inline UpdateJobStatusResult& WithStatus(const JobStatus& value) { SetStatus(value); return *this;} /** *

The current status for the specified job.

*/ inline UpdateJobStatusResult& WithStatus(JobStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The reason that the specified job's status was updated.

*/ inline const Aws::String& GetStatusUpdateReason() const{ return m_statusUpdateReason; } /** *

The reason that the specified job's status was updated.

*/ inline void SetStatusUpdateReason(const Aws::String& value) { m_statusUpdateReason = value; } /** *

The reason that the specified job's status was updated.

*/ inline void SetStatusUpdateReason(Aws::String&& value) { m_statusUpdateReason = std::move(value); } /** *

The reason that the specified job's status was updated.

*/ inline void SetStatusUpdateReason(const char* value) { m_statusUpdateReason.assign(value); } /** *

The reason that the specified job's status was updated.

*/ inline UpdateJobStatusResult& WithStatusUpdateReason(const Aws::String& value) { SetStatusUpdateReason(value); return *this;} /** *

The reason that the specified job's status was updated.

*/ inline UpdateJobStatusResult& WithStatusUpdateReason(Aws::String&& value) { SetStatusUpdateReason(std::move(value)); return *this;} /** *

The reason that the specified job's status was updated.

*/ inline UpdateJobStatusResult& WithStatusUpdateReason(const char* value) { SetStatusUpdateReason(value); return *this;} private: Aws::String m_jobId; JobStatus m_status; Aws::String m_statusUpdateReason; }; } // namespace Model } // namespace S3Control } // namespace Aws