AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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