AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDocumentsAdded(const Aws::String& value) { m_documentsAddedHasBeenSet = true; m_documentsAdded = value; }
49 inline void SetDocumentsAdded(Aws::String&& value) { m_documentsAddedHasBeenSet = true; m_documentsAdded = std::move(value); }
50 inline void SetDocumentsAdded(const char* value) { m_documentsAddedHasBeenSet = true; m_documentsAdded.assign(value); }
51 inline DataSourceSyncJobMetrics& WithDocumentsAdded(const Aws::String& value) { SetDocumentsAdded(value); return *this;}
52 inline DataSourceSyncJobMetrics& WithDocumentsAdded(Aws::String&& value) { SetDocumentsAdded(std::move(value)); return *this;}
53 inline DataSourceSyncJobMetrics& WithDocumentsAdded(const char* value) { SetDocumentsAdded(value); return *this;}
55
57
61 inline const Aws::String& GetDocumentsModified() const{ return m_documentsModified; }
62 inline bool DocumentsModifiedHasBeenSet() const { return m_documentsModifiedHasBeenSet; }
63 inline void SetDocumentsModified(const Aws::String& value) { m_documentsModifiedHasBeenSet = true; m_documentsModified = value; }
64 inline void SetDocumentsModified(Aws::String&& value) { m_documentsModifiedHasBeenSet = true; m_documentsModified = std::move(value); }
65 inline void SetDocumentsModified(const char* value) { m_documentsModifiedHasBeenSet = true; m_documentsModified.assign(value); }
67 inline DataSourceSyncJobMetrics& WithDocumentsModified(Aws::String&& value) { SetDocumentsModified(std::move(value)); return *this;}
68 inline DataSourceSyncJobMetrics& WithDocumentsModified(const char* value) { SetDocumentsModified(value); return *this;}
70
72
76 inline const Aws::String& GetDocumentsDeleted() const{ return m_documentsDeleted; }
77 inline bool DocumentsDeletedHasBeenSet() const { return m_documentsDeletedHasBeenSet; }
78 inline void SetDocumentsDeleted(const Aws::String& value) { m_documentsDeletedHasBeenSet = true; m_documentsDeleted = value; }
79 inline void SetDocumentsDeleted(Aws::String&& value) { m_documentsDeletedHasBeenSet = true; m_documentsDeleted = std::move(value); }
80 inline void SetDocumentsDeleted(const char* value) { m_documentsDeletedHasBeenSet = true; m_documentsDeleted.assign(value); }
82 inline DataSourceSyncJobMetrics& WithDocumentsDeleted(Aws::String&& value) { SetDocumentsDeleted(std::move(value)); return *this;}
83 inline DataSourceSyncJobMetrics& WithDocumentsDeleted(const char* value) { SetDocumentsDeleted(value); return *this;}
85
87
91 inline const Aws::String& GetDocumentsFailed() const{ return m_documentsFailed; }
92 inline bool DocumentsFailedHasBeenSet() const { return m_documentsFailedHasBeenSet; }
93 inline void SetDocumentsFailed(const Aws::String& value) { m_documentsFailedHasBeenSet = true; m_documentsFailed = value; }
94 inline void SetDocumentsFailed(Aws::String&& value) { m_documentsFailedHasBeenSet = true; m_documentsFailed = std::move(value); }
95 inline void SetDocumentsFailed(const char* value) { m_documentsFailedHasBeenSet = true; m_documentsFailed.assign(value); }
96 inline DataSourceSyncJobMetrics& WithDocumentsFailed(const Aws::String& value) { SetDocumentsFailed(value); return *this;}
97 inline DataSourceSyncJobMetrics& WithDocumentsFailed(Aws::String&& value) { SetDocumentsFailed(std::move(value)); return *this;}
98 inline DataSourceSyncJobMetrics& WithDocumentsFailed(const char* value) { SetDocumentsFailed(value); return *this;}
100
102
106 inline const Aws::String& GetDocumentsScanned() const{ return m_documentsScanned; }
107 inline bool DocumentsScannedHasBeenSet() const { return m_documentsScannedHasBeenSet; }
108 inline void SetDocumentsScanned(const Aws::String& value) { m_documentsScannedHasBeenSet = true; m_documentsScanned = value; }
109 inline void SetDocumentsScanned(Aws::String&& value) { m_documentsScannedHasBeenSet = true; m_documentsScanned = std::move(value); }
110 inline void SetDocumentsScanned(const char* value) { m_documentsScannedHasBeenSet = true; m_documentsScanned.assign(value); }
112 inline DataSourceSyncJobMetrics& WithDocumentsScanned(Aws::String&& value) { SetDocumentsScanned(std::move(value)); return *this;}
113 inline DataSourceSyncJobMetrics& WithDocumentsScanned(const char* value) { SetDocumentsScanned(value); return *this;}
115 private:
116
117 Aws::String m_documentsAdded;
118 bool m_documentsAddedHasBeenSet = false;
119
120 Aws::String m_documentsModified;
121 bool m_documentsModifiedHasBeenSet = false;
122
123 Aws::String m_documentsDeleted;
124 bool m_documentsDeletedHasBeenSet = false;
125
126 Aws::String m_documentsFailed;
127 bool m_documentsFailedHasBeenSet = false;
128
129 Aws::String m_documentsScanned;
130 bool m_documentsScannedHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace QBusiness
135} // namespace Aws
DataSourceSyncJobMetrics & WithDocumentsModified(const char *value)
DataSourceSyncJobMetrics & WithDocumentsScanned(const char *value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
DataSourceSyncJobMetrics & WithDocumentsAdded(const Aws::String &value)
AWS_QBUSINESS_API DataSourceSyncJobMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSourceSyncJobMetrics & WithDocumentsScanned(const Aws::String &value)
DataSourceSyncJobMetrics & WithDocumentsDeleted(Aws::String &&value)
DataSourceSyncJobMetrics & WithDocumentsFailed(Aws::String &&value)
DataSourceSyncJobMetrics & WithDocumentsDeleted(const char *value)
DataSourceSyncJobMetrics & WithDocumentsScanned(Aws::String &&value)
DataSourceSyncJobMetrics & WithDocumentsFailed(const char *value)
DataSourceSyncJobMetrics & WithDocumentsFailed(const Aws::String &value)
DataSourceSyncJobMetrics & WithDocumentsAdded(const char *value)
DataSourceSyncJobMetrics & WithDocumentsAdded(Aws::String &&value)
DataSourceSyncJobMetrics & WithDocumentsModified(Aws::String &&value)
DataSourceSyncJobMetrics & WithDocumentsDeleted(const Aws::String &value)
DataSourceSyncJobMetrics & WithDocumentsModified(const Aws::String &value)
AWS_QBUSINESS_API DataSourceSyncJobMetrics(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue