AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataTransfer.h
1
6#pragma once
7#include <aws/snowball/Snowball_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Snowball
20{
21namespace Model
22{
23
33 {
34 public:
35 AWS_SNOWBALL_API DataTransfer();
36 AWS_SNOWBALL_API DataTransfer(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline long long GetBytesTransferred() const{ return m_bytesTransferred; }
46 inline bool BytesTransferredHasBeenSet() const { return m_bytesTransferredHasBeenSet; }
47 inline void SetBytesTransferred(long long value) { m_bytesTransferredHasBeenSet = true; m_bytesTransferred = value; }
48 inline DataTransfer& WithBytesTransferred(long long value) { SetBytesTransferred(value); return *this;}
50
52
55 inline long long GetObjectsTransferred() const{ return m_objectsTransferred; }
56 inline bool ObjectsTransferredHasBeenSet() const { return m_objectsTransferredHasBeenSet; }
57 inline void SetObjectsTransferred(long long value) { m_objectsTransferredHasBeenSet = true; m_objectsTransferred = value; }
58 inline DataTransfer& WithObjectsTransferred(long long value) { SetObjectsTransferred(value); return *this;}
60
62
67 inline long long GetTotalBytes() const{ return m_totalBytes; }
68 inline bool TotalBytesHasBeenSet() const { return m_totalBytesHasBeenSet; }
69 inline void SetTotalBytes(long long value) { m_totalBytesHasBeenSet = true; m_totalBytes = value; }
70 inline DataTransfer& WithTotalBytes(long long value) { SetTotalBytes(value); return *this;}
72
74
79 inline long long GetTotalObjects() const{ return m_totalObjects; }
80 inline bool TotalObjectsHasBeenSet() const { return m_totalObjectsHasBeenSet; }
81 inline void SetTotalObjects(long long value) { m_totalObjectsHasBeenSet = true; m_totalObjects = value; }
82 inline DataTransfer& WithTotalObjects(long long value) { SetTotalObjects(value); return *this;}
84 private:
85
86 long long m_bytesTransferred;
87 bool m_bytesTransferredHasBeenSet = false;
88
89 long long m_objectsTransferred;
90 bool m_objectsTransferredHasBeenSet = false;
91
92 long long m_totalBytes;
93 bool m_totalBytesHasBeenSet = false;
94
95 long long m_totalObjects;
96 bool m_totalObjectsHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Snowball
101} // namespace Aws
long long GetBytesTransferred() const
AWS_SNOWBALL_API DataTransfer & operator=(Aws::Utils::Json::JsonView jsonValue)
DataTransfer & WithObjectsTransferred(long long value)
void SetObjectsTransferred(long long value)
DataTransfer & WithTotalObjects(long long value)
DataTransfer & WithBytesTransferred(long long value)
void SetBytesTransferred(long long value)
AWS_SNOWBALL_API DataTransfer(Aws::Utils::Json::JsonView jsonValue)
void SetTotalBytes(long long value)
long long GetObjectsTransferred() const
void SetTotalObjects(long long value)
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
DataTransfer & WithTotalBytes(long long value)
Aws::Utils::Json::JsonValue JsonValue