AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataSourceSyncJobMetrics.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QBusiness
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_QBUSINESS_API DataSourceSyncJobMetrics() = default;
38 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetDocumentsAdded() const { return m_documentsAdded; }
47 inline bool DocumentsAddedHasBeenSet() const { return m_documentsAddedHasBeenSet; }
48 template<typename DocumentsAddedT = Aws::String>
49 void SetDocumentsAdded(DocumentsAddedT&& value) { m_documentsAddedHasBeenSet = true; m_documentsAdded = std::forward<DocumentsAddedT>(value); }
50 template<typename DocumentsAddedT = Aws::String>
51 DataSourceSyncJobMetrics& WithDocumentsAdded(DocumentsAddedT&& value) { SetDocumentsAdded(std::forward<DocumentsAddedT>(value)); return *this;}
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>
62 void SetDocumentsModified(DocumentsModifiedT&& value) { m_documentsModifiedHasBeenSet = true; m_documentsModified = std::forward<DocumentsModifiedT>(value); }
63 template<typename DocumentsModifiedT = Aws::String>
64 DataSourceSyncJobMetrics& WithDocumentsModified(DocumentsModifiedT&& value) { SetDocumentsModified(std::forward<DocumentsModifiedT>(value)); return *this;}
66
68
72 inline const Aws::String& GetDocumentsDeleted() const { return m_documentsDeleted; }
73 inline bool DocumentsDeletedHasBeenSet() const { return m_documentsDeletedHasBeenSet; }
74 template<typename DocumentsDeletedT = Aws::String>
75 void SetDocumentsDeleted(DocumentsDeletedT&& value) { m_documentsDeletedHasBeenSet = true; m_documentsDeleted = std::forward<DocumentsDeletedT>(value); }
76 template<typename DocumentsDeletedT = Aws::String>
77 DataSourceSyncJobMetrics& WithDocumentsDeleted(DocumentsDeletedT&& value) { SetDocumentsDeleted(std::forward<DocumentsDeletedT>(value)); return *this;}
79
81
85 inline const Aws::String& GetDocumentsFailed() const { return m_documentsFailed; }
86 inline bool DocumentsFailedHasBeenSet() const { return m_documentsFailedHasBeenSet; }
87 template<typename DocumentsFailedT = Aws::String>
88 void SetDocumentsFailed(DocumentsFailedT&& value) { m_documentsFailedHasBeenSet = true; m_documentsFailed = std::forward<DocumentsFailedT>(value); }
89 template<typename DocumentsFailedT = Aws::String>
90 DataSourceSyncJobMetrics& WithDocumentsFailed(DocumentsFailedT&& value) { SetDocumentsFailed(std::forward<DocumentsFailedT>(value)); return *this;}
92
94
98 inline const Aws::String& GetDocumentsScanned() const { return m_documentsScanned; }
99 inline bool DocumentsScannedHasBeenSet() const { return m_documentsScannedHasBeenSet; }
100 template<typename DocumentsScannedT = Aws::String>
101 void SetDocumentsScanned(DocumentsScannedT&& value) { m_documentsScannedHasBeenSet = true; m_documentsScanned = std::forward<DocumentsScannedT>(value); }
102 template<typename DocumentsScannedT = Aws::String>
103 DataSourceSyncJobMetrics& WithDocumentsScanned(DocumentsScannedT&& value) { SetDocumentsScanned(std::forward<DocumentsScannedT>(value)); return *this;}
105 private:
106
107 Aws::String m_documentsAdded;
108 bool m_documentsAddedHasBeenSet = false;
109
110 Aws::String m_documentsModified;
111 bool m_documentsModifiedHasBeenSet = false;
112
113 Aws::String m_documentsDeleted;
114 bool m_documentsDeletedHasBeenSet = false;
115
116 Aws::String m_documentsFailed;
117 bool m_documentsFailedHasBeenSet = false;
118
119 Aws::String m_documentsScanned;
120 bool m_documentsScannedHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace QBusiness
125} // 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