AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
Stats.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Xml
14{
15 class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace S3
19{
20namespace Model
21{
22
28 class Stats
29 {
30 public:
34
36
37
41 inline long long GetBytesScanned() const{ return m_bytesScanned; }
42
46 inline bool BytesScannedHasBeenSet() const { return m_bytesScannedHasBeenSet; }
47
51 inline void SetBytesScanned(long long value) { m_bytesScannedHasBeenSet = true; m_bytesScanned = value; }
52
56 inline Stats& WithBytesScanned(long long value) { SetBytesScanned(value); return *this;}
57
58
62 inline long long GetBytesProcessed() const{ return m_bytesProcessed; }
63
67 inline bool BytesProcessedHasBeenSet() const { return m_bytesProcessedHasBeenSet; }
68
72 inline void SetBytesProcessed(long long value) { m_bytesProcessedHasBeenSet = true; m_bytesProcessed = value; }
73
77 inline Stats& WithBytesProcessed(long long value) { SetBytesProcessed(value); return *this;}
78
79
83 inline long long GetBytesReturned() const{ return m_bytesReturned; }
84
88 inline bool BytesReturnedHasBeenSet() const { return m_bytesReturnedHasBeenSet; }
89
93 inline void SetBytesReturned(long long value) { m_bytesReturnedHasBeenSet = true; m_bytesReturned = value; }
94
98 inline Stats& WithBytesReturned(long long value) { SetBytesReturned(value); return *this;}
99
100 private:
101
102 long long m_bytesScanned;
103 bool m_bytesScannedHasBeenSet = false;
104
105 long long m_bytesProcessed;
106 bool m_bytesProcessedHasBeenSet = false;
107
108 long long m_bytesReturned;
109 bool m_bytesReturnedHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace S3
114} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
bool BytesScannedHasBeenSet() const
Definition: Stats.h:46
void SetBytesProcessed(long long value)
Definition: Stats.h:72
void SetBytesReturned(long long value)
Definition: Stats.h:93
Stats & WithBytesScanned(long long value)
Definition: Stats.h:56
bool BytesProcessedHasBeenSet() const
Definition: Stats.h:67
void SetBytesScanned(long long value)
Definition: Stats.h:51
long long GetBytesReturned() const
Definition: Stats.h:83
long long GetBytesProcessed() const
Definition: Stats.h:62
long long GetBytesScanned() const
Definition: Stats.h:41
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool BytesReturnedHasBeenSet() const
Definition: Stats.h:88
AWS_S3_API Stats(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API Stats & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Stats & WithBytesReturned(long long value)
Definition: Stats.h:98
Stats & WithBytesProcessed(long long value)
Definition: Stats.h:77