AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
Progress.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
30 {
31 public:
35
37
38
42 inline long long GetBytesScanned() const{ return m_bytesScanned; }
43
47 inline bool BytesScannedHasBeenSet() const { return m_bytesScannedHasBeenSet; }
48
52 inline void SetBytesScanned(long long value) { m_bytesScannedHasBeenSet = true; m_bytesScanned = value; }
53
57 inline Progress& WithBytesScanned(long long value) { SetBytesScanned(value); return *this;}
58
59
63 inline long long GetBytesProcessed() const{ return m_bytesProcessed; }
64
68 inline bool BytesProcessedHasBeenSet() const { return m_bytesProcessedHasBeenSet; }
69
73 inline void SetBytesProcessed(long long value) { m_bytesProcessedHasBeenSet = true; m_bytesProcessed = value; }
74
78 inline Progress& WithBytesProcessed(long long value) { SetBytesProcessed(value); return *this;}
79
80
84 inline long long GetBytesReturned() const{ return m_bytesReturned; }
85
89 inline bool BytesReturnedHasBeenSet() const { return m_bytesReturnedHasBeenSet; }
90
94 inline void SetBytesReturned(long long value) { m_bytesReturnedHasBeenSet = true; m_bytesReturned = value; }
95
99 inline Progress& WithBytesReturned(long long value) { SetBytesReturned(value); return *this;}
100
101 private:
102
103 long long m_bytesScanned;
104 bool m_bytesScannedHasBeenSet = false;
105
106 long long m_bytesProcessed;
107 bool m_bytesProcessedHasBeenSet = false;
108
109 long long m_bytesReturned;
110 bool m_bytesReturnedHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace S3
115} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
Progress & WithBytesReturned(long long value)
Definition: Progress.h:99
void SetBytesProcessed(long long value)
Definition: Progress.h:73
long long GetBytesScanned() const
Definition: Progress.h:42
bool BytesScannedHasBeenSet() const
Definition: Progress.h:47
AWS_S3_API Progress(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API Progress & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Progress & WithBytesScanned(long long value)
Definition: Progress.h:57
Progress & WithBytesProcessed(long long value)
Definition: Progress.h:78
void SetBytesScanned(long long value)
Definition: Progress.h:52
long long GetBytesReturned() const
Definition: Progress.h:84
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
long long GetBytesProcessed() const
Definition: Progress.h:63
bool BytesProcessedHasBeenSet() const
Definition: Progress.h:68
bool BytesReturnedHasBeenSet() const
Definition: Progress.h:89
void SetBytesReturned(long long value)
Definition: Progress.h:94