AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
JobDetails.h
1
6#pragma once
7#include <aws/translate/Translate_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Translate {
17namespace Model {
18
26 public:
27 AWS_TRANSLATE_API JobDetails() = default;
28 AWS_TRANSLATE_API JobDetails(Aws::Utils::Json::JsonView jsonValue);
29 AWS_TRANSLATE_API JobDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetTranslatedDocumentsCount() const { return m_translatedDocumentsCount; }
37 inline bool TranslatedDocumentsCountHasBeenSet() const { return m_translatedDocumentsCountHasBeenSet; }
38 inline void SetTranslatedDocumentsCount(int value) {
39 m_translatedDocumentsCountHasBeenSet = true;
40 m_translatedDocumentsCount = value;
41 }
44 return *this;
45 }
47
49
53 inline int GetDocumentsWithErrorsCount() const { return m_documentsWithErrorsCount; }
54 inline bool DocumentsWithErrorsCountHasBeenSet() const { return m_documentsWithErrorsCountHasBeenSet; }
55 inline void SetDocumentsWithErrorsCount(int value) {
56 m_documentsWithErrorsCountHasBeenSet = true;
57 m_documentsWithErrorsCount = value;
58 }
61 return *this;
62 }
64
66
69 inline int GetInputDocumentsCount() const { return m_inputDocumentsCount; }
70 inline bool InputDocumentsCountHasBeenSet() const { return m_inputDocumentsCountHasBeenSet; }
71 inline void SetInputDocumentsCount(int value) {
72 m_inputDocumentsCountHasBeenSet = true;
73 m_inputDocumentsCount = value;
74 }
77 return *this;
78 }
80 private:
81 int m_translatedDocumentsCount{0};
82
83 int m_documentsWithErrorsCount{0};
84
85 int m_inputDocumentsCount{0};
86 bool m_translatedDocumentsCountHasBeenSet = false;
87 bool m_documentsWithErrorsCountHasBeenSet = false;
88 bool m_inputDocumentsCountHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace Translate
93} // namespace Aws
bool InputDocumentsCountHasBeenSet() const
Definition JobDetails.h:70
void SetInputDocumentsCount(int value)
Definition JobDetails.h:71
JobDetails & WithTranslatedDocumentsCount(int value)
Definition JobDetails.h:42
void SetDocumentsWithErrorsCount(int value)
Definition JobDetails.h:55
JobDetails & WithDocumentsWithErrorsCount(int value)
Definition JobDetails.h:59
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:54
void SetTranslatedDocumentsCount(int value)
Definition JobDetails.h:38
AWS_TRANSLATE_API JobDetails()=default
JobDetails & WithInputDocumentsCount(int value)
Definition JobDetails.h:75
bool TranslatedDocumentsCountHasBeenSet() const
Definition JobDetails.h:37
Aws::Utils::Json::JsonValue JsonValue