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/cloudtrail/CloudTrail_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 CloudTrail
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_CLOUDTRAIL_API QueryStatistics();
34 AWS_CLOUDTRAIL_API QueryStatistics(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetResultsCount() const{ return m_resultsCount; }
44 inline bool ResultsCountHasBeenSet() const { return m_resultsCountHasBeenSet; }
45 inline void SetResultsCount(int value) { m_resultsCountHasBeenSet = true; m_resultsCount = value; }
46 inline QueryStatistics& WithResultsCount(int value) { SetResultsCount(value); return *this;}
48
50
53 inline int GetTotalResultsCount() const{ return m_totalResultsCount; }
54 inline bool TotalResultsCountHasBeenSet() const { return m_totalResultsCountHasBeenSet; }
55 inline void SetTotalResultsCount(int value) { m_totalResultsCountHasBeenSet = true; m_totalResultsCount = value; }
56 inline QueryStatistics& WithTotalResultsCount(int value) { SetTotalResultsCount(value); return *this;}
58
60
65 inline long long GetBytesScanned() const{ return m_bytesScanned; }
66 inline bool BytesScannedHasBeenSet() const { return m_bytesScannedHasBeenSet; }
67 inline void SetBytesScanned(long long value) { m_bytesScannedHasBeenSet = true; m_bytesScanned = value; }
68 inline QueryStatistics& WithBytesScanned(long long value) { SetBytesScanned(value); return *this;}
70 private:
71
72 int m_resultsCount;
73 bool m_resultsCountHasBeenSet = false;
74
75 int m_totalResultsCount;
76 bool m_totalResultsCountHasBeenSet = false;
77
78 long long m_bytesScanned;
79 bool m_bytesScannedHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace CloudTrail
84} // namespace Aws
QueryStatistics & WithResultsCount(int value)
QueryStatistics & WithBytesScanned(long long value)
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
QueryStatistics & WithTotalResultsCount(int value)
AWS_CLOUDTRAIL_API QueryStatistics(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAIL_API QueryStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue