/** * 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 Json { class JsonValue; } // namespace Json } // namespace Utils namespace Comprehend { namespace Model { class StopPiiEntitiesDetectionJobResult { public: AWS_COMPREHEND_API StopPiiEntitiesDetectionJobResult(); AWS_COMPREHEND_API StopPiiEntitiesDetectionJobResult(const Aws::AmazonWebServiceResult& result); AWS_COMPREHEND_API StopPiiEntitiesDetectionJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the PII entities detection job to stop.

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

The identifier of the PII entities detection job to stop.

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

The identifier of the PII entities detection job to stop.

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

The identifier of the PII entities detection job to stop.

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

The identifier of the PII entities detection job to stop.

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

The identifier of the PII entities detection job to stop.

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

The identifier of the PII entities detection job to stop.

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

The status of the PII entities detection job.

*/ inline const JobStatus& GetJobStatus() const{ return m_jobStatus; } /** *

The status of the PII entities detection job.

*/ inline void SetJobStatus(const JobStatus& value) { m_jobStatus = value; } /** *

The status of the PII entities detection job.

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

The status of the PII entities detection job.

*/ inline StopPiiEntitiesDetectionJobResult& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;} /** *

The status of the PII entities detection job.

*/ inline StopPiiEntitiesDetectionJobResult& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline StopPiiEntitiesDetectionJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StopPiiEntitiesDetectionJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StopPiiEntitiesDetectionJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_jobId; JobStatus m_jobStatus; Aws::String m_requestId; }; } // namespace Model } // namespace Comprehend } // namespace Aws