AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DataSourceSyncJobMetrics.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qbusiness/QBusiness_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QBusiness {
20namespace Model {
21
29 public:
30 AWS_QBUSINESS_API DataSourceSyncJobMetrics() = default;
33 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetDocumentsAdded() const { return m_documentsAdded; }
41 inline bool DocumentsAddedHasBeenSet() const { return m_documentsAddedHasBeenSet; }
42 template <typename DocumentsAddedT = Aws::String>
44 m_documentsAddedHasBeenSet = true;
45 m_documentsAdded = std::forward<DocumentsAddedT>(value);
46 }
47 template <typename DocumentsAddedT = Aws::String>
49 SetDocumentsAdded(std::forward<DocumentsAddedT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetDocumentsModified() const { return m_documentsModified; }
60 inline bool DocumentsModifiedHasBeenSet() const { return m_documentsModifiedHasBeenSet; }
61 template <typename DocumentsModifiedT = Aws::String>
63 m_documentsModifiedHasBeenSet = true;
64 m_documentsModified = std::forward<DocumentsModifiedT>(value);
65 }
66 template <typename DocumentsModifiedT = Aws::String>
68 SetDocumentsModified(std::forward<DocumentsModifiedT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetDocumentsDeleted() const { return m_documentsDeleted; }
79 inline bool DocumentsDeletedHasBeenSet() const { return m_documentsDeletedHasBeenSet; }
80 template <typename DocumentsDeletedT = Aws::String>
82 m_documentsDeletedHasBeenSet = true;
83 m_documentsDeleted = std::forward<DocumentsDeletedT>(value);
84 }
85 template <typename DocumentsDeletedT = Aws::String>
87 SetDocumentsDeleted(std::forward<DocumentsDeletedT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetDocumentsFailed() const { return m_documentsFailed; }
98 inline bool DocumentsFailedHasBeenSet() const { return m_documentsFailedHasBeenSet; }
99 template <typename DocumentsFailedT = Aws::String>
101 m_documentsFailedHasBeenSet = true;
102 m_documentsFailed = std::forward<DocumentsFailedT>(value);
103 }
104 template <typename DocumentsFailedT = Aws::String>
106 SetDocumentsFailed(std::forward<DocumentsFailedT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::String& GetDocumentsScanned() const { return m_documentsScanned; }
117 inline bool DocumentsScannedHasBeenSet() const { return m_documentsScannedHasBeenSet; }
118 template <typename DocumentsScannedT = Aws::String>
120 m_documentsScannedHasBeenSet = true;
121 m_documentsScanned = std::forward<DocumentsScannedT>(value);
122 }
123 template <typename DocumentsScannedT = Aws::String>
125 SetDocumentsScanned(std::forward<DocumentsScannedT>(value));
126 return *this;
127 }
129 private:
130 Aws::String m_documentsAdded;
131
132 Aws::String m_documentsModified;
133
134 Aws::String m_documentsDeleted;
135
136 Aws::String m_documentsFailed;
137
138 Aws::String m_documentsScanned;
139 bool m_documentsAddedHasBeenSet = false;
140 bool m_documentsModifiedHasBeenSet = false;
141 bool m_documentsDeletedHasBeenSet = false;
142 bool m_documentsFailedHasBeenSet = false;
143 bool m_documentsScannedHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace QBusiness
148} // namespace Aws
DataSourceSyncJobMetrics & WithDocumentsDeleted(DocumentsDeletedT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API DataSourceSyncJobMetrics()=default
AWS_QBUSINESS_API DataSourceSyncJobMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSourceSyncJobMetrics & WithDocumentsAdded(DocumentsAddedT &&value)
DataSourceSyncJobMetrics & WithDocumentsScanned(DocumentsScannedT &&value)
DataSourceSyncJobMetrics & WithDocumentsModified(DocumentsModifiedT &&value)
DataSourceSyncJobMetrics & WithDocumentsFailed(DocumentsFailedT &&value)
AWS_QBUSINESS_API DataSourceSyncJobMetrics(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue