AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobDetails.h
1
6#pragma once
7#include <aws/translate/Translate_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Translate
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_TRANSLATE_API JobDetails();
34 AWS_TRANSLATE_API JobDetails(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TRANSLATE_API JobDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetTranslatedDocumentsCount() const{ return m_translatedDocumentsCount; }
44 inline bool TranslatedDocumentsCountHasBeenSet() const { return m_translatedDocumentsCountHasBeenSet; }
45 inline void SetTranslatedDocumentsCount(int value) { m_translatedDocumentsCountHasBeenSet = true; m_translatedDocumentsCount = value; }
46 inline JobDetails& WithTranslatedDocumentsCount(int value) { SetTranslatedDocumentsCount(value); return *this;}
48
50
54 inline int GetDocumentsWithErrorsCount() const{ return m_documentsWithErrorsCount; }
55 inline bool DocumentsWithErrorsCountHasBeenSet() const { return m_documentsWithErrorsCountHasBeenSet; }
56 inline void SetDocumentsWithErrorsCount(int value) { m_documentsWithErrorsCountHasBeenSet = true; m_documentsWithErrorsCount = value; }
57 inline JobDetails& WithDocumentsWithErrorsCount(int value) { SetDocumentsWithErrorsCount(value); return *this;}
59
61
64 inline int GetInputDocumentsCount() const{ return m_inputDocumentsCount; }
65 inline bool InputDocumentsCountHasBeenSet() const { return m_inputDocumentsCountHasBeenSet; }
66 inline void SetInputDocumentsCount(int value) { m_inputDocumentsCountHasBeenSet = true; m_inputDocumentsCount = value; }
67 inline JobDetails& WithInputDocumentsCount(int value) { SetInputDocumentsCount(value); return *this;}
69 private:
70
71 int m_translatedDocumentsCount;
72 bool m_translatedDocumentsCountHasBeenSet = false;
73
74 int m_documentsWithErrorsCount;
75 bool m_documentsWithErrorsCountHasBeenSet = false;
76
77 int m_inputDocumentsCount;
78 bool m_inputDocumentsCountHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Translate
83} // namespace Aws
bool InputDocumentsCountHasBeenSet() const
Definition JobDetails.h:65
void SetInputDocumentsCount(int value)
Definition JobDetails.h:66
JobDetails & WithTranslatedDocumentsCount(int value)
Definition JobDetails.h:46
void SetDocumentsWithErrorsCount(int value)
Definition JobDetails.h:56
JobDetails & WithDocumentsWithErrorsCount(int value)
Definition JobDetails.h:57
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSLATE_API JobDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSLATE_API JobDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DocumentsWithErrorsCountHasBeenSet() const
Definition JobDetails.h:55
void SetTranslatedDocumentsCount(int value)
Definition JobDetails.h:45
JobDetails & WithInputDocumentsCount(int value)
Definition JobDetails.h:67
AWS_TRANSLATE_API JobDetails()
bool TranslatedDocumentsCountHasBeenSet() const
Definition JobDetails.h:44
Aws::Utils::Json::JsonValue JsonValue