AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Stats.h
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:
31 AWS_S3_API Stats();
32 AWS_S3_API Stats(const Aws::Utils::Xml::XmlNode& xmlNode);
33 AWS_S3_API Stats& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
37
39
42 inline long long GetBytesScanned() const{ return m_bytesScanned; }
43 inline bool BytesScannedHasBeenSet() const { return m_bytesScannedHasBeenSet; }
44 inline void SetBytesScanned(long long value) { m_bytesScannedHasBeenSet = true; m_bytesScanned = value; }
45 inline Stats& WithBytesScanned(long long value) { SetBytesScanned(value); return *this;}
47
49
52 inline long long GetBytesProcessed() const{ return m_bytesProcessed; }
53 inline bool BytesProcessedHasBeenSet() const { return m_bytesProcessedHasBeenSet; }
54 inline void SetBytesProcessed(long long value) { m_bytesProcessedHasBeenSet = true; m_bytesProcessed = value; }
55 inline Stats& WithBytesProcessed(long long value) { SetBytesProcessed(value); return *this;}
57
59
62 inline long long GetBytesReturned() const{ return m_bytesReturned; }
63 inline bool BytesReturnedHasBeenSet() const { return m_bytesReturnedHasBeenSet; }
64 inline void SetBytesReturned(long long value) { m_bytesReturnedHasBeenSet = true; m_bytesReturned = value; }
65 inline Stats& WithBytesReturned(long long value) { SetBytesReturned(value); return *this;}
67 private:
68
69 long long m_bytesScanned;
70 bool m_bytesScannedHasBeenSet = false;
71
72 long long m_bytesProcessed;
73 bool m_bytesProcessedHasBeenSet = false;
74
75 long long m_bytesReturned;
76 bool m_bytesReturnedHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace S3
81} // namespace Aws
bool BytesScannedHasBeenSet() const
Definition Stats.h:43
void SetBytesProcessed(long long value)
Definition Stats.h:54
void SetBytesReturned(long long value)
Definition Stats.h:64
Stats & WithBytesScanned(long long value)
Definition Stats.h:45
bool BytesProcessedHasBeenSet() const
Definition Stats.h:53
void SetBytesScanned(long long value)
Definition Stats.h:44
long long GetBytesReturned() const
Definition Stats.h:62
long long GetBytesProcessed() const
Definition Stats.h:52
long long GetBytesScanned() const
Definition Stats.h:42
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool BytesReturnedHasBeenSet() const
Definition Stats.h:63
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:65
Stats & WithBytesProcessed(long long value)
Definition Stats.h:55