/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Translate { namespace Model { /** *

The number of documents successfully and unsuccessfully processed during a * translation job.

See Also:

AWS * API Reference

*/ class AWS_TRANSLATE_API JobDetails { public: JobDetails(); JobDetails(Aws::Utils::Json::JsonView jsonValue); JobDetails& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

The number of documents successfully processed during a translation job.

*/ inline int GetTranslatedDocumentsCount() const{ return m_translatedDocumentsCount; } /** *

The number of documents successfully processed during a translation job.

*/ inline bool TranslatedDocumentsCountHasBeenSet() const { return m_translatedDocumentsCountHasBeenSet; } /** *

The number of documents successfully processed during a translation job.

*/ inline void SetTranslatedDocumentsCount(int value) { m_translatedDocumentsCountHasBeenSet = true; m_translatedDocumentsCount = value; } /** *

The number of documents successfully processed during a translation job.

*/ inline JobDetails& WithTranslatedDocumentsCount(int value) { SetTranslatedDocumentsCount(value); return *this;} /** *

The number of documents that could not be processed during a translation * job.

*/ inline int GetDocumentsWithErrorsCount() const{ return m_documentsWithErrorsCount; } /** *

The number of documents that could not be processed during a translation * job.

*/ inline bool DocumentsWithErrorsCountHasBeenSet() const { return m_documentsWithErrorsCountHasBeenSet; } /** *

The number of documents that could not be processed during a translation * job.

*/ inline void SetDocumentsWithErrorsCount(int value) { m_documentsWithErrorsCountHasBeenSet = true; m_documentsWithErrorsCount = value; } /** *

The number of documents that could not be processed during a translation * job.

*/ inline JobDetails& WithDocumentsWithErrorsCount(int value) { SetDocumentsWithErrorsCount(value); return *this;} /** *

The number of documents used as input in a translation job.

*/ inline int GetInputDocumentsCount() const{ return m_inputDocumentsCount; } /** *

The number of documents used as input in a translation job.

*/ inline bool InputDocumentsCountHasBeenSet() const { return m_inputDocumentsCountHasBeenSet; } /** *

The number of documents used as input in a translation job.

*/ inline void SetInputDocumentsCount(int value) { m_inputDocumentsCountHasBeenSet = true; m_inputDocumentsCount = value; } /** *

The number of documents used as input in a translation job.

*/ inline JobDetails& WithInputDocumentsCount(int value) { SetInputDocumentsCount(value); return *this;} private: int m_translatedDocumentsCount; bool m_translatedDocumentsCountHasBeenSet; int m_documentsWithErrorsCount; bool m_documentsWithErrorsCountHasBeenSet; int m_inputDocumentsCount; bool m_inputDocumentsCountHasBeenSet; }; } // namespace Model } // namespace Translate } // namespace Aws