AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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
32 {
33 public:
34 AWS_CLOUDWATCHLOGS_API QueryStatistics();
35 AWS_CLOUDWATCHLOGS_API QueryStatistics(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLOUDWATCHLOGS_API QueryStatistics& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline double GetRecordsMatched() const{ return m_recordsMatched; }
45 inline bool RecordsMatchedHasBeenSet() const { return m_recordsMatchedHasBeenSet; }
46 inline void SetRecordsMatched(double value) { m_recordsMatchedHasBeenSet = true; m_recordsMatched = value; }
47 inline QueryStatistics& WithRecordsMatched(double value) { SetRecordsMatched(value); return *this;}
49
51
54 inline double GetRecordsScanned() const{ return m_recordsScanned; }
55 inline bool RecordsScannedHasBeenSet() const { return m_recordsScannedHasBeenSet; }
56 inline void SetRecordsScanned(double value) { m_recordsScannedHasBeenSet = true; m_recordsScanned = value; }
57 inline QueryStatistics& WithRecordsScanned(double value) { SetRecordsScanned(value); return *this;}
59
61
64 inline double GetBytesScanned() const{ return m_bytesScanned; }
65 inline bool BytesScannedHasBeenSet() const { return m_bytesScannedHasBeenSet; }
66 inline void SetBytesScanned(double value) { m_bytesScannedHasBeenSet = true; m_bytesScanned = value; }
67 inline QueryStatistics& WithBytesScanned(double value) { SetBytesScanned(value); return *this;}
69 private:
70
71 double m_recordsMatched;
72 bool m_recordsMatchedHasBeenSet = false;
73
74 double m_recordsScanned;
75 bool m_recordsScannedHasBeenSet = false;
76
77 double m_bytesScanned;
78 bool m_bytesScannedHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace CloudWatchLogs
83} // namespace Aws
AWS_CLOUDWATCHLOGS_API QueryStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
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()
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue