AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryStatisticsForDescribeQuery.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/DateTime.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 CloudTrail
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CLOUDTRAIL_API QueryStatisticsForDescribeQuery();
39 AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline long long GetEventsMatched() const{ return m_eventsMatched; }
47 inline bool EventsMatchedHasBeenSet() const { return m_eventsMatchedHasBeenSet; }
48 inline void SetEventsMatched(long long value) { m_eventsMatchedHasBeenSet = true; m_eventsMatched = value; }
49 inline QueryStatisticsForDescribeQuery& WithEventsMatched(long long value) { SetEventsMatched(value); return *this;}
51
53
56 inline long long GetEventsScanned() const{ return m_eventsScanned; }
57 inline bool EventsScannedHasBeenSet() const { return m_eventsScannedHasBeenSet; }
58 inline void SetEventsScanned(long long value) { m_eventsScannedHasBeenSet = true; m_eventsScanned = value; }
59 inline QueryStatisticsForDescribeQuery& WithEventsScanned(long long value) { SetEventsScanned(value); return *this;}
61
63
68 inline long long GetBytesScanned() const{ return m_bytesScanned; }
69 inline bool BytesScannedHasBeenSet() const { return m_bytesScannedHasBeenSet; }
70 inline void SetBytesScanned(long long value) { m_bytesScannedHasBeenSet = true; m_bytesScanned = value; }
71 inline QueryStatisticsForDescribeQuery& WithBytesScanned(long long value) { SetBytesScanned(value); return *this;}
73
75
78 inline int GetExecutionTimeInMillis() const{ return m_executionTimeInMillis; }
79 inline bool ExecutionTimeInMillisHasBeenSet() const { return m_executionTimeInMillisHasBeenSet; }
80 inline void SetExecutionTimeInMillis(int value) { m_executionTimeInMillisHasBeenSet = true; m_executionTimeInMillis = value; }
83
85
88 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
89 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
90 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
91 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
93 inline QueryStatisticsForDescribeQuery& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
95 private:
96
97 long long m_eventsMatched;
98 bool m_eventsMatchedHasBeenSet = false;
99
100 long long m_eventsScanned;
101 bool m_eventsScannedHasBeenSet = false;
102
103 long long m_bytesScanned;
104 bool m_bytesScannedHasBeenSet = false;
105
106 int m_executionTimeInMillis;
107 bool m_executionTimeInMillisHasBeenSet = false;
108
109 Aws::Utils::DateTime m_creationTime;
110 bool m_creationTimeHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace CloudTrail
115} // namespace Aws
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
QueryStatisticsForDescribeQuery & WithExecutionTimeInMillis(int value)
QueryStatisticsForDescribeQuery & WithEventsMatched(long long value)
AWS_CLOUDTRAIL_API QueryStatisticsForDescribeQuery(Aws::Utils::Json::JsonView jsonValue)
QueryStatisticsForDescribeQuery & WithCreationTime(const Aws::Utils::DateTime &value)
QueryStatisticsForDescribeQuery & WithCreationTime(Aws::Utils::DateTime &&value)
QueryStatisticsForDescribeQuery & WithEventsScanned(long long value)
AWS_CLOUDTRAIL_API QueryStatisticsForDescribeQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
QueryStatisticsForDescribeQuery & WithBytesScanned(long long value)
Aws::Utils::Json::JsonValue JsonValue