AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
QueryStatistics.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_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 CloudWatchLogs
20{
21namespace Model
22{
23
39 {
40 public:
41 AWS_CLOUDWATCHLOGS_API QueryStatistics() = default;
42 AWS_CLOUDWATCHLOGS_API QueryStatistics(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CLOUDWATCHLOGS_API QueryStatistics& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline double GetRecordsMatched() const { return m_recordsMatched; }
52 inline bool RecordsMatchedHasBeenSet() const { return m_recordsMatchedHasBeenSet; }
53 inline void SetRecordsMatched(double value) { m_recordsMatchedHasBeenSet = true; m_recordsMatched = value; }
54 inline QueryStatistics& WithRecordsMatched(double value) { SetRecordsMatched(value); return *this;}
56
58
61 inline double GetRecordsScanned() const { return m_recordsScanned; }
62 inline bool RecordsScannedHasBeenSet() const { return m_recordsScannedHasBeenSet; }
63 inline void SetRecordsScanned(double value) { m_recordsScannedHasBeenSet = true; m_recordsScanned = value; }
64 inline QueryStatistics& WithRecordsScanned(double value) { SetRecordsScanned(value); return *this;}
66
68
75 inline double GetEstimatedRecordsSkipped() const { return m_estimatedRecordsSkipped; }
76 inline bool EstimatedRecordsSkippedHasBeenSet() const { return m_estimatedRecordsSkippedHasBeenSet; }
77 inline void SetEstimatedRecordsSkipped(double value) { m_estimatedRecordsSkippedHasBeenSet = true; m_estimatedRecordsSkipped = value; }
78 inline QueryStatistics& WithEstimatedRecordsSkipped(double value) { SetEstimatedRecordsSkipped(value); return *this;}
80
82
85 inline double GetBytesScanned() const { return m_bytesScanned; }
86 inline bool BytesScannedHasBeenSet() const { return m_bytesScannedHasBeenSet; }
87 inline void SetBytesScanned(double value) { m_bytesScannedHasBeenSet = true; m_bytesScanned = value; }
88 inline QueryStatistics& WithBytesScanned(double value) { SetBytesScanned(value); return *this;}
90
92
99 inline double GetEstimatedBytesSkipped() const { return m_estimatedBytesSkipped; }
100 inline bool EstimatedBytesSkippedHasBeenSet() const { return m_estimatedBytesSkippedHasBeenSet; }
101 inline void SetEstimatedBytesSkipped(double value) { m_estimatedBytesSkippedHasBeenSet = true; m_estimatedBytesSkipped = value; }
102 inline QueryStatistics& WithEstimatedBytesSkipped(double value) { SetEstimatedBytesSkipped(value); return *this;}
104
106
109 inline double GetLogGroupsScanned() const { return m_logGroupsScanned; }
110 inline bool LogGroupsScannedHasBeenSet() const { return m_logGroupsScannedHasBeenSet; }
111 inline void SetLogGroupsScanned(double value) { m_logGroupsScannedHasBeenSet = true; m_logGroupsScanned = value; }
112 inline QueryStatistics& WithLogGroupsScanned(double value) { SetLogGroupsScanned(value); return *this;}
114 private:
115
116 double m_recordsMatched{0.0};
117 bool m_recordsMatchedHasBeenSet = false;
118
119 double m_recordsScanned{0.0};
120 bool m_recordsScannedHasBeenSet = false;
121
122 double m_estimatedRecordsSkipped{0.0};
123 bool m_estimatedRecordsSkippedHasBeenSet = false;
124
125 double m_bytesScanned{0.0};
126 bool m_bytesScannedHasBeenSet = false;
127
128 double m_estimatedBytesSkipped{0.0};
129 bool m_estimatedBytesSkippedHasBeenSet = false;
130
131 double m_logGroupsScanned{0.0};
132 bool m_logGroupsScannedHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace CloudWatchLogs
137} // namespace Aws
QueryStatistics & WithEstimatedRecordsSkipped(double value)
AWS_CLOUDWATCHLOGS_API QueryStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
QueryStatistics & WithEstimatedBytesSkipped(double value)
AWS_CLOUDWATCHLOGS_API QueryStatistics(Aws::Utils::Json::JsonView jsonValue)
QueryStatistics & WithRecordsScanned(double value)
QueryStatistics & WithBytesScanned(double value)
QueryStatistics & WithRecordsMatched(double value)
AWS_CLOUDWATCHLOGS_API QueryStatistics()=default
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
QueryStatistics & WithLogGroupsScanned(double value)
Aws::Utils::Json::JsonValue JsonValue